Skip to content

Commit 7981550

Browse files
helm-refactoring
1 parent 2f6cbcc commit 7981550

File tree

2 files changed

+4
-2
lines changed

2 files changed

+4
-2
lines changed

charts/diag-proxy/templates/deployment.yaml

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -48,8 +48,10 @@ spec:
4848
secretName: tls-assets-nc-diag-agent
4949
{{- end }}
5050
{{- end }}
51+
{{- with .Values.imagePullSecrets }}
5152
imagePullSecrets:
52-
- name: {{ .Values.IMAGE_PULL_SECRET_NAME }}
53+
{{- toYaml . | nindent 8 }}
54+
{{- end }}
5355
containers:
5456
- name: {{ .Values.SERVICE_NAME }}
5557
image: '{{ .Values.IMAGE_REPOSITORY }}:{{ .Values.TAG }}'

charts/diag-proxy/values.yaml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -9,7 +9,7 @@ ARTIFACT_DESCRIPTOR_VERSION: ''
99
IMAGE_REPOSITORY: ghcr.io/netcracker/diag-proxy
1010
TAG: main
1111
# --- The name of the secret in Kubernetes that provides access to the private Docker registry
12-
IMAGE_PULL_SECRET_NAME: regcred
12+
imagePullSecrets: []
1313
### Deployment parameters
1414

1515
# --- Number of diag-proxy replicas (pods per deployment)

0 commit comments

Comments
 (0)