Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion .github/workflows/release.yml
Original file line number Diff line number Diff line change
Expand Up @@ -13,7 +13,7 @@ jobs:
runs-on: ubuntu-24.04
timeout-minutes: 15
steps:
- uses: actions/checkout@v5
- uses: actions/checkout@v7
with:
token: ${{ secrets.GH_PERSONAL_ACCESS_TOKEN }}
- uses: aboutbits/github-actions-base/git-setup@v2
Expand Down
13 changes: 8 additions & 5 deletions readme.md
Original file line number Diff line number Diff line change
Expand Up @@ -20,11 +20,14 @@ Setup kubectl and Helm using kubeconfig file.

The following inputs can be used as `step.with` keys:

| Name | Required/Default | Description |
|----------------|------------------|-----------------------------|
| `kubeconfig` | required | The kubeconfig file content |
| `kube-version` | `v1.33.1` | The version of kubectl |
| `helm-version` | `v3.17.3` | The version of Helm |
| Name | Required/Default | Description |
|-------------------|------------------|-----------------------------|
| `kubeconfig` | required | The kubeconfig file content |
| `kubectl-version` | `v1.36` | The version of kubectl |
| `helm-version` | `v3.21.4` | The version of Helm |

The `kubectl-version` input accepts a `major.minor` value, such as `v1.36`.
The action then installs the latest patch of that minor version. The `helm-version` input needs a full version.

### Deploy to Kubernetes using kubectl

Expand Down
8 changes: 4 additions & 4 deletions setup-kubectl-and-helm/action.yml
Original file line number Diff line number Diff line change
Expand Up @@ -8,17 +8,17 @@ inputs:
kubectl-version:
description: 'kubectl version'
required: false
default: 'v1.33.1'
default: 'v1.36'
helm-version:
description: 'Helm version'
required: false
default: 'v3.17.3'
default: 'v3.21.4'

runs:
using: "composite"
steps:
- name: Setup kubectl
uses: azure/setup-kubectl@v4
uses: azure/setup-kubectl@v5
with:
version: ${{ inputs.kubectl-version }}
- name: Setup kubeconfig file
Expand All @@ -28,6 +28,6 @@ runs:
chmod 600 ~/.kube/config
shell: bash
- name: Setup Helm
uses: azure/setup-helm@v4
uses: azure/setup-helm@v5
with:
version: ${{ inputs.helm-version }}