Closed jack1902 closed 2 years ago
Extends the chart such that it is possible to use basicAuth by having the password mapped from a secret to an env-var.
basicAuth
This ensures that those with read-only access to a cluster cannot see the password, as it is not exposed in plain text in the deployment manifest.
read-only
fixes: https://github.com/eshepelyuk/cmak-operator/issues/53
Additionally, ensures that env is only ever set in the chart, if any env is actually used. Without the if or a bug can occur whereby env: is null and results in a broken render
env
if or
env:
Will close as it is technically possible to use extra* settings within the chart to use a previously created secret containing the information.
extra*
Extends the chart such that it is possible to use
basicAuth
by having the password mapped from a secret to an env-var.This ensures that those with
read-only
access to a cluster cannot see the password, as it is not exposed in plain text in the deployment manifest.fixes: https://github.com/eshepelyuk/cmak-operator/issues/53
Additionally, ensures that
env
is only ever set in the chart, if any env is actually used. Without theif or
a bug can occur wherebyenv:
is null and results in a broken render