ServerSideFieldValidation
feature disabled will discard valid values specified in this param and not perform any server side field validation. Valid values are: - Ignore: ignores unknown/duplicate fields. - Warn: responds with a warning for each unknown/duplicate field, but successfully serves the request. - Strict: fails the request on unknown/duplicate fields.curl --location --request PUT '/apis/admissionregistration.k8s.io/v1/mutatingwebhookconfigurations/' \
--header 'Content-Type: text/plain' \
--data-raw ''
AdmissionReview
versions the Webhook expects. API server will try to use first version in the list which it supports. If none of the versions specified in this list supported by API server, validation will fail for this object. If a persisted webhook configuration specifies allowed versions and does not include any versions known to the API Server, calls to the webhook will fail and be subject to the failure policy.apiGroups:["apps"], apiVersions:["v1"], resources: ["deployments"]
, a request to apps/v1beta1 or extensions/v1beta1 would not be sent to the webhook.apiGroups:["apps"], apiVersions:["v1"], resources: ["deployments"]
, a request to apps/v1beta1 or extensions/v1beta1 would be converted to apps/v1 and sent to the webhook.{
"apiVersion": "string",
"kind": "string",
"metadata": {
"annotations": {
"property1": "string",
"property2": "string"
},
"clusterName": "string",
"creationTimestamp": "2019-08-24T14:15:22Z",
"deletionGracePeriodSeconds": 0,
"deletionTimestamp": "2019-08-24T14:15:22Z",
"finalizers": [
"string"
],
"generateName": "string",
"generation": 0,
"labels": {
"property1": "string",
"property2": "string"
},
"managedFields": [
{
"apiVersion": "string",
"fieldsType": "string",
"fieldsV1": {},
"manager": "string",
"operation": "string",
"subresource": "string",
"time": "2019-08-24T14:15:22Z"
}
],
"name": "string",
"namespace": "string",
"ownerReferences": [
{
"apiVersion": "string",
"blockOwnerDeletion": true,
"controller": true,
"kind": "string",
"name": "string",
"uid": "string"
}
],
"resourceVersion": "string",
"selfLink": "string",
"uid": "string"
},
"webhooks": [
{
"admissionReviewVersions": [
"string"
],
"clientConfig": {
"caBundle": "string",
"service": {
"name": "string",
"namespace": "string",
"path": "string",
"port": 0
},
"url": "string"
},
"failurePolicy": "string",
"matchPolicy": "string",
"name": "string",
"namespaceSelector": {
"matchExpressions": [
{
"key": "string",
"operator": "string",
"values": [
"string"
]
}
],
"matchLabels": {
"property1": "string",
"property2": "string"
}
},
"objectSelector": {
"matchExpressions": [
{
"key": "string",
"operator": "string",
"values": [
"string"
]
}
],
"matchLabels": {
"property1": "string",
"property2": "string"
}
},
"reinvocationPolicy": "string",
"rules": [
{
"apiGroups": [
"string"
],
"apiVersions": [
"string"
],
"operations": [
"string"
],
"resources": [
"string"
],
"scope": "string"
}
],
"sideEffects": "string",
"timeoutSeconds": 0
}
]
}