Operator ConfigMap
The ConfigMap named websphere-liberty-operator is used for configuring Liberty operator managed resources. It is created once when the operator starts and is located in the operator's installed namespace.
Note: For OCP users, the AllNamespaces install mode designates openshift-operators as the operator's installed namespace. This is a sample operator ConfigMap that would get generated when the operator is installed and running in the test-namespace namespace.
kind: ConfigMap apiVersion: v1 metadata: name: websphere-liberty-operator namespace: test-namespace data: certManagerCertDuration: 2160h operatorLogLevel: info reconcileIntervalFailureMaximum: '240' reconcileIntervalIncreasePercentage: '50' reconcileIntervalSuccessMaximum: '120' defaultHostname: '' showReconcileInterval: 'false' reconcileIntervalMinimum: '5' certManagerCACertDuration: 8766h
And here is the set of descriptions corresponding to each configurable field.
Field | Description |
---|---|
certManagerCACertDuration | The cert-manager issued CA certificate's duration before expiry in Go time.Duration string format. The default value is 8766h (1 year). To learn more about this field see Generate certificates with certificate manager. |
certManagerCertDuration | The cert-manager issued service certificate's duration before expiry in Go time.Duration string format. The default value is 2160h (90 days). To learn more about this field see Generate certificates with certificate manager. |
defaultHostname | The default hostname for the WebSphereLibertyApplication Route or Ingress URL when .spec.expose is set to true. To learn more about this field see Expose applications externally (.spec.expose, .spec.createKnativeService, .spec.route). |
operatorLogLevel | The log level for the Liberty operator. The default value is info, other options are warning, fine, finer, finest. The log level can be dynamically modified and takes effect immediately. |
reconcileIntervalMinimum | The default value of the minimum reconciliation interval in seconds is 5. The operator runs the reconciliation loop every reconciliation interval seconds for each instance. If an instance's status conditions remain unchanged, the reconciliation interval increases to reduce the reconciliation frequency. The interval increases based on the base reconciliation interval and specified increase percentage. For more information on the operator's reconciliation frequency, see Viewing operator application status. |
reconcileIntervalIncreasePercentage | When the reconciliation interval increases, the increase is calculated as a specified percentage of the current interval. The default value is 50. To disable the reconciliation interval increase, set the value to 0. |
reconcileIntervalFailureMaximum | The maximum reconciliation interval value in seconds for repeated failures in the status. The default value is 240. |
reconcileIntervalSuccessMaximum | The maximum reconciliation interval in seconds for repeated successful Reconciled and Ready status. The default value is 120. |
showReconcileInterval | The boolean parameter that determines whether reconcileInterval field is visible in the status of the WebSphereLibertyApplication CR. The default value is false. |