From dd33ab32be0636fb12cd6ef4d181b1e45dbed5bf Mon Sep 17 00:00:00 2001 From: Ricardo Maraschini Date: Fri, 13 Sep 2024 13:00:55 +0200 Subject: [PATCH] bug: fix config map entry on deployment (#61) this must be `configMap`, when manually editing the deployment and adding a `configmap` entry the api reports the following error: ``` decoding error: unknown field "spec.template.spec.volumes[3].configmap" ``` --- templates/kotsadm-deployment.yaml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/templates/kotsadm-deployment.yaml b/templates/kotsadm-deployment.yaml index feba72c..ef2913f 100644 --- a/templates/kotsadm-deployment.yaml +++ b/templates/kotsadm-deployment.yaml @@ -215,7 +215,7 @@ spec: - emptyDir: {} name: tmp {{- if .Values.privateCAs.enabled }} - - configmap: + - configMap: name: "{{ .Values.privateCAs.configmapName }}" optional: true name: kotsadm-private-cas