mirror of
https://github.com/wahyd4/kubectl-helm-action.git
synced 2026-08-09 05:06:10 +10:00
Update readme about how to use helm to deploy applications
This commit is contained in:
@@ -33,6 +33,19 @@ jobs:
|
||||
args: kubectl apply -f manifest.yaml
|
||||
```
|
||||
|
||||
Or you may want to deploy applications with `helm`
|
||||
|
||||
```yaml
|
||||
- name: deploy postgres to cluster
|
||||
uses: wahyd4/kubectl-helm-action@master
|
||||
env:
|
||||
KUBE_CONFIG_DATA: ${{ secrets.KUBE_CONFIG_DATA }}
|
||||
with:
|
||||
args: |
|
||||
helm repo add bitnami https://charts.bitnami.com/bitnami
|
||||
helm upgrade --install postgres -n data bitnami/postgresql
|
||||
|
||||
```
|
||||
|
||||
## Thanks
|
||||
|
||||
|
||||
Reference in New Issue
Block a user