mirror of
https://github.com/PokeAPI/pokeapi
synced 2024-11-10 06:04:18 +00:00
fix: use cluster name
This commit is contained in:
parent
5f4c20aa8a
commit
40c9f02028
1 changed files with 4 additions and 3 deletions
7
.github/workflows/docker-k8s.yml
vendored
7
.github/workflows/docker-k8s.yml
vendored
|
@ -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
|
||||
|
|
Loading…
Reference in a new issue