diff --git a/helm/cridge/templates/deployment.yaml b/helm/cridge/templates/deployment.yaml index 0353795d55c52108050cc68941e183099492838b..7fef50bf36114f2e7d521066b59457ae4ffd2cf5 100644 --- a/helm/cridge/templates/deployment.yaml +++ b/helm/cridge/templates/deployment.yaml @@ -22,6 +22,10 @@ spec: org.etsi.osl.service: cridge {{- include "openslice.selectorLabels" . | nindent 8 }} spec: + {{- with .Values.imagePullSecrets }} + imagePullSecrets: + {{- toYaml . | nindent 8 }} + {{- end }} containers: - image: "{{ .Values.image.cridge.repository }}:{{ .Values.image.cridge.tag | default .Chart.AppVersion }}" imagePullPolicy: {{ .Values.image.cridge.pullPolicy | default "Always" }} diff --git a/helm/cridge/values.yaml b/helm/cridge/values.yaml index 1d87a532db9f2dedef0881fd3a0de007c17f54fb..8f08461fe463b6581f82d7e0933347b422f0f3f0 100644 --- a/helm/cridge/values.yaml +++ b/helm/cridge/values.yaml @@ -1,5 +1,8 @@ # Default values for cridge. +# This is for the secrets for pulling an image from a private repository more information can be found here: https://kubernetes.io/docs/tasks/configure-pod-container/pull-image-private-registry/ +imagePullSecrets: [] + replicaCount: 1 image: