Skip to content

Commit c8457d1

Browse files
committed
fix: use envs/add slash/change dir
1 parent 5887254 commit c8457d1

3 files changed

Lines changed: 3 additions & 2 deletions

File tree

.github/workflows/docker-k8s.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -101,4 +101,4 @@ jobs:
101101
kubectl wait --timeout=10020s --for=condition=complete job/load-graphql
102102
last_command=$(kubectl get job -o jsonpath='{.status.succeeded}' load-graphql)
103103
test "$last_command" -eq 1
104-
kubectl logs jobs load-graphql
104+
kubectl logs jobs/load-graphql

Resources/k8s/kustomize/base/jobs/load-graphql.yaml

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -35,6 +35,7 @@ spec:
3535
- apt-get update &&
3636
apt-get install -y git curl &&
3737
curl -L https://github.com/hasura/graphql-engine/raw/stable/cli/get.sh | VERSION=v2.36.4 bash &&
38+
cd /tmp &&
3839
git clone https://github.com/PokeAPI/pokeapi.git &&
3940
cd pokeapi &&
4041
git checkout $(POKEAPI_CHECKOUT_REF) | git checkout master &&

Resources/k8s/kustomize/base/kustomization.yaml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -5,7 +5,7 @@ namespace: pokeapi
55

66
configMapGenerator:
77
- name: pokeapi-configmap
8-
files:
8+
envs:
99
- config/pokeapi.env
1010

1111
secretGenerator:

0 commit comments

Comments
 (0)