diff --git a/cmd/draconctl/main.go b/cmd/draconctl/main.go index 3f3b35ba6..87f23bafc 100644 --- a/cmd/draconctl/main.go +++ b/cmd/draconctl/main.go @@ -64,7 +64,7 @@ func initializeConfig(cmd *cobra.Command) error { // Bind to environment variables // Works great for simple config names, but needs help for names - // like --favorite-color which we fix in the bindFlags function + // like --favorite-color which we fix in the visitall function v.AutomaticEnv() if !slices.Contains(supportedLogFormats, strings.ToLower(loggingFormat)) { diff --git a/deploy/deduplication-db-migrations/chart/templates/migrations-job.yaml b/deploy/deduplication-db-migrations/chart/templates/migrations-job.yaml index 23c26f970..65e5ef945 100644 --- a/deploy/deduplication-db-migrations/chart/templates/migrations-job.yaml +++ b/deploy/deduplication-db-migrations/chart/templates/migrations-job.yaml @@ -32,7 +32,6 @@ spec: - apply - --url - "postgresql://{{ .Values.database.auth.username }}:{{ .Values.database.auth.password }}@{{ .Values.database.host }}/{{ .Values.database.auth.database }}?{{ .Values.database.auth.querystringargs}}" - - ${DRACONCTL_MIGRATIONS_PATH} resources: {{- toYaml .Values.resources | nindent 12 }} serviceAccountName: {{ include "deduplication_db_migrations.fullname" . }}