File tree Expand file tree Collapse file tree 3 files changed +4
-21
lines changed
charts/opentelemetry-ebpf-instrumentation Expand file tree Collapse file tree 3 files changed +4
-21
lines changed Original file line number Diff line number Diff line change @@ -29,17 +29,13 @@ spec:
2929 {{- if .Values.serviceAccount.create }}
3030 serviceAccountName : {{ include "obi.serviceAccountName" . }}
3131 {{- end }}
32- {{- if or .Values.global.image.pullSecrets .Values.image.pullSecrets }}
32+ {{- if .Values.image.pullSecrets }}
3333 imagePullSecrets :
34- {{- if .Values.global.image.pullSecrets }}
35- {{- toYaml .Values.global.image.pullSecrets | nindent 8 }}
36- {{- else }}
3734 {{- toYaml .Values.image.pullSecrets | nindent 8 }}
38- {{- end }}
3935 {{- end }}
4036 containers :
4137 - name : obi-k8s-cache
42- image : {{ .Values.global.image.registry | default .Values. k8sCache.image.registry }}/{{ .Values.k8sCache.image.repository }}{{ include "obi.k8sCache.imageId" . }}
38+ image : {{ .Values.k8sCache.image.registry }}/{{ .Values.k8sCache.image.repository }}{{ include "obi.k8sCache.imageId" . }}
4339 imagePullPolicy : {{ .Values.k8sCache.image.pullPolicy }}
4440 ports :
4541 - containerPort : {{ .Values.k8sCache.service.port }}
Original file line number Diff line number Diff line change 4848 {{- end }}
4949 containers :
5050 - name : ebpf-instrument
51- image : {{ .Values.global.image.registry | default .Values. image.registry }}/{{ .Values.image.repository }}{{ include "obi.imageId" . }}
51+ image : {{ .Values.image.registry }}/{{ .Values.image.repository }}{{ include "obi.imageId" . }}
5252 imagePullPolicy : {{ .Values.image.pullPolicy }}
5353 securityContext :
5454 {{- if .Values.privileged }}
@@ -119,13 +119,9 @@ spec:
119119 {{- with .Values.volumeMounts }}
120120 {{- toYaml . | nindent 12 }}
121121 {{- end }}
122- {{- if or .Values.global.image.pullSecrets .Values.image.pullSecrets }}
122+ {{- if .Values.image.pullSecrets }}
123123 imagePullSecrets :
124- {{- if .Values.global.image.pullSecrets }}
125- {{- toYaml .Values.global.image.pullSecrets | nindent 8 }}
126- {{- else }}
127124 {{- toYaml .Values.image.pullSecrets | nindent 8 }}
128- {{- end }}
129125 {{- end }}
130126 {{- with .Values.nodeSelector }}
131127 nodeSelector :
Original file line number Diff line number Diff line change 1- # # Global properties for image pulling override the values defined under `image.registry`.
2- # # If you want to override only one image registry, use the specific fields but if you want to override them all, use `global.image.registry`
3- global :
4- image :
5- # -- Global image registry to use if it needs to be overridden for some specific use cases (e.g local registries, custom images, ...)
6- registry : " "
7- # -- Optional set of global image pull secrets.
8- pullSecrets : []
9-
101image :
112 # -- Opentelemetry eBPF Instrumentation image registry (defaults to docker.io)
123 registry : " docker.io"
You can’t perform that action at this time.
0 commit comments