fix: enabled wrapper script and vals secrets within templates
This commit is contained in:
parent
a96e52a7a1
commit
30c13bcdb1
@ -12,7 +12,7 @@ ENV HELM_SECRETS_BACKEND="vals" \
|
||||
HELM_SECRETS_VALUES_ALLOW_SYMLINKS=false \
|
||||
HELM_SECRETS_VALUES_ALLOW_ABSOLUTE_PATH=false \
|
||||
HELM_SECRETS_VALUES_ALLOW_PATH_TRAVERSAL=false \
|
||||
HELM_SECRETS_WRAPPER_ENABLED=false
|
||||
HELM_SECRETS_WRAPPER_ENABLED=true
|
||||
|
||||
# Optionally, set default gpg key for sops files
|
||||
# ENV HELM_SECRETS_LOAD_GPG_KEYS=/path/to/gpg.key
|
||||
@ -38,3 +38,4 @@ RUN ln -sf "$(helm env HELM_PLUGINS)/helm-secrets/scripts/wrapper/helm.sh" /usr/
|
||||
USER ${ARGOCD_USER_ID}
|
||||
|
||||
RUN helm plugin install --version ${HELM_SECRETS_VERSION} https://github.com/jkroepke/helm-secrets
|
||||
RUN sed -i -e 's/secrets/secrets --evaluate-templates/' "$(helm env HELM_PLUGINS)/helm-secrets/scripts/wrapper/helm.sh"
|
||||
|
Loading…
Reference in New Issue
Block a user