From 7210255d3e585209b997bc23aca66a0c2e41c447 Mon Sep 17 00:00:00 2001 From: kirby Date: Tue, 20 May 2025 17:55:59 +0200 Subject: [PATCH] clean --- vault/vault-snapshot-restore.sh | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/vault/vault-snapshot-restore.sh b/vault/vault-snapshot-restore.sh index f9ffa22..aa8eff9 100644 --- a/vault/vault-snapshot-restore.sh +++ b/vault/vault-snapshot-restore.sh @@ -58,7 +58,7 @@ TOKEN_REVIEW_JWT="$(kubectl get secret vault-auth -n vault -o go-template='{{ .d # Rewriting Kube API URL in auth method to match this sites cluster. echo "[$(date '+%Y%m%d %H%M%S')] : Setting kube api url" | tee -a "${LOGFILE}" -vault write auth/production/kubernetes/config token_reviewer_jwt=$TOKEN_REVIEW_JWT kubernetes_ca_cert=@/root/.kube/infolegale.net.crt kubernetes_host="$HOST_KUBE" disable_iss_validation=true disable_local_ca_jwt=true +vault write auth/production/kubernetes/config token_reviewer_jwt=$TOKEN_REVIEW_JWT kubernetes_ca_cert=@/root/.kube/cert.crt kubernetes_host="$HOST_KUBE" disable_iss_validation=true disable_local_ca_jwt=true echo "[$(date '+%Y%m%d %H%M%S')] : Cleaning downloaded snapshot ###" | tee -a "${LOGFILE}" rm -f /tmp/${FILENAME}