We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent d619b49 commit ab589fcCopy full SHA for ab589fc
roles/shiftstack/tasks/deploy_shiftstackclient_pod.yml
@@ -14,6 +14,10 @@
14
# License for the specific language governing permissions and limitations
15
# under the License.
16
17
+- name: Switch context to admin on {{ cifmw_openshift_kubeconfig }}
18
+ ansible.builtin.command: oc config use-context admin --kubeconfig={{ cifmw_openshift_kubeconfig }}
19
+ changed_when: true
20
+
21
- name: Encode kubeconfig file to Base64
22
ansible.builtin.set_fact:
23
incluster_kubeconfig_base64: "{{ lookup('ansible.builtin.file', cifmw_openshift_kubeconfig ) | b64encode }}"
0 commit comments