Hardcode --kubeconfig and therefore only support OpenShift 3.11+

Avoid trying to parse inconsitent oc --version output
This commit is contained in:
Bill Nottingham
2020-05-29 13:41:49 -04:00
parent 38025e1926
commit 0f0e401c98
2 changed files with 1 additions and 9 deletions

View File

@@ -1,3 +1,3 @@
---
openshift_oc_config_file: "{{ kubernetes_base_path }}/.kube/config"
openshift_oc_bin: "oc {{ oc_kubeconfig_option }}={{ openshift_oc_config_file }}"
openshift_oc_bin: "oc --kubeconfig={{ openshift_oc_config_file }}"