diff --git a/templates/migration/init-migrate-hook.yaml b/templates/migration/init-migrate-hook.yaml index 99d8916..906526e 100644 --- a/templates/migration/init-migrate-hook.yaml +++ b/templates/migration/init-migrate-hook.yaml @@ -41,7 +41,7 @@ spec: name: {{ include "orchestrate.api.fullname" . }}-hook-secretmap optional: true {{- end }} - {{- if .Values.api.existingSecret }} + {{- if .Values.migrate.existingSecret }} - secretRef: name: {{ .Values.migrate.existingSecret }} optional: true