14 lines
295 B
YAML
14 lines
295 B
YAML
deploy:
|
|
stage: deploy
|
|
image:
|
|
name: bitnami/kubectl
|
|
entrypoint: ['']
|
|
script:
|
|
- kubectl config get-contexts
|
|
- kubectl config use-context athens-school/k3s-cluster:dev-env
|
|
- kubectl get pods
|
|
- kubectl apply -f traefik-lb
|
|
- kubectl apply -f nginx
|
|
only:
|
|
- dev
|