fluxcd : adding repo example with some apps

This commit is contained in:
2025-05-28 16:00:46 +02:00
parent 00a5e56c27
commit e5738c5c3f
111 changed files with 18051 additions and 0 deletions

View File

@@ -0,0 +1,14 @@
#!/bin/bash
set -eu
read -p "Are you in the right cluster 'KUBECONFIG=$KUBECONFIG' ? (y/N) : " START
if [[ $START != 'y' ]]; then
echo "Bye bye."
exit 1;
fi
NAMESPACE="infrastructure"
NAME="vault-k8s-external-secrets"
kubectl -n $NAMESPACE create secret generic $NAME \
--from-env-file <(vault kv get -format=json kubernetes-secrets/$NAME | jq '.data.data' | jq -r "to_entries|map(\"\(.key)=\(.value|tostring)\")|.[]")