From 40c9f02028ccd0dc6cafd6c4b49acc58ff763151 Mon Sep 17 00:00:00 2001 From: Naramsim Date: Sun, 2 Jun 2024 15:06:40 +0200 Subject: [PATCH] fix: use cluster name --- .github/workflows/docker-k8s.yml | 7 ++++--- 1 file changed, 4 insertions(+), 3 deletions(-) diff --git a/.github/workflows/docker-k8s.yml b/.github/workflows/docker-k8s.yml index 074ff208..2ed95cf3 100644 --- a/.github/workflows/docker-k8s.yml +++ b/.github/workflows/docker-k8s.yml @@ -66,16 +66,17 @@ jobs: - name: Lint k8s run: (cd Resources/k8s/kustomize && yamllint .) - name: Create k8s Kind Cluster - uses: helm/kind-action@v1.1.0 + uses: helm/kind-action@v1.10.0 with: - version: v0.11.1 + cluster_name: pokeapi + version: v0.21.0 - name: Create deployment configuration run: | cp Resources/k8s/kustomize/base/secrets/postgres.env.sample Resources/k8s/kustomize/base/secrets/postgres.env cp Resources/k8s/kustomize/base/secrets/graphql.env.sample Resources/k8s/kustomize/base/secrets/graphql.env cp Resources/k8s/kustomize/base/config/pokeapi.env.sample Resources/k8s/kustomize/base/config/pokeapi.env - name: Load local image to Kind - run: kind load docker-image pokeapi/pokeapi:local + run: kind load docker-image pokeapi/pokeapi:local --name pokeapi - name: K8s Apply run: | make kustomize-local-apply