Verified Commit 9fb1aea0 authored by João Capucho's avatar João Capucho
Browse files

chore: Add imagePullSecrets configuration value

Allows users to configure `imagePullSecrets` for the cridge deployment
allowing the use of private registries.
parent 7111b883
Loading
Loading
Loading
Loading
Loading
+4 −0
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
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: