fix: write to file
This commit is contained in:
parent
735b0dac22
commit
0fd61d86b8
@ -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:
|
||||||
|
Loading…
Reference in New Issue
Block a user