mirror of
https://github.com/Azure/k8s-set-context
synced 2025-09-23 12:08:06 +00:00
Update README
This commit is contained in:
parent
fcbdd768c2
commit
eb2d4ed888
1 changed files with 1 additions and 1 deletions
|
@ -60,7 +60,7 @@ kubectl get secret <service-account-secret-name> -n <namespace> -o json
|
|||
## Using secret for Kubeconfig or Service Account
|
||||
Now add the values as [a secret](https://developer.github.com/actions/managing-workflows/storing-secrets/) in the GitHub repository. In the example below the secret name is `KUBE_CONFIG` and it can be used in the workflow by using the following syntax:
|
||||
```yaml
|
||||
- uses: azure/k8s-actions/k8s-set-context@master
|
||||
- uses: azure/k8s-set-context@v1
|
||||
with:
|
||||
kubeconfig: ${{ secrets.KUBE_CONFIG }}
|
||||
```
|
||||
|
|
Loading…
Reference in a new issue