Add imagePullSecrets value to helm chart

Allows users to configure imagePullSecrets for the cridge deployment allowing the use of private registries.

Closes #24 (closed).

Edited by Kostis Trantzas

Merge request reports

Loading
+4 −0
Changes for helm/cridge/templates/deployment.yaml: 4 added lines, 0 removed lines.
Original line number Diff line number Diff line
@@ -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" }}
+3 −0
Changes for helm/cridge/values.yaml: 3 added lines, 0 removed lines.
Original line number Diff line number Diff line
# 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:
Loading