An open API service indexing awesome lists of open source software.

https://github.com/ossrs/k8s-set-context-action

GitHub Action for setting context before deploying to Kubernetes clusters
https://github.com/ossrs/k8s-set-context-action

Last synced: 4 months ago
JSON representation

GitHub Action for setting context before deploying to Kubernetes clusters

Awesome Lists containing this project

README

        

# k8s-set-context-action

GitHub Action for setting context before deploying to Kubernetes clusters.

## Action inputs

| Action inputs | Description |
| --- | --- |
| `kubeconfig` | (Required) The K8s kubeconfig |

## Example

```yaml
- name: Set K8s context
uses: ossrs/k8s-set-context-action@v1
with:
kubeconfig: '${{ secrets.KUBECONFIG }}'

- name: Run K8s
run: |-
kubectl cluster-info
```