diff options
author | Will Thames <will@thames.id.au> | 2018-06-06 05:02:26 +0200 |
---|---|---|
committer | Will Thames <will@thames.id.au> | 2018-06-06 05:02:26 +0200 |
commit | b899096f999bf9338f5bc252b83fa25efa7f0a1f (patch) | |
tree | e02d6e563e9132695e548839663ea246f7b3b4c4 /installer/roles | |
parent | Merge pull request #1912 from wenottingham/great-pexpectations (diff) | |
download | awx-b899096f999bf9338f5bc252b83fa25efa7f0a1f.tar.xz awx-b899096f999bf9338f5bc252b83fa25efa7f0a1f.zip |
Use use-context to set Kubernetes context
`kubectl config use-context` is the command to set the current context,
not `set-context`
Signed-off-by: Will Thames <will@thames.id.au>
Diffstat (limited to 'installer/roles')
-rw-r--r-- | installer/roles/kubernetes/tasks/kubernetes.yml | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/installer/roles/kubernetes/tasks/kubernetes.yml b/installer/roles/kubernetes/tasks/kubernetes.yml index 14837e824c..a11ed63272 100644 --- a/installer/roles/kubernetes/tasks/kubernetes.yml +++ b/installer/roles/kubernetes/tasks/kubernetes.yml @@ -1,5 +1,5 @@ - name: Set the Kubernetes Context - shell: "kubectl config set-context {{ kubernetes_context }}" + shell: "kubectl config use-context {{ kubernetes_context }}" - name: Get Namespace Detail shell: "kubectl get namespace {{ kubernetes_namespace }}" |