Commit a981d73d authored by Sandro Mathys's avatar Sandro Mathys
Browse files

provide credentials

parent 2c24a4f4
......@@ -64,9 +64,9 @@ deploy staging:
before_script:
# just in case
- helm uninstall "${HELM_RELEASE}" 2>&1 || true
- kubectl delete secret shibboleth-sp-helm-chart-certs 2>&1 || true
- kubectl --namespace "${NAMESPACE}" --server "${KUBE_APISERVER}" --token="${KUBE_TOKEN}" delete secret shibboleth-sp-helm-chart-certs 2>&1 || true
script:
- kubectl create secret tls shibboleth-sp-helm-chart-certs --cert="ci/sp-cert.pem" --key="ci/sp-key.pem"
- kubectl --namespace "${NAMESPACE}" --server "${KUBE_APISERVER}" --token="${KUBE_TOKEN}" create secret tls shibboleth-sp-helm-chart-certs --cert="ci/sp-cert.pem" --key="ci/sp-key.pem"
# thanks to --atomic, this command won't just install the chart but also ensure it works
- helm upgrade --install "${HELM_RELEASE}" chart --values="ci/values.yaml" --atomic --debug
after_script:
......
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment