Skip to content

Commit

Permalink
sameersbn#2420 Make GITLAB_SECRETS_ENCRYPTED_SETTINGS_KEY_BASE option…
Browse files Browse the repository at this point in the history
…al and consider it as generated by gitlab default secrets management.
  • Loading branch information
ymazzer committed Sep 5, 2022
1 parent c39f181 commit 2fa1e8a
Showing 1 changed file with 0 additions and 7 deletions.
7 changes: 0 additions & 7 deletions assets/runtime/functions
Original file line number Diff line number Diff line change
Expand Up @@ -748,13 +748,6 @@ gitlab_configure_secrets() {
return 1
fi

if [[ -z $GITLAB_SECRETS_ENCRYPTED_SETTINGS_KEY_BASE ]]; then
echo "ERROR: "
echo " Please configure the GITLAB_SECRETS_ENCRYPTED_SETTINGS_KEY_BASE parameter."
echo " Cannot continue. Aborting..."
return 1
fi

update_template ${GITLAB_SECRETS_CONFIG} \
GITLAB_SECRETS_DB_KEY_BASE \
GITLAB_SECRETS_SECRET_KEY_BASE \
Expand Down

0 comments on commit 2fa1e8a

Please sign in to comment.