1
0
mirror of https://github.com/gsi-upm/senpy synced 2024-12-30 16:33:12 +00:00

explicit KUBECONFIG in kubectl version

This commit is contained in:
J. Fernando Sánchez 2023-09-26 20:25:37 +02:00
parent e915766449
commit 9747140b54

View File

@ -127,7 +127,7 @@ latest-demo:
KUBEAPP: "senpy"
script:
- echo "${KUBECONFIG_RAW}" > $KUBECONFIG
- kubectl version
- kubectl --kubeconfig $KUBECONFIG version
- cd k8s/
- cat *.yaml *.tmpl 2>/dev/null | envsubst | kubectl --kubeconfig $KUBECONFIG apply --namespace ${KUBENS:-default} -f -
- kubectl --kubeconfig $KUBECONFIG get all,ing -l app=${KUBEAPP} --namespace=${KUBENS:-default}