diff --git a/components/automate-cs-bookshelf/habitat/hooks/run b/components/automate-cs-bookshelf/habitat/hooks/run index 04a21d8a463..2d37e10e764 100644 --- a/components/automate-cs-bookshelf/habitat/hooks/run +++ b/components/automate-cs-bookshelf/habitat/hooks/run @@ -37,7 +37,7 @@ fi exec secrets-helper exec \ - --optional-secret userconfig.pg_superuser_password \ + --secret userconfig.pg_superuser_password \ --secret bookshelf.access_key_id \ --secret bookshelf.secret_access_key \ -- \ diff --git a/components/automate-cs-oc-bifrost/habitat/hooks/run b/components/automate-cs-oc-bifrost/habitat/hooks/run index 990d2acf201..b22dfdaf7f6 100644 --- a/components/automate-cs-oc-bifrost/habitat/hooks/run +++ b/components/automate-cs-oc-bifrost/habitat/hooks/run @@ -31,6 +31,6 @@ secrets-helper generate oc_bifrost.superuser_id 32 --if-not-exists exec secrets-helper exec \ --secret oc_bifrost.superuser_id \ - --optional-secret userconfig.pg_superuser_password \ + --secret userconfig.pg_superuser_password \ -- \ oc_bifrost foreground diff --git a/components/automate-cs-oc-erchef/habitat/hooks/run b/components/automate-cs-oc-erchef/habitat/hooks/run index a3ca1bcd0d8..0a51db0f236 100644 --- a/components/automate-cs-oc-erchef/habitat/hooks/run +++ b/components/automate-cs-oc-erchef/habitat/hooks/run @@ -76,7 +76,7 @@ exec secrets-helper exec \ --secret bookshelf.access_key_id \ --secret bookshelf.secret_access_key \ --secret chef-server.webui_pub_key \ - --optional-secret userconfig.pg_superuser_password \ + --secret userconfig.pg_superuser_password \ --optional-secret data_collector.token \ -- \ {{~#if cfg.memory.max_bytes}}