HTTP server (Webhook) configuration

The following table shows descriptions of the HTTP server component configuration parameters.

Parameter name Description

spec.helmValues.ingress.enabled

Ingress enabled. The default is false.

spec.helmValues.ingress.host

(Optional) An alias/DNS that points to the service. If not specified, a route host will typically be automatically chosen. You may override this parameter and it must follow DNS952 subdomain conventions. You can run oc get ingresses.config/cluster -o jsonpath={.spec.domain} to retrieve default ingress domain. The default is nil.

spec.helmValues.webhook.uri

Probe's Webhook URI into which the target device will POST notifications. The default is /probe.

spec.helmValues.webhook.respondWithContent

Use this property to specify whether the probe includes the HTTP body received from the client HTTP request in the HTTP response. Set this property to ON to configure probe webhook to include the HTTP body. If set to OFF_WITH_HTTP_200, the probe will respond with 200 (OK) for a successful request without a body in the response. The default is OFF and the probe will respond with 204 (No Content) response code.

spec.helmValues.webhook.validateBodySyntax

Set to ON to perform a JSON format check on the HTTP request body. The default is ON.

spec.helmValues.webhook.validateRequestURI

Set to ON to enable URI path check. Setting this property to OFF disables the URI check and the webhook will accept all HTTP request regardless of the path set. The default is ON.

spec.helmValues.webhook.idleTimeout

The time (in seconds) to allow an idle HTTP client to be connected. The default is 180.

spec.helmValues.webhook.tls.enabled

Set to true to enable TLS to encrypt communications with clients and target hosts. The default is true.

spec.helmValues.webhook.tls.secretName

The pre-created secret contains custom tls.crt and tls.key to be used in the TLS communication. If unset, the probe will use default OCP service serving certificate to encrypt the communications. The default is nil.

spec.helmValues.webhook.serverBasicAuthenticationCredentialsSecretName

The pre-created secret contains serverBasicAuthenticationUsername and serverBasicAuthenticationPassword to specify the webhook (server) basic authentication username and password. The default is nil.

spec.helmValues.webhook.replicaCount

Number of deployment replicas. This config is ignored when autoscaling.enabled set to true. The default is 1.

spec.helmValues.webhook.autoscaling.enabled

Set to true to enable auto-scaling. The default is false.

spec.helmValues.webhook.autoscaling.minReplicas

Minimum number of probe replicas. The default is 1.

spec.helmValues.webhook.autoscaling.maxReplicas

Maximum number of probe replicas. The default is 3.

spec.helmValues.webhook.autoscaling.cpuUtil

The target CPU utilization (in percentage). Example: 60 for 60% target utilization. The default is 60 .