07 Github Secrets
To allow the action to use the Kubeconfig file, we will be saving it in a GitHub secret, that can only be used by the action. Just like we did earlier, with the registry.
- Open your repo in github, and select the
Settingstab. - Select
Secretsfrom the menu, and selectActions - In to top right, select
New repository secretand create the following secret. KUBE_CONFIGwith the entire content from the kubeconfig.yml