You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardexpand all lines: providers/kubernetes/provider.yaml
-10
Original file line number
Diff line number
Diff line change
@@ -136,15 +136,5 @@ agent:
136
136
pvcAccessMode: ${PVC_ACCESS_MODE}
137
137
podManifestTemplate: ${POD_MANIFEST_TEMPLATE}
138
138
exec:
139
-
init: |-
140
-
# Check if kubernetes is reachable
141
-
${KUBECTL_PATH} get pods --kubeconfig=${KUBERNETES_CONFIG} --namespace=${KUBERNETES_NAMESPACE} --context=${KUBERNETES_CONTEXT} >/dev/null 2>&1
142
-
if [ $? -ne 0 ]; then
143
-
>&2 echo "Seems like kubernetes is not reachable on your system."
144
-
>&2 echo "Please make sure kubectl is installed and working."
145
-
>&2 echo "You can verify if kubectl is working correctly via: ${KUBECTL_PATH} get pods --kubeconfig=${KUBERNETES_CONFIG} --namespace=${KUBERNETES_NAMESPACE} --context=${KUBERNETES_CONTEXT}"
0 commit comments