You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
args: set image --record deployment/my-app container=${{ github.repository
24
+
}}:${{ github.sha }}
25
+
- name: verify deployment
26
+
uses: qazz92/kubectl@1.0.0
27
+
env:
28
+
KUBE_CONFIG_DATA: ${{ secrets.KUBE_CONFIG_DATA }}
29
+
with:
30
+
args: '"rollout status deployment/my-app"'
31
+
```
32
+
33
+
## Secrets
34
+
35
+
`KUBE_CONFIG_DATA` – **required**: A base64-encoded kubeconfig file with credentials for Kubernetes to access the cluster. You can get it by running the following command:
36
+
37
+
```bash
38
+
cat $HOME/.kube/config | base64
39
+
```
40
+
41
+
**Note**: Do not use kubectl config view as this will hide the certificate-authority-data.
0 commit comments