Skip to content
Snippets Groups Projects
Commit f46408f3 authored by Pierre SMEYERS's avatar Pierre SMEYERS
Browse files

Merge branch '1-conflict_vault_and_scoped_variable' into 'master'

fix: conflict between vault and scoped vars

Closes #1

See merge request to-be-continuous/openshift!1
parents 0f76974e 46f2b7de
No related branches found
No related tags found
No related merge requests found
......@@ -236,7 +236,7 @@ stages:
}
function eval_all_secrets() {
encoded_vars=$(env | grep -v '^scoped__' | awk -F '=' '/^[a-zA-Z0-9_]*=@(b64|hex|url)@/ {print $1}')
encoded_vars=$(env | grep -Ev '(^|.*_ENV_)scoped__' | awk -F '=' '/^[a-zA-Z0-9_]*=@(b64|hex|url)@/ {print $1}')
for var in $encoded_vars
do
eval_secret "$var"
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment