Commit b304c888 authored by Marcel Amirault's avatar Marcel Amirault

Merge branch 'hc.chang-master-patch-70407' into 'master'

Change example of using `File` type CI variable.

See merge request gitlab-org/gitlab!71138
parents b757b9f5 ee8cb300
......@@ -301,7 +301,7 @@ An alternative to `File` type variables is to:
```shell
# Read certificate stored in $KUBE_CA_PEM variable and save it in a new file
echo "$KUBE_CA_PEM" > "$(pwd)/kube.ca.pem"
cat "$KUBE_CA_PEM" > "$(pwd)/kube.ca.pem"
# Pass the newly created file to kubectl
kubectl config set-cluster e2e --server="$KUBE_URL" --certificate-authority="$(pwd)/kube.ca.pem"
```
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment