We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 29ac7c1 commit e4e44cfCopy full SHA for e4e44cf
1 file changed
.github/workflows/workflow.yaml
@@ -40,4 +40,10 @@ jobs:
40
IMAGE_TAG="${{ needs.build.outputs.id }}" |
41
sed -i "s|image:.*|image: ${IMAGE_TAG}|" ./challenge9/kubernetes/deployment.yaml
42
- name: Deploy the app to kubernetes
43
- run: kubectl apply -f ./challenge9/kubernetes/deployment.yaml
+ run: |
44
+ kubectl config set-cluster minikube --server=https://192.168.49.2:8443 --insecure-skip-tls-verify=true
45
+ kubectl config set-credentials my-remote-access-user --token="${{ secrets.TOKEN }}"
46
+ kubectl config set-context my-remote-access-context --cluster=minikube --user=my-remote-access-user --namespace=default
47
+ kubectl config use-context my-remote-access-context
48
+ kubectl get pods --all-namespaces
49
+ kubectl apply -f ./challenge9/kubernetes/deployment.yaml
0 commit comments