We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 4892057 commit bb84578Copy full SHA for bb84578
compose/auth_proxy_htpasswd
smoketest.bash
@@ -242,7 +242,9 @@ createProxyCfgVolume() {
242
cfg="$(mktemp)"
243
chmod 644 "${cfg}"
244
envsubst '$STORAGE_PORT' < "${DIR}/compose/${AUTH_PROXY_ALPHA_CONFIG_FILE}.yml" > "${cfg}"
245
- "${container_engine}" cp "${DIR}/compose/auth_proxy_htpasswd" proxy_cfg_helper:/tmp/auth_proxy_htpasswd
+ htpasswd="$(mktemp)"
246
+ htpasswd -ibB "${htpasswd}" "${CRYOSTAT_USER:-user}" "${CRYOSTAT_PASS:-pass}"
247
+ "${container_engine}" cp "${htpasswd}" proxy_cfg_helper:/tmp/auth_proxy_htpasswd
248
"${container_engine}" cp "${cfg}" proxy_cfg_helper:/tmp/auth_proxy_alpha_config.yml
249
}
250
0 commit comments