diff --git a/codebundles/cli-test/runbook.robot b/codebundles/cli-test/runbook.robot index ab7bbdd0..78e6c9f7 100644 --- a/codebundles/cli-test/runbook.robot +++ b/codebundles/cli-test/runbook.robot @@ -15,10 +15,6 @@ Suite Initialization ... description=The kubernetes kubeconfig yaml containing connection configuration used to connect to cluster(s). ... pattern=\w* ... example=For examples, start here https://kubernetes.io/docs/concepts/configuration/organize-cluster-access-kubeconfig/ - ${kubectl}= RW.Core.Import Service kubectl - ... description=The location service used to interpret shell commands. - ... default=kubectl-service.shared - ... example=kubectl-service.shared ${NAMESPACE}= RW.Core.Import User Variable NAMESPACE ... type=string ... description=The name of the Kubernetes namespace to scope actions and searching to. @@ -32,7 +28,6 @@ Suite Initialization Set Suite Variable ${NAMESPACE} ${NAMESPACE} Set Suite Variable ${CONTEXT} ${CONTEXT} Set Suite Variable ${kubeconfig} ${kubeconfig} - Set Suite Variable ${kubectl} ${kubectl} Set Suite Variable ${env} {"KUBECONFIG":"./${kubeconfig.key}"} *** Tasks *** diff --git a/codebundles/cmd-test/runbook.robot b/codebundles/cmd-test/runbook.robot index ed3a9569..961afcc4 100644 --- a/codebundles/cmd-test/runbook.robot +++ b/codebundles/cmd-test/runbook.robot @@ -72,10 +72,6 @@ Suite Initialization ... description=The kubernetes kubeconfig yaml containing connection configuration used to connect to cluster(s). ... pattern=\w* ... example=For examples, start here https://kubernetes.io/docs/concepts/configuration/organize-cluster-access-kubeconfig/ - ${kubectl}= RW.Core.Import Service kubectl - ... description=The location service used to interpret shell commands. - ... default=kubectl-service.shared - ... example=kubectl-service.shared ${NAMESPACE}= RW.Core.Import User Variable NAMESPACE ... type=string ... description=The name of the Kubernetes namespace to scope actions and searching to. @@ -109,4 +105,3 @@ Suite Initialization IF "${RUN_LOCAL}" == "YES" ${kubectl}= Evaluate None END - Set Suite Variable ${kubectl} ${kubectl} diff --git a/codebundles/k8s-jenkins-healthcheck/runbook.robot b/codebundles/k8s-jenkins-healthcheck/runbook.robot index a7696460..402d0aed 100644 --- a/codebundles/k8s-jenkins-healthcheck/runbook.robot +++ b/codebundles/k8s-jenkins-healthcheck/runbook.robot @@ -23,10 +23,6 @@ Suite Initialization ... description=The kubernetes kubeconfig yaml containing connection configuration used to connect to cluster(s). ... pattern=\w* ... example=For examples, start here https://kubernetes.io/docs/concepts/configuration/organize-cluster-access-kubeconfig/ - ${kubectl}= RW.Core.Import Service kubectl - ... description=The location service used to interpret shell commands. - ... default=kubectl-service.shared - ... example=kubectl-service.shared ${KUBERNETES_DISTRIBUTION_BINARY}= RW.Core.Import User Variable KUBERNETES_DISTRIBUTION_BINARY ... type=string ... description=Which binary to use for Kubernetes CLI commands. @@ -62,7 +58,6 @@ Suite Initialization ... example=my-secret-token ... default= Set Suite Variable ${kubeconfig} ${kubeconfig} - Set Suite Variable ${kubectl} ${kubectl} Set Suite Variable ${KUBERNETES_DISTRIBUTION_BINARY} ${KUBERNETES_DISTRIBUTION_BINARY} Set Suite Variable ${CONTEXT} ${CONTEXT} Set Suite Variable ${NAMESPACE} ${NAMESPACE} diff --git a/codebundles/k8s-labeledpods-healthcheck/sli.robot b/codebundles/k8s-labeledpods-healthcheck/sli.robot index 9e72625e..be64894a 100644 --- a/codebundles/k8s-labeledpods-healthcheck/sli.robot +++ b/codebundles/k8s-labeledpods-healthcheck/sli.robot @@ -17,10 +17,6 @@ Suite Initialization ... description=The kubernetes kubeconfig yaml containing connection configuration used to connect to cluster(s). ... pattern=\w* ... example=For examples, start here https://kubernetes.io/docs/concepts/configuration/organize-cluster-access-kubeconfig/ - ${kubectl}= RW.Core.Import Service kubectl - ... description=The location service used to interpret shell commands. - ... default=kubectl-service.shared - ... example=kubectl-service.shared ${NAMESPACE}= RW.Core.Import User Variable NAMESPACE ... type=string ... description=The name of the Kubernetes namespace to scope actions and searching to. Supports csv list of namespaces, or ALL. @@ -43,7 +39,6 @@ Suite Initialization ... example=kubectl ... default=kubectl Set Suite Variable ${kubeconfig} ${kubeconfig} - Set Suite Variable ${kubectl} ${kubectl} Set Suite Variable ${LABELS} ${LABELS} Set Suite Variable ${CONTEXT} ${CONTEXT} Set Suite Variable ${NAMESPACE} ${NAMESPACE} diff --git a/codebundles/k8s-restart-resource/runbook.robot b/codebundles/k8s-restart-resource/runbook.robot index 8e9f412a..111364d3 100644 --- a/codebundles/k8s-restart-resource/runbook.robot +++ b/codebundles/k8s-restart-resource/runbook.robot @@ -70,10 +70,6 @@ Suite Initialization ... description=The kubernetes kubeconfig yaml containing connection configuration used to connect to cluster(s). ... pattern=\w* ... example=For examples, start here https://kubernetes.io/docs/concepts/configuration/organize-cluster-access-kubeconfig/ - ${kubectl}= RW.Core.Import Service kubectl - ... description=The location service used to interpret shell commands. - ... default=kubectl-service.shared - ... example=kubectl-service.shared ${KUBERNETES_DISTRIBUTION_BINARY}= RW.Core.Import User Variable KUBERNETES_DISTRIBUTION_BINARY ... type=string ... description=Which binary to use for Kubernetes CLI commands. @@ -96,7 +92,6 @@ Suite Initialization ... description=The kubectl label string to use for selecting the resource. ... pattern=\w* Set Suite Variable ${kubeconfig} ${kubeconfig} - Set Suite Variable ${kubectl} ${kubectl} Set Suite Variable ${KUBERNETES_DISTRIBUTION_BINARY} ${KUBERNETES_DISTRIBUTION_BINARY} Set Suite Variable ${CONTEXT} ${CONTEXT} Set Suite Variable ${NAMESPACE} ${NAMESPACE} diff --git a/codebundles/k8s-serviceaccount-check/runbook.robot b/codebundles/k8s-serviceaccount-check/runbook.robot index 90549a53..7db038c2 100644 --- a/codebundles/k8s-serviceaccount-check/runbook.robot +++ b/codebundles/k8s-serviceaccount-check/runbook.robot @@ -47,7 +47,6 @@ Suite Initialization ... example=default ... default=default Set Suite Variable ${kubeconfig} ${kubeconfig} - Set Suite Variable ${kubectl} ${kubectl} Set Suite Variable ${KUBERNETES_DISTRIBUTION_BINARY} ${KUBERNETES_DISTRIBUTION_BINARY} Set Suite Variable ${CONTEXT} ${CONTEXT} Set Suite Variable ${NAMESPACE} ${NAMESPACE}