From acba640800bbaf91a31d06dca6510e4b1e14ea21 Mon Sep 17 00:00:00 2001 From: Ian Ibbotson Date: Mon, 30 Sep 2024 12:51:38 +0100 Subject: [PATCH] reference configmap in deployment --- ki-selfhost-operator/templates/deployment.yaml | 3 +++ 1 file changed, 3 insertions(+) diff --git a/ki-selfhost-operator/templates/deployment.yaml b/ki-selfhost-operator/templates/deployment.yaml index e288215..1840d22 100644 --- a/ki-selfhost-operator/templates/deployment.yaml +++ b/ki-selfhost-operator/templates/deployment.yaml @@ -36,6 +36,9 @@ spec: {{- toYaml .Values.securityContext | nindent 12 }} image: "{{ .Values.image.repository }}:{{ .Values.image.tag | default .Chart.AppVersion }}" imagePullPolicy: {{ .Values.image.pullPolicy }} + envFrom: + - configMapRef: + name: {{ .Release.Name }}-configmap ports: - name: http containerPort: {{ .Values.service.port }}