fix: write to file

This commit is contained in:
Stefan Reimer 2024-05-20 10:59:11 +00:00
parent 735b0dac22
commit 0fd61d86b8

View File

@ -5,7 +5,7 @@ SA_NAME=$ARGOCD_REPO_SERVER_NAME
CA64=$(cat /run/secrets/kubernetes.io/serviceaccount/ca.crt | base64 -w0) CA64=$(cat /run/secrets/kubernetes.io/serviceaccount/ca.crt | base64 -w0)
TOKEN=$(cat /run/secrets/kubernetes.io/serviceaccount/token) TOKEN=$(cat /run/secrets/kubernetes.io/serviceaccount/token)
cat << EOF cat > $1 << EOF
apiVersion: v1 apiVersion: v1
kind: Config kind: Config
clusters: clusters: