File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change 1313 runs-on : ubuntu-24.04
1414 timeout-minutes : 15
1515 steps :
16- - uses : actions/checkout@v5
16+ - uses : actions/checkout@v7
1717 with :
1818 token : ${{ secrets.GH_PERSONAL_ACCESS_TOKEN }}
1919 - uses : aboutbits/github-actions-base/git-setup@v2
Original file line number Diff line number Diff line change @@ -20,11 +20,14 @@ Setup kubectl and Helm using kubeconfig file.
2020
2121The following inputs can be used as ` step.with` keys:
2222
23- | Name | Required/Default | Description |
24- |----------------|------------------|-----------------------------|
25- | `kubeconfig` | required | The kubeconfig file content |
26- | `kube-version` | `v1.33.1` | The version of kubectl |
27- | `helm-version` | `v3.17.3` | The version of Helm |
23+ | Name | Required/Default | Description |
24+ |-------------------|------------------|-----------------------------|
25+ | `kubeconfig` | required | The kubeconfig file content |
26+ | `kubectl-version` | `v1.36` | The version of kubectl |
27+ | `helm-version` | `v3.21.4` | The version of Helm |
28+
29+ The `kubectl-version` input accepts a `major.minor` value, such as `v1.36`.
30+ The action then installs the latest patch of that minor version. The `helm-version` input needs a full version.
2831
2932# ## Deploy to Kubernetes using kubectl
3033
Original file line number Diff line number Diff line change @@ -8,17 +8,17 @@ inputs:
88 kubectl-version :
99 description : ' kubectl version'
1010 required : false
11- default : ' v1.33.1 '
11+ default : ' v1.36 '
1212 helm-version :
1313 description : ' Helm version'
1414 required : false
15- default : ' v3.17.3 '
15+ default : ' v3.21.4 '
1616
1717runs :
1818 using : " composite"
1919 steps :
2020 - name : Setup kubectl
21- uses : azure/setup-kubectl@v4
21+ uses : azure/setup-kubectl@v5
2222 with :
2323 version : ${{ inputs.kubectl-version }}
2424 - name : Setup kubeconfig file
2828 chmod 600 ~/.kube/config
2929 shell : bash
3030 - name : Setup Helm
31- uses : azure/setup-helm@v4
31+ uses : azure/setup-helm@v5
3232 with :
3333 version : ${{ inputs.helm-version }}
You can’t perform that action at this time.
0 commit comments