Skip to content

Commit

Permalink
Change namespace of cluster-kube-descheduler-operator to default value
Browse files Browse the repository at this point in the history
  • Loading branch information
lichtblaugue committed Aug 1, 2024
1 parent 4f2d09f commit 59556e4
Showing 1 changed file with 3 additions and 3 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -17,19 +17,19 @@ ocil_clause: "the Kube Descheduler operator is not installed"

ocil: |-
To check if the Kube Descheduler Operator is installed, run the following command:
<pre>oc get sub -n descheduler-operator cluster-kube-descheduler-operator -ojsonpath='{.status.installedCSV}'</pre>
<pre>oc get sub -n openshift-kube-descheduler-operator cluster-kube-descheduler-operator -ojsonpath='{.status.installedCSV}'</pre>
the output should return the version of the CSV that represents the installed
operator.
warnings:
- general: |-
{{{ openshift_cluster_setting("/apis/operators.coreos.com/v1alpha1/namespaces/descheduler-operator/subscriptions/cluster-kube-descheduler-operator") | indent(4) }}}
{{{ openshift_cluster_setting("/apis/operators.coreos.com/v1alpha1/namespaces/openshift-kube-descheduler-operator/subscriptions/cluster-kube-descheduler-operator") | indent(4) }}}
template:
name: yamlfile_value
vars:
ocp_data: "true"
filepath: '/apis/operators.coreos.com/v1alpha1/namespaces/descheduler-operator/subscriptions/cluster-kube-descheduler-operator'
filepath: '/apis/operators.coreos.com/v1alpha1/namespaces/openshift-kube-descheduler-operator/subscriptions/cluster-kube-descheduler-operator'
yamlpath: ".status.installedCSV"
check_existence: "only_one_exists"
values:
Expand Down

0 comments on commit 59556e4

Please sign in to comment.