diff --git a/roles/default/kiali-deploy/tasks/main.yml b/roles/default/kiali-deploy/tasks/main.yml index c096b853..f2ad964c 100644 --- a/roles/default/kiali-deploy/tasks/main.yml +++ b/roles/default/kiali-deploy/tasks/main.yml @@ -26,8 +26,8 @@ - name: Determine the cluster type set_fact: - is_openshift: "{{ True if 'route.openshift.io' in api_groups else False }}" - is_k8s: "{{ False if 'route.openshift.io' in api_groups else True }}" + is_openshift: "{{ True if 'operator.openshift.io' in api_groups else False }}" + is_k8s: "{{ False if 'operator.openshift.io' in api_groups else True }}" when: - is_openshift == False - is_k8s == False diff --git a/roles/v1.57/kiali-deploy/tasks/main.yml b/roles/v1.57/kiali-deploy/tasks/main.yml index 3e07815c..d04239a2 100644 --- a/roles/v1.57/kiali-deploy/tasks/main.yml +++ b/roles/v1.57/kiali-deploy/tasks/main.yml @@ -22,8 +22,8 @@ - name: Determine the cluster type set_fact: - is_openshift: "{{ True if 'route.openshift.io' in api_groups else False }}" - is_k8s: "{{ False if 'route.openshift.io' in api_groups else True }}" + is_openshift: "{{ True if 'operator.openshift.io' in api_groups else False }}" + is_k8s: "{{ False if 'operator.openshift.io' in api_groups else True }}" when: - is_openshift == False - is_k8s == False diff --git a/roles/v1.65/kiali-deploy/tasks/main.yml b/roles/v1.65/kiali-deploy/tasks/main.yml index dfb9bf2e..3fd39d73 100644 --- a/roles/v1.65/kiali-deploy/tasks/main.yml +++ b/roles/v1.65/kiali-deploy/tasks/main.yml @@ -26,8 +26,8 @@ - name: Determine the cluster type set_fact: - is_openshift: "{{ True if 'route.openshift.io' in api_groups else False }}" - is_k8s: "{{ False if 'route.openshift.io' in api_groups else True }}" + is_openshift: "{{ True if 'operator.openshift.io' in api_groups else False }}" + is_k8s: "{{ False if 'operator.openshift.io' in api_groups else True }}" when: - is_openshift == False - is_k8s == False diff --git a/roles/v1.73/kiali-deploy/tasks/main.yml b/roles/v1.73/kiali-deploy/tasks/main.yml index 25038fb2..29f25f15 100644 --- a/roles/v1.73/kiali-deploy/tasks/main.yml +++ b/roles/v1.73/kiali-deploy/tasks/main.yml @@ -26,8 +26,8 @@ - name: Determine the cluster type set_fact: - is_openshift: "{{ True if 'route.openshift.io' in api_groups else False }}" - is_k8s: "{{ False if 'route.openshift.io' in api_groups else True }}" + is_openshift: "{{ True if 'operator.openshift.io' in api_groups else False }}" + is_k8s: "{{ False if 'operator.openshift.io' in api_groups else True }}" when: - is_openshift == False - is_k8s == False diff --git a/roles/v1.89/kiali-deploy/tasks/main.yml b/roles/v1.89/kiali-deploy/tasks/main.yml index 567d57ed..61e803fc 100644 --- a/roles/v1.89/kiali-deploy/tasks/main.yml +++ b/roles/v1.89/kiali-deploy/tasks/main.yml @@ -26,8 +26,8 @@ - name: Determine the cluster type set_fact: - is_openshift: "{{ True if 'route.openshift.io' in api_groups else False }}" - is_k8s: "{{ False if 'route.openshift.io' in api_groups else True }}" + is_openshift: "{{ True if 'operator.openshift.io' in api_groups else False }}" + is_k8s: "{{ False if 'operator.openshift.io' in api_groups else True }}" when: - is_openshift == False - is_k8s == False