File tree Expand file tree Collapse file tree 4 files changed +34
-17
lines changed
charts/telemetry-controller Expand file tree Collapse file tree 4 files changed +34
-17
lines changed Original file line number Diff line number Diff line change @@ -7,7 +7,7 @@ metadata:
77 name : ' {{ include "telemetry-controller.fullname" . }}'
88 namespace : ' {{ include "telemetry-controller.namespace" . }}'
99spec :
10- replicas : 1
10+ replicas : {{ .Values.replicaCount }}
1111 selector :
1212 matchLabels :
1313 control-plane : controller-manager
1717 metadata :
1818 annotations :
1919 kubectl.kubernetes.io/default-container : manager
20+ {{- with .Values.podAnnotations }}
21+ {{ toYaml . | nindent 8 }}
22+ {{- end }}
2023 labels :
2124 control-plane : controller-manager
2225 app.kubernetes.io/name : {{ include "telemetry-controller.name" . }}
3538 image :
3639 ' {{ .Values.image.repository | default "" }}:{{ .Values.image.tag | default .Chart.AppVersion
3740 }}'
38- imagePullPolicy : IfNotPresent
41+ imagePullPolicy : ' {{ .Values.image.pullPolicy }}'
42+ {{- with .Values.imagePullSecrets }}
43+ imagePullSecrets :
44+ {{- toYaml . | nindent 8 }}
45+ {{- end }}
3946 livenessProbe :
4047 httpGet :
4148 path : /healthz
Original file line number Diff line number Diff line change @@ -7,17 +7,18 @@ metadata:
77 name : {{ include "telemetry-controller.fullname" . }}-metrics-service
88 namespace : {{ .Release.Namespace }}
99spec :
10+ type : {{ .Values.service.type }}
1011 ports :
1112 {{- if .Values.monitoring.secure }}
12- - name : https
13- port : 8443
14- protocol : TCP
15- targetPort : 8443
13+ - name : {{ .Values.service. https.name }}
14+ port : {{ .Values.service.https.port }}
15+ protocol : {{ .Values.service.https.protocol }}
16+ targetPort : {{ .Values.service.https.targetPort }}
1617 {{- else }}
17- - name : http
18- port : 8080
19- protocol : TCP
20- targetPort : 8080
18+ - name : {{ .Values.service. http.name }}
19+ port : {{ .Values.service.http.port }}
20+ protocol : {{ .Values.service.http.protocol }}
21+ targetPort : {{ .Values.service.http.targetPort }}
2122 {{- end }}
2223 selector :
2324 control-plane : controller-manager
Original file line number Diff line number Diff line change @@ -3,5 +3,9 @@ kind: ServiceAccount
33metadata :
44 labels :
55{{ include "telemetry-controller.labels" . | indent 4 }}
6+ annotations :
7+ {{- with .Values.serviceAccount.annotations }}
8+ {{ toYaml . | indent 4 }}
9+ {{- end }}
610 name : ' {{ include "telemetry-controller.serviceAccountName" . }}'
711 namespace : " {{.Release.Namespace}}"
Original file line number Diff line number Diff line change @@ -6,9 +6,9 @@ replicaCount: 1
66
77image :
88 repository : ghcr.io/kube-logging/telemetry-controller
9- pullPolicy : IfNotPresent
109 # Overrides the image tag whose default is the chart appVersion.
1110 tag : " "
11+ pullPolicy : IfNotPresent
1212
1313extraArgs :
1414 - --leader-elect=true
@@ -21,8 +21,6 @@ fullnameOverride: ""
2121serviceAccount :
2222 # Specifies whether a service account should be created
2323 create : true
24- # Automatically mount a ServiceAccount's API credentials?
25- automount : true
2624 # Annotations to add to the service account
2725 annotations : {}
2826 # The name of the service account to use.
@@ -43,17 +41,24 @@ securityContext:
4341
4442service :
4543 type : ClusterIP
46- port : 8443
44+ https :
45+ name : https
46+ port : 8443
47+ protocol : TCP
48+ targetPort : 8443
49+ http :
50+ name : http
51+ port : 8080
52+ protocol : TCP
53+ targetPort : 8080
4754
55+ # -- Configuration for the opentelemetry-operator sub-chart.
4856opentelemetry-operator :
4957 admissionWebhooks :
5058 certManager :
5159 enabled : false
5260 autoGenerateCert :
5361 enabled : true
54- manager :
55- collectorImage :
56- repository : otel/opentelemetry-collector-k8s
5762
5863monitoring :
5964 secure : true
You can’t perform that action at this time.
0 commit comments