Webhook
Appears in
.Values.webhook
Naming scheme
$FullName-$WebhookName
(release-name-chart-name-webhook-name)
webhook
Create webhook objects
Key | webhook |
Type | map |
Required | ❌ |
Helm tpl | ❌ |
Default | {} |
Example
$name
Define a webhook object with the given name
Key | webhook.$name |
Type | map |
Required | ✅ |
Helm tpl | ❌ |
Default | {} |
Example
enabled
Enables or Disables the webhook
Key | webhook.$name.enabled |
Type | bool |
Required | ✅ |
Helm tpl | ✅ |
Default | false |
Example
namespace
Define the namespace for this object
Key | webhook.$name.namespace |
Type | string |
Required | ❌ |
Helm tpl | ✅ (On value only) |
Default | "" |
Example
labels
Additional labels for webhook
Key | webhook.$name.labels |
Type | map |
Required | ❌ |
Helm tpl | ✅ (On value only) |
Default | {} |
Example
annotations
Additional annotations for webhook
Key | webhook.$name.annotations |
Type | map |
Required | ❌ |
Helm tpl | ✅ (On value only) |
Default | {} |
Example
type
Define the type of the webhook.
Key | webhook.$name.type |
Type | string |
Required | ✅ |
Helm tpl | ✅ |
Default | "" |
Valid Values:
mutating
validating
Example
webhooks
Define the webhooks.
Key | webhook.$name.webhooks |
Type | list of map |
Required | ✅ |
Helm tpl | ❌ |
Default | [] |
Example
webhooks[].name
Define the webhook name
Key | webhook.$name.webhooks[].name |
Type | string |
Required | ✅ |
Helm tpl | ✅ |
Default | "" |
Example
webhooks[].failurePolicy
Define the failurePolicy for the webhook
Key | webhook.$name.webhooks[].failurePolicy |
Type | string |
Required | ❌ |
Helm tpl | ✅ |
Default | "" |
Valid Values:
Ignore
Fail
Example
webhooks[].matchPolicy
Define the matchPolicy for the webhook
Key | webhook.$name.webhooks[].matchPolicy |
Type | string |
Required | ❌ |
Helm tpl | ✅ |
Default | "" |
Valid Values:
Exact
Equivalent
Example
webhooks[].sideEffects
Define the sideEffects for the webhook
Key | webhook.$name.webhooks[].sideEffects |
Type | string |
Required | ❌ |
Helm tpl | ✅ |
Default | "" |
Valid Values:
None
NoneOnDryRun
Example
webhooks[].reinvocationPolicy
Define the reinvocationPolicy for the webhook
Key | webhook.$name.webhooks[].reinvocationPolicy |
Type | string |
Required | ❌ |
Helm tpl | ✅ |
Default | "" |
Valid Values:
Never
IfNeeded
Example
webhooks[].timeoutSeconds
Define the timeoutSeconds for the webhook
Key | webhook.$name.webhooks[].timeoutSeconds |
Type | int |
Required | ❌ |
Helm tpl | ✅ |
Default | "" |
Example
webhooks[].admissionReviewVersions
Define the admissionReviewVersions for the webhook
Key | webhook.$name.webhooks[].admissionReviewVersions |
Type | list of string |
Required | ✅ |
Helm tpl | ✅ |
Default | [] |
Example
webhooks[].clientConfig
Define the clientConfig for the webhook
Key | webhook.$name.webhooks[].clientConfig |
Type | map |
Required | ✅ |
Helm tpl | ❌ |
Default | {} |
webhooks[].clientConfig.caBundle
Define the caBundle in clientConfig for the webhook
Key | webhook.$name.webhooks[].clientConfig.caBundle |
Type | string |
Required | ❌ |
Helm tpl | ✅ |
Default | "" |
Example
webhooks[].clientConfig.url
Define the url in clientConfig for the webhook, required if service is not defined in clientConfig
Key | webhook.$name.webhooks[].clientConfig.url |
Type | string |
Required | ❌ |
Helm tpl | ✅ |
Default | "" |
Example
webhooks[].clientConfig.service
Define the service in clientConfig for the webhook, required if url is not defined in clientConfig
Key | webhook.$name.webhooks[].clientConfig.service |
Type | map |
Required | ❌ |
Helm tpl | ❌ |
Default | {} |
Example
webhooks[].clientConfig.service.name
Define the service name in clientConfig for the webhook
Key | webhook.$name.webhooks[].clientConfig.service.name |
Type | string |
Required | ✅ |
Helm tpl | ✅ |
Default | "" |
Example
webhooks[].clientConfig.service.namespace
Define the service namespace in clientConfig for the webhook
Key | webhook.$name.webhooks[].clientConfig.service.namespace |
Type | string |
Required | ✅ |
Helm tpl | ✅ |
Default | "" |
Example
webhooks[].clientConfig.service.path
Define the service path in clientConfig for the webhook
Key | webhook.$name.webhooks[].clientConfig.service.path |
Type | string |
Required | ❌ |
Helm tpl | ✅ |
Default | "" |
Example
webhooks[].clientConfig.service.port
Define the service port in clientConfig for the webhook
Key | webhook.$name.webhooks[].clientConfig.service.port |
Type | int |
Required | ❌ |
Helm tpl | ✅ |
Default | unset |
Example
webhooks[].rules
Define the rules for the webhook
Key | webhook.$name.webhooks[].rules |
Type | list of map |
Required | ✅ |
Helm tpl | ❌ |
Default | [] |
Example
webhooks[].rules[].scope
Define the scope of the rule for the webhook
Key | webhook.$name.webhooks[].rules[].scope |
Type | string |
Required | ❌ |
Helm tpl | ✅ |
Default | "" |
Valid Values:
Cluster
Namespaced
*
Example
webhooks[].rules[].apiGroups
Define the apiGroups of the rule for the webhook
Key | webhook.$name.webhooks[].rules[].apiGroups |
Type | list of string |
Required | ✅ |
Helm tpl | ✅ (On entries only) |
Default | [] |
Example
webhooks[].rules[].apiVersions
Define the apiVersions of the rule for the webhook
Key | webhook.$name.webhooks[].rules[].apiVersions |
Type | list of string |
Required | ✅ |
Helm tpl | ✅ (On entries only) |
Default | [] |
Example
webhooks[].rules[].operations
Define the operations of the rule for the webhook
Key | webhook.$name.webhooks[].rules[].operations |
Type | list of string |
Required | ✅ |
Helm tpl | ✅ (On entries only) |
Default | [] |
Example
webhooks[].rules[].resources
Define the resources of the rule for the webhook
Key | webhook.$name.webhooks[].rules[].resources |
Type | list of string |
Required | ✅ |
Helm tpl | ✅ (On entries only) |
Default | [] |
Example