16. ConfigMaps
The Operator stores its configuration in a number of ConfigurationMaps. These ConfigurationMaps can be used to change more advanced configurations that can not be configured in the KieApp YAML. In the case the Operator upgrades the version of your RHPAM environment, the Operator is aware that one of the ConfigMaps has changed and will make a backup of it during the upgrade.
-
In the OpenShift Console, open Workloads → Config Maps.
-
Note that the Operator keeps the current ConfigMaps, and the ones of the last 2 versions.
-
Click on the
kieconfigs-7.10.1
ConfigMap and open the YAML tab. -
Explore the configuration options.
-
Set the
initialDelaySeconds
of thelivenessProbe
of the Business Central console from 180 to 240. -
Click the Save button to save the configuration.
-
Go to "Workloads → Deployment Configs", open the
rhpam-trial-rhpamcentr
Deployment Config and open the YAML tab. -
Find the LivenessProbe
initialDelaySeconds
configuration and notice that it’s still set to 180. -
Delete the DeploymentConfig. This will have the Operator reconciliation recreate the DC.
-
Open the YAML configuation of this recreated DeploymentConfig.
-
Find the LivenessProbe
initialDelaySeconds
configuration and note that this time it has been set to 240, the value set in the ConfigMap.
17. Deleting an application
Apart from provisioning an RHPAM application, the Operator also allows us to easily delete an application.
-
Navigate to Operators → Installed Operators → Business Automation → KieApp.
-
Click on the kebab icon of the
rhpam-trial
KieApp and click Delete. -
Navigate back to Workloads → Deployment Configs and note that the RHPAM Deployment Configs have been removed.