Skip to content

Commit 6a5a4f7

Browse files
committed
fix map: map[] does not contain declared merge key: name
1 parent 57fd95b commit 6a5a4f7

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

operator/src/main/resources/application.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -90,7 +90,7 @@ quarkus:
9090
- null
9191
paths:
9292
- (kind == Deployment).spec.template.spec.imagePullSecrets
93-
expression: "{{- toYaml .Values.app.imagePullSecrets | nindent 8 }}"
93+
expression: "{{- if eq (toYaml .Values.app.imagePullSecrets | trim) \"- {}\" }} null{{- else }}{{- toYaml .Values.app.imagePullSecrets | nindent 8 }}{{- end }}"
9494
description: Kubernetes image pull secrets to use if the OCI image is hosted on a private registry
9595
resource-requests-cpu:
9696
property: resources.requests.cpu

0 commit comments

Comments
 (0)