Disabling the readiness init containers for the OLM installer
To disable the previously enabled readiness init containers for the Che installed by the OLM installer:
Prerequisites
-
Che is installed by the OLM installer.
Procedure
-
Find the Che Operator subscription name:
$ kubectl get subscriptions -n eclipse-che
-
Get the CSV (Cluster Service Version) name from the Che Operator subscription:
$ kubectl get subscription <subscription-name> -n eclipse-che -o yaml | grep installedCSV
-
Edit the
ClusterServiceVersion
YAML manifest:$ kubectl edit csv <csv-name> -n eclipse-che
-
Remove the following environment variable from the Operator Deployment spec:
- name: ADD_COMPONENT_READINESS_INIT_CONTAINERS value: "true"
-
Wait for the Che Operator restart to finish. The restarted Operator will then continue with restarting some of its components.