Skip to content

Commit

Permalink
Update kindest/node Docker tag to v1.31.1 (#18)
Browse files Browse the repository at this point in the history
Co-authored-by: Renovate Bot <[email protected]>
  • Loading branch information
bakito and renovate-bot committed Oct 21, 2024
1 parent 1b709d1 commit 08e418e
Show file tree
Hide file tree
Showing 2 changed files with 10 additions and 6 deletions.
4 changes: 2 additions & 2 deletions .github/workflows/main.yml
Original file line number Diff line number Diff line change
@@ -1,8 +1,8 @@
on:
push:
branches: [ main ]
branches: [ ingress-controller-version ]
pull_request:
branches: [ main ]
branches: [ ingress-controller-version ]

jobs:
default:
Expand Down
12 changes: 8 additions & 4 deletions action.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -16,11 +16,15 @@ inputs:
description: 'The version of node image to use'
required: false
# renovate: docker
default: 'kindest/node:v1.31.0'
default: 'kindest/node:v1.31.1'
ingress_enabled:
description: 'enable ingress for the cluster'
required: false
default: false
ingress_version:
description: 'The ingress controller version (git tag)'
required: false
default: 4.11.3
registry_image:
description: 'The registry docker image to be used'
required: false
Expand Down Expand Up @@ -65,12 +69,12 @@ runs:
docker network connect kind kind-registry
kubectl apply -f ${{ github.action_path }}/configmap-registry.yaml
- name: Set up Ingress
- name: Set up Ingress ${{ inputs.ingress_version }}
if: ${{ inputs.ingress_enabled == 'true' }}
shell: bash
run: |
run: |
# https://kind.sigs.k8s.io/docs/user/ingress/
kubectl apply -f https://raw.githubusercontent.com/kubernetes/ingress-nginx/main/deploy/static/provider/kind/deploy.yaml
kubectl apply -f https://raw.githubusercontent.com/kubernetes/ingress-nginx/helm-chart-${{ inputs.ingress_version }}/deploy/static/provider/kind/deploy.yaml
kubectl wait --namespace ingress-nginx \
--for=condition=ready pod \
--selector=app.kubernetes.io/component=controller \
Expand Down

0 comments on commit 08e418e

Please sign in to comment.