test: display logs/use direct cf key

This commit is contained in:
Naramsim 2024-06-03 06:16:04 +02:00
parent 92e8671b8e
commit c850b6e118
2 changed files with 6 additions and 3 deletions

View file

@ -101,3 +101,4 @@ jobs:
kubectl wait --timeout=1020s --for=condition=complete job/load-graphql
last_command=$(kubectl get job -o jsonpath='{.status.succeeded}' load-graphql)
test "$last_command" -eq 1
kubectl logs jobs load-graphql

View file

@ -25,9 +25,11 @@ spec:
secretKeyRef:
name: graphql-env-secret
key: HASURA_GRAPHQL_ADMIN_SECRET
envFrom:
- configMapRef:
name: pokeapi-configmap
- name: POKEAPI_CHECKOUT_REF
valueFrom:
configMapKeyRef:
name: pokeapi-configmap
key: POKEAPI_CHECKOUT_REF
command: ["sh", "-c"]
args:
- apt-get update &&