diff --git a/.github/workflows/infra-test-kubernetes.yaml b/.github/workflows/infra-test-kubernetes.yaml index 5068a6448a3..7cb3896cf84 100644 --- a/.github/workflows/infra-test-kubernetes.yaml +++ b/.github/workflows/infra-test-kubernetes.yaml @@ -40,6 +40,7 @@ jobs: CLUSTER=`ibmcloud ks cluster get -c odo-test-kubernetes-cluster --output json ` ID=$(echo $CLUSTER | jq -r '.id') ibmcloud ks cluster config --cluster $ID --admin + pip3 install kubernetes - name: install operators uses: dawidd6/action-ansible-playbook@v2 @@ -47,5 +48,5 @@ jobs: IC_API_KEY: ${{ secrets.IC_API_KEY }} IC_REGION: 'eu-de' with: - playbook: scripts/ansible/Cluster/kubernetes-cluster/operator-kubernetes.yml + playbook: scripts/ansible/Cluster/kubernetes-cluster/operators-kubernetes.yml requirements: scripts/ansible/Cluster/kubernetes-cluster/requirements.yml \ No newline at end of file diff --git a/.github/workflows/infra-test-openshift.yaml b/.github/workflows/infra-test-openshift.yaml index c65fb644bdd..4730b1381d1 100644 --- a/.github/workflows/infra-test-openshift.yaml +++ b/.github/workflows/infra-test-openshift.yaml @@ -41,6 +41,7 @@ jobs: ID=$(echo $CLUSTER | jq -r '.id') URL=$(echo $CLUSTER| jq -r '.serviceEndpoints.publicServiceEndpointURL') ibmcloud oc cluster config --cluster $ID --admin + pip3 install kubernetes - name: install operators uses: dawidd6/action-ansible-playbook@v2 @@ -48,5 +49,5 @@ jobs: IC_API_KEY: ${{ secrets.IC_API_KEY }} IC_REGION: 'eu-de' with: - playbook: scripts/ansible/Cluster/openshift-cluster/operator-openshift.yml + playbook: scripts/ansible/Cluster/openshift-cluster/operators-openshift.yml requirements: scripts/ansible/Cluster/openshift-cluster/requirements.yml \ No newline at end of file diff --git a/.github/workflows/infra-test-windows.yaml b/.github/workflows/infra-test-windows.yaml index a3947294da1..6e546e843ec 100644 --- a/.github/workflows/infra-test-windows.yaml +++ b/.github/workflows/infra-test-windows.yaml @@ -41,6 +41,7 @@ jobs: ID=$(echo $CLUSTER | jq -r '.id') URL=$(echo $CLUSTER| jq -r '.serviceEndpoints.publicServiceEndpointURL') ibmcloud oc cluster config --cluster $ID --admin + pip3 install kubernetes - name: install operators uses: dawidd6/action-ansible-playbook@v2 @@ -48,5 +49,5 @@ jobs: IC_API_KEY: ${{ secrets.IC_API_KEY }} IC_REGION: 'eu-de' with: - playbook: scripts/ansible/Cluster/windows-openshift-cluster/operator-kubernetes.yml + playbook: scripts/ansible/Cluster/windows-openshift-cluster/operators-openshift.yml requirements: scripts/ansible/Cluster/windows-openshift-cluster/requirements.yml \ No newline at end of file diff --git a/scripts/ansible/Cluster/kubernetes-cluster/operators-kubernetes.yml b/scripts/ansible/Cluster/kubernetes-cluster/operators-kubernetes.yml index 73ea35c5d0f..3f76a68de39 100644 --- a/scripts/ansible/Cluster/kubernetes-cluster/operators-kubernetes.yml +++ b/scripts/ansible/Cluster/kubernetes-cluster/operators-kubernetes.yml @@ -2,7 +2,7 @@ - name: Install Operators on Kubernetes Cluster hosts: localhost collections: - - community.kubernetes + - kubernetes.core tasks: - name: Create a Subscription for Service Binding Operator diff --git a/scripts/ansible/Cluster/kubernetes-cluster/requirements.yml b/scripts/ansible/Cluster/kubernetes-cluster/requirements.yml index ff052f75f22..1563199700c 100644 --- a/scripts/ansible/Cluster/kubernetes-cluster/requirements.yml +++ b/scripts/ansible/Cluster/kubernetes-cluster/requirements.yml @@ -1,5 +1,5 @@ --- collections: - ibm.cloudcollection -- name: community.kubernetes +- name: kubernetes.core version: 2.0.0 diff --git a/scripts/ansible/Cluster/openshift-cluster/operators-openshift.yml b/scripts/ansible/Cluster/openshift-cluster/operators-openshift.yml index a1aaee37e04..2cd6d66a624 100644 --- a/scripts/ansible/Cluster/openshift-cluster/operators-openshift.yml +++ b/scripts/ansible/Cluster/openshift-cluster/operators-openshift.yml @@ -2,7 +2,7 @@ - name: Install Operators on Kubernetes Cluster hosts: localhost collections: - - community.kubernetes + - kubernetes.core tasks: - name: Create a Subscription for Service Binding Operator diff --git a/scripts/ansible/Cluster/openshift-cluster/requirements.yml b/scripts/ansible/Cluster/openshift-cluster/requirements.yml index ff052f75f22..1563199700c 100644 --- a/scripts/ansible/Cluster/openshift-cluster/requirements.yml +++ b/scripts/ansible/Cluster/openshift-cluster/requirements.yml @@ -1,5 +1,5 @@ --- collections: - ibm.cloudcollection -- name: community.kubernetes +- name: kubernetes.core version: 2.0.0 diff --git a/scripts/ansible/Cluster/windows-openshift-cluster/operators-openshift.yml b/scripts/ansible/Cluster/windows-openshift-cluster/operators-openshift.yml index a1aaee37e04..2cd6d66a624 100644 --- a/scripts/ansible/Cluster/windows-openshift-cluster/operators-openshift.yml +++ b/scripts/ansible/Cluster/windows-openshift-cluster/operators-openshift.yml @@ -2,7 +2,7 @@ - name: Install Operators on Kubernetes Cluster hosts: localhost collections: - - community.kubernetes + - kubernetes.core tasks: - name: Create a Subscription for Service Binding Operator diff --git a/scripts/ansible/Cluster/windows-openshift-cluster/requirements.yml b/scripts/ansible/Cluster/windows-openshift-cluster/requirements.yml index ff052f75f22..1563199700c 100644 --- a/scripts/ansible/Cluster/windows-openshift-cluster/requirements.yml +++ b/scripts/ansible/Cluster/windows-openshift-cluster/requirements.yml @@ -1,5 +1,5 @@ --- collections: - ibm.cloudcollection -- name: community.kubernetes +- name: kubernetes.core version: 2.0.0