I installed the bash delegate on my Mac and the K8s delegate on minikube successfully as shown below.
For some reason, both delegates are not visible when I try to create a new ShellScript step in a workflow. Am I missing a step? I am trying this out for the first time.
*Using a link as I am not allowed to add >1 images. *
Secondly, I intend to clone a private GitHub repo when I get past the first phase, how do I do pass the repo credentials in a secure manner?
Lastly, your readinessProbe in the k8s manifest is broken:
k describe po koazgk-0 ..... Events: Type Reason Age From Message ---- ------ ---- ---- ------- Normal Scheduled <unknown> default-scheduler Successfully assigned harness-delegate/k8s-koazgk-0 to minikube Normal Pulling 2m4s kubelet, minikube Pulling image "harness/delegate:latest" Normal Pulled 2m3s kubelet, minikube Successfully pulled image "harness/delegate:latest" Normal Created 2m3s kubelet, minikube Created container harness-delegate-instance Normal Started 2m3s kubelet, minikube Started container harness-delegate-instance Warning Unhealthy 5s (x10 over 95s) kubelet, minikube Readiness probe failed:
test -s delegate.log does nothing, as the file does actually exist when I exec into the pod. I had to remove the probe to get it working.
#readinessProbe: # exec: # command: # - test # - -s # - delegate.log # initialDelaySeconds: 20 #periodSeconds: 10