Skip to content
This repository has been archived by the owner on Oct 12, 2023. It is now read-only.

Commit

Permalink
Update README.md
Browse files Browse the repository at this point in the history
  • Loading branch information
thesattiraju committed Jul 31, 2019
1 parent 257d3f5 commit 8735f73
Showing 1 changed file with 3 additions and 4 deletions.
7 changes: 3 additions & 4 deletions k8s-set-context/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -11,9 +11,8 @@
```yaml
- uses: azure/actions/k8s-set-context@master
with:
clusterUrl: '<your kubernetes cluster url>'
certificate: '<service account certificate>' # ca.crt value from the result of the below script
token: '<service account token>' # token value from the result of the below script
k8s-url: '<your kubernetes cluster url>'
k8s-secret: '<service account token>' # token value from the result of the below script
id: login
```
PS: `kubeconfig` takes precedence (i.e. kubeconfig would be created using the value supplied in kubeconfig)
Expand All @@ -23,4 +22,4 @@ PS: `kubeconfig` takes precedence (i.e. kubeconfig would be created using the va
# Copy the secret name from the output of the get secret command
~/$ kubectl get serviceaccounts <service-account-name> -o yaml
~/$ kubectl get secret <service-account-secret-name> -o yaml
```
```

0 comments on commit 8735f73

Please sign in to comment.