Testing more

This commit is contained in:
Jack Jackson 2023-06-21 20:29:49 -07:00
parent 5876377930
commit 80794e720d

View File

@ -21,17 +21,13 @@ steps:
from_secret: gitea_password from_secret: gitea_password
ARGO_TOKEN: ARGO_TOKEN:
from_secret: argo_token from_secret: argo_token
- name: "Check for env variables indicating running in pod"
image: alpine
commands:
- echo $KUBERNETES_SERVICE_HOST
- echo $KUBERNETES_SERVICE_PORT
- cat /var/run/secrets/kubernetes.io/serviceaccount/token
- name: "Install kubectl" - name: "Install kubectl"
image: bitnami/kubectl image: bitnami/kubectl
environment:
KUBE_TOKEN:
from_secret: kube_token
commands: commands:
- kubectl apply -s https://rassigma.avril:6443 -f application-manifests.yaml - kubectl apply -s https://rassigma.avril:6443 --token $KUBE_TOKEN -f application-manifests.yaml
# TODO - step to apply manifests
image_pull_secrets: image_pull_secrets:
- dockerconfigjson - dockerconfigjson