diff --git a/os2mo/templates/integrations/sd-changed-at/config.yaml b/os2mo/templates/integrations/sd-changed-at/config.yaml deleted file mode 100644 index 2d0dc16..0000000 --- a/os2mo/templates/integrations/sd-changed-at/config.yaml +++ /dev/null @@ -1,16 +0,0 @@ -# SPDX-FileCopyrightText: Magenta ApS -# -# SPDX-License-Identifier: MPL-2.0 ---- -{{- if .Values.sd_changed_at.enabled }} -apiVersion: v1 -kind: ConfigMap -metadata: - name: sd-changed-at - {{- with .Values.annotations }} - annotations: - {{- toYaml . | nindent 4 }} - {{- end }} -data: -{{ toYaml .Values.sd_changed_at.environment | indent 2 }} -{{- end }} diff --git a/os2mo/templates/integrations/sd-changed-at/deployment.yaml b/os2mo/templates/integrations/sd-changed-at/deployment.yaml index aa527dd..5cfb7cb 100644 --- a/os2mo/templates/integrations/sd-changed-at/deployment.yaml +++ b/os2mo/templates/integrations/sd-changed-at/deployment.yaml @@ -91,9 +91,10 @@ spec: secretKeyRef: name: {{ .Values.sd_changed_at.sd_secret_name }} key: sd_institution - envFrom: - - configMapRef: - name: sd-changed-at + {{- range $name, $value := .Values.sd_changed_at.environment }} + - name: {{ $name }} + value: {{ $value | quote }} + {{- end }} ports: - containerPort: 5000 resources: