Wolfgang Kulhanek
2019-10-09 e262805e9b43352f3e4f55db0414f6583297fc5c
Updated Kube Cred Manager Daemon Set to support cluster shutdown
1 files modified
2 ■■■ changed files
ansible/configs/ocp4-workshop/files/kubelet-bootstrap-cred-manager-ds.yaml 2 ●●● patch | view | raw | blame | history
ansible/configs/ocp4-workshop/files/kubelet-bootstrap-cred-manager-ds.yaml
@@ -32,7 +32,7 @@
              echo "Gather info..."
              echo "----------------------------------------------------------------------"
              # context
              intapi=$(oc get infrastructures.config.openshift.io cluster -o "jsonpath={.status.apiServerURL}")
              intapi=$(oc get infrastructures.config.openshift.io cluster -o "jsonpath={.status.apiServerInternalURL}")
              context="$(oc --config=/etc/kubernetes/kubeconfig config current-context)"
              # cluster
              cluster="$(oc --config=/etc/kubernetes/kubeconfig config view -o "jsonpath={.contexts[?(@.name==\"$context\")].context.cluster}")"