Skip to content
This repository has been archived by the owner on Jan 8, 2024. It is now read-only.

Commit

Permalink
Deletion of unused environment variables
Browse files Browse the repository at this point in the history
Signed-off-by: Meric <[email protected]>
  • Loading branch information
MericFeyz authored and wagmarcel committed Nov 3, 2021
1 parent 6ce5e63 commit 9b66419
Showing 1 changed file with 0 additions and 4 deletions.
4 changes: 0 additions & 4 deletions util/get_oisp_credentials.sh
Original file line number Diff line number Diff line change
Expand Up @@ -26,10 +26,6 @@ if [[ "$KEYCLOAK_FUSION_BACKEND_SECRET" == "null" ]] || [[ -z "$KEYCLOAK_FUSION_
echo "Keycloak fusion backend secret is not present! Randomly creating new one!"
export KEYCLOAK_FUSION_BACKEND_SECRET=$(< /dev/urandom tr -dc _A-Z-a-z-0-9 | head -c ${1:-64})
fi
# tr "." "_" because jq cannot handle keys with "."
export JWT_PRIVATE=$(kubectl -n ${NAMESPACE} -o json get secret oisp-secrets | tr "." "_" | jq -r .data.jwt_privatekey)
export JWT_PUBLIC=$(kubectl -n ${NAMESPACE} -o json get secret oisp-secrets | tr "." "_" | jq -r .data.jwt_publickey)
export JWT_X509=$(kubectl -n ${NAMESPACE} -o json get secret oisp-secrets | tr "." "_" | jq -r .data.jwt_x509)

# Check whether SYSTEMUSER_PASSWORD is recovered to make sure the tools are installed
# and the namespace is valid
Expand Down

0 comments on commit 9b66419

Please sign in to comment.