Skip to content

Commit 2f6cbcc

Browse files
helm-refactoring
1 parent e9a17f4 commit 2f6cbcc

File tree

2 files changed

+6
-3
lines changed

2 files changed

+6
-3
lines changed

charts/diag-proxy/templates/deployment.yaml

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -48,6 +48,8 @@ spec:
4848
secretName: tls-assets-nc-diag-agent
4949
{{- end }}
5050
{{- end }}
51+
imagePullSecrets:
52+
- name: {{ .Values.IMAGE_PULL_SECRET_NAME }}
5153
containers:
5254
- name: {{ .Values.SERVICE_NAME }}
5355
image: '{{ .Values.IMAGE_REPOSITORY }}:{{ .Values.TAG }}'

charts/diag-proxy/values.yaml

Lines changed: 4 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -6,9 +6,10 @@ ARTIFACT_DESCRIPTOR_VERSION: ''
66

77
# -- Image coordinates, next two values will be joined as:
88
# IMAGE_REPOSITORY:TAG
9-
IMAGE_REPOSITORY: ''
10-
TAG: ''
11-
9+
IMAGE_REPOSITORY: ghcr.io/netcracker/diag-proxy
10+
TAG: main
11+
# --- The name of the secret in Kubernetes that provides access to the private Docker registry
12+
IMAGE_PULL_SECRET_NAME: regcred
1213
### Deployment parameters
1314

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

0 commit comments

Comments
 (0)