fix(argo-cd): Fix migration path for server configs (#1585)

Signed-off-by: Petr Drastil <petr.drastil@gmail.com>
This commit is contained in:
Petr Drastil 2022-10-29 11:23:40 +02:00 committed by GitHub
parent 2cdd2ba687
commit 90aa8962a0
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23
4 changed files with 6 additions and 7 deletions

View file

@ -1,4 +1,4 @@
{{- if (coalesce .Values.server.configEnabled .Values.configs.cm.create) }}
{{- if (hasKey .Values.server "configEnabled") | ternary .Values.server.configEnabled .Values.configs.cm.create }}
apiVersion: v1
kind: ConfigMap
metadata:

View file

@ -1,4 +1,4 @@
{{- if (coalesce .Values.server.rbacConfigCreate .Values.configs.rbac.create) }}
{{- if (hasKey .Values.server "rbacConfigCreate") | ternary .Values.server.rbacConfigCreate .Values.configs.rbac.create }}
apiVersion: v1
kind: ConfigMap
metadata: