Skip to content

Commit

Permalink
remove kubectl svc reference (deprecated) (#392)
Browse files Browse the repository at this point in the history
  • Loading branch information
stewartshea authored Jul 8, 2024
1 parent 5316cb9 commit de7374d
Show file tree
Hide file tree
Showing 6 changed files with 0 additions and 26 deletions.
5 changes: 0 additions & 5 deletions codebundles/cli-test/runbook.robot
Original file line number Diff line number Diff line change
Expand Up @@ -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.
Expand All @@ -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 ***
Expand Down
5 changes: 0 additions & 5 deletions codebundles/cmd-test/runbook.robot
Original file line number Diff line number Diff line change
Expand Up @@ -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.
Expand Down Expand Up @@ -109,4 +105,3 @@ Suite Initialization
IF "${RUN_LOCAL}" == "YES"
${kubectl}= Evaluate None
END
Set Suite Variable ${kubectl} ${kubectl}
5 changes: 0 additions & 5 deletions codebundles/k8s-jenkins-healthcheck/runbook.robot
Original file line number Diff line number Diff line change
Expand Up @@ -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.
Expand Down Expand Up @@ -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}
Expand Down
5 changes: 0 additions & 5 deletions codebundles/k8s-labeledpods-healthcheck/sli.robot
Original file line number Diff line number Diff line change
Expand Up @@ -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.
Expand 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}
Expand Down
5 changes: 0 additions & 5 deletions codebundles/k8s-restart-resource/runbook.robot
Original file line number Diff line number Diff line change
Expand Up @@ -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.
Expand All @@ -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}
Expand Down
1 change: 0 additions & 1 deletion codebundles/k8s-serviceaccount-check/runbook.robot
Original file line number Diff line number Diff line change
Expand Up @@ -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}
Expand Down

0 comments on commit de7374d

Please sign in to comment.