diff --git a/charts/zot/Chart.yaml b/charts/zot/Chart.yaml index 516186a..62a3b3d 100644 --- a/charts/zot/Chart.yaml +++ b/charts/zot/Chart.yaml @@ -3,4 +3,4 @@ appVersion: v2.0.0-rc6 description: A Helm chart for Kubernetes name: zot type: application -version: 0.1.29 +version: 0.1.30 diff --git a/charts/zot/templates/deployment.yaml b/charts/zot/templates/deployment.yaml index 03b05a5..fae77ca 100644 --- a/charts/zot/templates/deployment.yaml +++ b/charts/zot/templates/deployment.yaml @@ -31,6 +31,8 @@ spec: {{- toYaml .Values.securityContext | nindent 12 }} image: "{{ .Values.image.repository }}:{{ .Values.image.tag | default .Chart.AppVersion }}" imagePullPolicy: {{ .Values.image.pullPolicy }} + env: + {{- toYaml .Values.env | nindent 12 }} ports: - name: zot containerPort: 5000 diff --git a/charts/zot/values.yaml b/charts/zot/values.yaml index 78ef147..4036b36 100644 --- a/charts/zot/values.yaml +++ b/charts/zot/values.yaml @@ -135,3 +135,13 @@ pvc: storage: 8Gi # Name of the storage class to use if it is different than the default one storageClassName: null + +# List of environment variables to set on the container +env: +# - name: "TEST" +# value: "ME" +# - name: SECRET_NAME +# valueFrom: +# secretKeyRef: +# name: mysecret +# key: username