Parameters
The parent key for all of the following parameters is patch_operator
.
patch_serviceaccount
This parameter allows users to customize the default service account which is managed by the component for any patches created through the component library.
external_certificates
type |
dict |
default |
|
This parameter allows users to configure their own externally generated certificates for the patch-operator’s webhook and metrics endpoints.
Supported keys are tls.key
, tls.crt
and ca.crt
.
The component will generate secrets with type kubernetes.io/tls
and the provided keys.
If key ca.crt
is missing, the component assumes that tls.crt
is a self-signed certificate.
The certificate must be provided directly in the hierarchy, rather than as a secret reference. When field |
helm_values
type |
dict |
default |
|
The Helm values to use to render the patch-operator
helm chart.
We enable cert-manager integration for the admission webhook serving certificates by default.
If you install the component on a cluster which doesn’t have cert-manager installed, please disable this value and ensure webhook serving certificates are made available through parameter external_certificates .
|
monitoring_enabled
type |
bool |
default |
|
On OpenShift 4, the component sets label openshift.io/cluster-monitoring=true
on the namespace, so that the patch operator ServiceMonitor
object is picked up by the OpenShift 4 cluster monitoring stack.
The component generates a PrometheusRule
object with alerts as defined in alerts
.
alerts
type |
dict |
defaults | |
example |
|
alerts
defines the alerts to be installed.
The dictionary key is used as the name of the alert.
Note that alerts
is ignored if monitoring_enabled
is set to false
.
alerts.<name>.rule
type |
dict |
Holds the configuration of the alert rule.
See Prometheus Alerting Rules for details.