"description":"AdmissionHookClientConfig contains the information to make a TLS connection with the webhook",
"required":[
"service",
"urlPath",
"caBundle"
],
"properties":{
"caBundle":{
"description":"CABundle is a PEM encoded CA bundle which will be used to validate webhook's server certificate. Required",
"type":"string",
"format":"byte"
},
"service":{
"description":"Service is a reference to the service for this webhook. If there is only one port open for the service, that port will be used. If there are multiple ports open, port 443 will be used if it is open, otherwise it is an error. Required",
"description":"FailurePolicy defines how unrecognized errors from the admission endpoint are handled - allowed values are Ignore or Fail. Defaults to Ignore.",
"type":"string"
},
"name":{
"description":"The name of the external admission webhook. Name should be fully qualified, e.g., imagepolicy.kubernetes.io, where \"imagepolicy\" is the name of the webhook, and kubernetes.io is the name of the organization. Required.",
"type":"string"
},
"rules":{
"description":"Rules describes what operations on what resources/subresources the webhook cares about. The webhook cares about an operation if it matches _any_ Rule.",
"description":"ExternalAdmissionHookConfiguration describes the configuration of initializers.",
"properties":{
"apiVersion":{
"description":"APIVersion defines the versioned schema of this representation of an object. Servers should convert recognized schemas to the latest internal value, and may reject unrecognized values. More info: https://git.k8s.io/community/contributors/devel/api-conventions.md#resources",
"type":"string"
},
"externalAdmissionHooks":{
"description":"ExternalAdmissionHooks is a list of external admission webhooks and the affected resources and operations.",
"description":"Kind is a string value representing the REST resource this object represents. Servers may infer this from the endpoint the client submits requests to. Cannot be updated. In CamelCase. More info: https://git.k8s.io/community/contributors/devel/api-conventions.md#types-kinds",
"type":"string"
},
"metadata":{
"description":"Standard object metadata; More info: https://git.k8s.io/community/contributors/devel/api-conventions.md#metadata.",
"description":"ExternalAdmissionHookConfigurationList is a list of ExternalAdmissionHookConfiguration.",
"required":[
"items"
],
"properties":{
"apiVersion":{
"description":"APIVersion defines the versioned schema of this representation of an object. Servers should convert recognized schemas to the latest internal value, and may reject unrecognized values. More info: https://git.k8s.io/community/contributors/devel/api-conventions.md#resources",
"type":"string"
},
"items":{
"description":"List of ExternalAdmissionHookConfiguration.",
"description":"Kind is a string value representing the REST resource this object represents. Servers may infer this from the endpoint the client submits requests to. Cannot be updated. In CamelCase. More info: https://git.k8s.io/community/contributors/devel/api-conventions.md#types-kinds",
"type":"string"
},
"metadata":{
"description":"Standard list metadata. More info: https://git.k8s.io/community/contributors/devel/api-conventions.md#types-kinds",
"description":"ValidatingWebhookConfiguration describes the configuration of and admission webhook that accept or reject and object without changing it.",
"properties":{
"Webhooks":{
"description":"Webhooks is a list of webhooks and the affected resources and operations.",
"description":"APIVersion defines the versioned schema of this representation of an object. Servers should convert recognized schemas to the latest internal value, and may reject unrecognized values. More info: https://git.k8s.io/community/contributors/devel/api-conventions.md#resources",
"type":"string"
},
"kind":{
"description":"Kind is a string value representing the REST resource this object represents. Servers may infer this from the endpoint the client submits requests to. Cannot be updated. In CamelCase. More info: https://git.k8s.io/community/contributors/devel/api-conventions.md#types-kinds",
"type":"string"
},
"metadata":{
"description":"Standard object metadata; More info: https://git.k8s.io/community/contributors/devel/api-conventions.md#metadata.",
"description":"ValidatingWebhookConfigurationList is a list of ValidatingWebhookConfiguration.",
"required":[
"items"
],
"properties":{
"apiVersion":{
"description":"APIVersion defines the versioned schema of this representation of an object. Servers should convert recognized schemas to the latest internal value, and may reject unrecognized values. More info: https://git.k8s.io/community/contributors/devel/api-conventions.md#resources",
"type":"string"
},
"items":{
"description":"List of ValidatingWebhookConfiguration.",
"description":"Kind is a string value representing the REST resource this object represents. Servers may infer this from the endpoint the client submits requests to. Cannot be updated. In CamelCase. More info: https://git.k8s.io/community/contributors/devel/api-conventions.md#types-kinds",
"type":"string"
},
"metadata":{
"description":"Standard list metadata. More info: https://git.k8s.io/community/contributors/devel/api-conventions.md#types-kinds",
"description":"FailurePolicy defines how unrecognized errors from the admission endpoint are handled - allowed values are Ignore or Fail. Defaults to Ignore.",
"type":"string"
},
"name":{
"description":"The name of the admission webhook. Name should be fully qualified, e.g., imagepolicy.kubernetes.io, where \"imagepolicy\" is the name of the webhook, and kubernetes.io is the name of the organization. Required.",
"type":"string"
},
"rules":{
"description":"Rules describes what operations on what resources/subresources the webhook cares about. The webhook cares about an operation if it matches _any_ Rule.",
"description":"WebhookClientConfig contains the information to make a TLS connection with the webhook",
"required":[
"service",
"urlPath",
"caBundle"
],
"properties":{
"caBundle":{
"description":"CABundle is a PEM encoded CA bundle which will be used to validate webhook's server certificate. Required",
"type":"string",
"format":"byte"
},
"service":{
"description":"Service is a reference to the service for this webhook. If there is only one port open for the service, that port will be used. If there are multiple ports open, port 443 will be used if it is open, otherwise it is an error. Required",
"description":"URLPath is an optional field that specifies the URL path to use when posting the AdmissionReview object.",
"type":"string"
}
}
},
"io.k8s.api.apps.v1.ControllerRevision":{
"description":"ControllerRevision implements an immutable snapshot of state data. Clients are responsible for serializing and deserializing the objects that contain their internal state. Once a ControllerRevision has been successfully created, it can not be updated. The API Server will fail validation of all requests that attempt to mutate the Data field. ControllerRevisions may, however, be deleted. Note that, due to its use by both the DaemonSet and StatefulSet controllers for update and rollback, this object is beta. However, it may be subject to name and representation changes in future releases, and clients should not depend on its stability. It is primarily for internal use by controllers.",
"required":[
...
...
@@ -80926,22 +80926,6 @@
"description":"Deprecated. Please use io.k8s.api.core.v1.WeightedPodAffinityTerm instead.",
"description":"ExternalAdmissionHookConfiguration describes the configuration of initializers.",
"v1alpha1.ValidatingWebhookConfiguration":{
"id":"v1alpha1.ValidatingWebhookConfiguration",
"description":"ValidatingWebhookConfiguration describes the configuration of and admission webhook that accept or reject and object without changing it.",
"properties":{
"kind":{
"type":"string",
...
...
@@ -1483,12 +1483,12 @@
"$ref":"v1.ObjectMeta",
"description":"Standard object metadata; More info: https://git.k8s.io/community/contributors/devel/api-conventions.md#metadata."
},
"externalAdmissionHooks":{
"Webhooks":{
"type":"array",
"items":{
"$ref":"v1alpha1.ExternalAdmissionHook"
"$ref":"v1alpha1.Webhook"
},
"description":"ExternalAdmissionHooks is a list of external admission webhooks and the affected resources and operations."
"description":"Webhooks is a list of webhooks and the affected resources and operations."
}
}
},
...
...
@@ -1730,9 +1730,9 @@
}
}
},
"v1alpha1.ExternalAdmissionHook":{
"id":"v1alpha1.ExternalAdmissionHook",
"description":"ExternalAdmissionHook describes an external admission webhook and the resources and operations it applies to.",
"v1alpha1.Webhook":{
"id":"v1alpha1.Webhook",
"description":"Webhook describes an admission webhook and the resources and operations it applies to.",
"required":[
"name",
"clientConfig"
...
...
@@ -1740,10 +1740,10 @@
"properties":{
"name":{
"type":"string",
"description":"The name of the external admission webhook. Name should be fully qualified, e.g., imagepolicy.kubernetes.io, where \"imagepolicy\" is the name of the webhook, and kubernetes.io is the name of the organization. Required."
"description":"The name of the admission webhook. Name should be fully qualified, e.g., imagepolicy.kubernetes.io, where \"imagepolicy\" is the name of the webhook, and kubernetes.io is the name of the organization. Required."
},
"clientConfig":{
"$ref":"v1alpha1.AdmissionHookClientConfig",
"$ref":"v1alpha1.WebhookClientConfig",
"description":"ClientConfig defines how to communicate with the hook. Required"
},
"rules":{
...
...
@@ -1759,9 +1759,9 @@
}
}
},
"v1alpha1.AdmissionHookClientConfig":{
"id":"v1alpha1.AdmissionHookClientConfig",
"description":"AdmissionHookClientConfig contains the information to make a TLS connection with the webhook",
"v1alpha1.WebhookClientConfig":{
"id":"v1alpha1.WebhookClientConfig",
"description":"WebhookClientConfig contains the information to make a TLS connection with the webhook",
<tdclass="tableblock halign-left valign-top"><pclass="tableblock">The name of the admission webhook. Name should be fully qualified, e.g., imagepolicy.kubernetes.io, where "imagepolicy" is the name of the webhook, and kubernetes.io is the name of the organization. Required.</p></td>
<tdclass="tableblock halign-left valign-top"><pclass="tableblock">Rules describes what operations on what resources/subresources the webhook cares about. The webhook cares about an operation if it matches <em>any</em> Rule.</p></td>
<tdclass="tableblock halign-left valign-top"><pclass="tableblock">FailurePolicy defines how unrecognized errors from the admission endpoint are handled - allowed values are Ignore or Fail. Defaults to Ignore.</p></td>
<tdclass="tableblock halign-left valign-top"><pclass="tableblock">Service is a reference to the service for this webhook. If there is only one port open for the service, that port will be used. If there are multiple ports open, port 443 will be used if it is open, otherwise it is an error. Required</p></td>
<tdclass="tableblock halign-left valign-top"><pclass="tableblock">URLPath is an optional field that specifies the URL path to use when posting the AdmissionReview object.</p></td>
<tdclass="tableblock halign-left valign-top"><pclass="tableblock">CABundle is a PEM encoded CA bundle which will be used to validate webhook’s server certificate. Required</p></td>
<tdclass="tableblock halign-left valign-top"><pclass="tableblock">Service is a reference to the service for this webhook. If there is only one port open for the service, that port will be used. If there are multiple ports open, port 443 will be used if it is open, otherwise it is an error. Required</p></td>
<tdclass="tableblock halign-left valign-top"><pclass="tableblock">URLPath is an optional field that specifies the URL path to use when posting the AdmissionReview object.</p></td>
<tdclass="tableblock halign-left valign-top"><pclass="tableblock">CABundle is a PEM encoded CA bundle which will be used to validate webhook’s server certificate. Required</p></td>
<tdclass="tableblock halign-left valign-top"><pclass="tableblock">The name of the external admission webhook. Name should be fully qualified, e.g., imagepolicy.kubernetes.io, where "imagepolicy" is the name of the webhook, and kubernetes.io is the name of the organization. Required.</p></td>
<tdclass="tableblock halign-left valign-top"><pclass="tableblock">Rules describes what operations on what resources/subresources the webhook cares about. The webhook cares about an operation if it matches <em>any</em> Rule.</p></td>
<tdclass="tableblock halign-left valign-top"><pclass="tableblock">FailurePolicy defines how unrecognized errors from the admission endpoint are handled - allowed values are Ignore or Fail. Defaults to Ignore.</p></td>
<tdclass="tableblock halign-left valign-top"><pclass="tableblock">ExternalAdmissionHooks is a list of external admission webhooks and the affected resources and operations.</p></td>
<tdclass="tableblock halign-left valign-top"><pclass="tableblock">Kind is a string value representing the REST resource this object represents. Servers may infer this from the endpoint the client submits requests to. Cannot be updated. In CamelCase. More info: <ahref="https://git.k8s.io/community/contributors/devel/api-conventions.md#types-kinds">https://git.k8s.io/community/contributors/devel/api-conventions.md#types-kinds</a></p></td>
<tdclass="tableblock halign-left valign-top"><pclass="tableblock">APIVersion defines the versioned schema of this representation of an object. Servers should convert recognized schemas to the latest internal value, and may reject unrecognized values. More info: <ahref="https://git.k8s.io/community/contributors/devel/api-conventions.md#resources">https://git.k8s.io/community/contributors/devel/api-conventions.md#resources</a></p></td>
<tdclass="tableblock halign-left valign-top"><pclass="tableblock">Standard list metadata. More info: <ahref="https://git.k8s.io/community/contributors/devel/api-conventions.md#types-kinds">https://git.k8s.io/community/contributors/devel/api-conventions.md#types-kinds</a></p></td>
<p>StatusDetails is a set of additional properties that MAY be set by the server to provide additional information about a response. The Reason field of a Status object defines what attributes will be set. Clients must ignore fields that do not match the defined type of each attribute, and should assume that any attribute may be empty, invalid, or under defined.</p>
<tdclass="tableblock halign-left valign-top"><pclass="tableblock">Kind is a string value representing the REST resource this object represents. Servers may infer this from the endpoint the client submits requests to. Cannot be updated. In CamelCase. More info: <ahref="https://git.k8s.io/community/contributors/devel/api-conventions.md#types-kinds">https://git.k8s.io/community/contributors/devel/api-conventions.md#types-kinds</a></p></td>
<tdclass="tableblock halign-left valign-top"><pclass="tableblock">APIVersion defines the versioned schema of this representation of an object. Servers should convert recognized schemas to the latest internal value, and may reject unrecognized values. More info: <ahref="https://git.k8s.io/community/contributors/devel/api-conventions.md#resources">https://git.k8s.io/community/contributors/devel/api-conventions.md#resources</a></p></td>
<tdclass="tableblock halign-left valign-top"><pclass="tableblock">Standard list metadata. More info: <ahref="https://git.k8s.io/community/contributors/devel/api-conventions.md#types-kinds">https://git.k8s.io/community/contributors/devel/api-conventions.md#types-kinds</a></p></td>
<h3id="_watch_individual_changes_to_a_list_of_externaladmissionhookconfiguration">watch individual changes to a list of ExternalAdmissionHookConfiguration</h3>
<h3id="_watch_individual_changes_to_a_list_of_validatingwebhookconfiguration">watch individual changes to a list of ValidatingWebhookConfiguration</h3>
<h3id="_watch_changes_to_an_object_of_kind_externaladmissionhookconfiguration">watch changes to an object of kind ExternalAdmissionHookConfiguration</h3>
<h3id="_watch_changes_to_an_object_of_kind_validatingwebhookconfiguration">watch changes to an object of kind ValidatingWebhookConfiguration</h3>
// Convert_v1alpha1_ExternalAdmissionHookConfiguration_To_admissionregistration_ExternalAdmissionHookConfiguration is an autogenerated conversion function.
// Convert_admissionregistration_ExternalAdmissionHookConfiguration_To_v1alpha1_ExternalAdmissionHookConfiguration is an autogenerated conversion function.
// Convert_v1alpha1_ExternalAdmissionHookConfigurationList_To_admissionregistration_ExternalAdmissionHookConfigurationList is an autogenerated conversion function.
// Convert_admissionregistration_ExternalAdmissionHookConfigurationList_To_v1alpha1_ExternalAdmissionHookConfigurationList is an autogenerated conversion function.
// Convert_v1alpha1_ValidatingWebhookConfigurationList_To_admissionregistration_ValidatingWebhookConfigurationList is an autogenerated conversion function.
// Convert_admissionregistration_ValidatingWebhookConfigurationList_To_v1alpha1_ValidatingWebhookConfigurationList is an autogenerated conversion function.
// Get takes name of the externalAdmissionHookConfiguration, and returns the corresponding externalAdmissionHookConfiguration object, and an error if there is any.
// Create takes the representation of a externalAdmissionHookConfiguration and creates it. Returns the server's representation of the externalAdmissionHookConfiguration, and an error, if there is any.
// Update takes the representation of a externalAdmissionHookConfiguration and updates it. Returns the server's representation of the externalAdmissionHookConfiguration, and an error, if there is any.
// Get takes name of the externalAdmissionHookConfiguration, and returns the corresponding externalAdmissionHookConfiguration object, and an error if there is any.
// Create takes the representation of a externalAdmissionHookConfiguration and creates it. Returns the server's representation of the externalAdmissionHookConfiguration, and an error, if there is any.
// Update takes the representation of a externalAdmissionHookConfiguration and updates it. Returns the server's representation of the externalAdmissionHookConfiguration, and an error, if there is any.
// Get takes name of the validatingWebhookConfiguration, and returns the corresponding validatingWebhookConfiguration object, and an error if there is any.
// Create takes the representation of a validatingWebhookConfiguration and creates it. Returns the server's representation of the validatingWebhookConfiguration, and an error, if there is any.
// Update takes the representation of a validatingWebhookConfiguration and updates it. Returns the server's representation of the validatingWebhookConfiguration, and an error, if there is any.
// Get takes name of the validatingWebhookConfiguration, and returns the corresponding validatingWebhookConfiguration object, and an error if there is any.
// Create takes the representation of a validatingWebhookConfiguration and creates it. Returns the server's representation of the validatingWebhookConfiguration, and an error, if there is any.
// Update takes the representation of a validatingWebhookConfiguration and updates it. Returns the server's representation of the validatingWebhookConfiguration, and an error, if there is any.
"":"AdmissionHookClientConfig contains the information to make a TLS connection with the webhook",
"service":"Service is a reference to the service for this webhook. If there is only one port open for the service, that port will be used. If there are multiple ports open, port 443 will be used if it is open, otherwise it is an error. Required",
"urlPath":"URLPath is an optional field that specifies the URL path to use when posting the AdmissionReview object.",
"caBundle":"CABundle is a PEM encoded CA bundle which will be used to validate webhook's server certificate. Required",
"":"ExternalAdmissionHook describes an external admission webhook and the resources and operations it applies to.",
"name":"The name of the external admission webhook. Name should be fully qualified, e.g., imagepolicy.kubernetes.io, where \"imagepolicy\" is the name of the webhook, and kubernetes.io is the name of the organization. Required.",
"clientConfig":"ClientConfig defines how to communicate with the hook. Required",
"rules":"Rules describes what operations on what resources/subresources the webhook cares about. The webhook cares about an operation if it matches _any_ Rule.",
"failurePolicy":"FailurePolicy defines how unrecognized errors from the admission endpoint are handled - allowed values are Ignore or Fail. Defaults to Ignore.",
"":"Initializer describes the name and the failure policy of an initializer, and what resources it applies to.",
"name":"Name is the identifier of the initializer. It will be added to the object that needs to be initialized. Name should be fully qualified, e.g., alwayspullimages.kubernetes.io, where \"alwayspullimages\" is the name of the webhook, and kubernetes.io is the name of the organization. Required",
"":"Webhook describes an admission webhook and the resources and operations it applies to.",
"name":"The name of the admission webhook. Name should be fully qualified, e.g., imagepolicy.kubernetes.io, where \"imagepolicy\" is the name of the webhook, and kubernetes.io is the name of the organization. Required.",
"clientConfig":"ClientConfig defines how to communicate with the hook. Required",
"rules":"Rules describes what operations on what resources/subresources the webhook cares about. The webhook cares about an operation if it matches _any_ Rule.",
"failurePolicy":"FailurePolicy defines how unrecognized errors from the admission endpoint are handled - allowed values are Ignore or Fail. Defaults to Ignore.",
}
func(Webhook)SwaggerDoc()map[string]string{
returnmap_Webhook
}
varmap_WebhookClientConfig=map[string]string{
"":"WebhookClientConfig contains the information to make a TLS connection with the webhook",
"service":"Service is a reference to the service for this webhook. If there is only one port open for the service, that port will be used. If there are multiple ports open, port 443 will be used if it is open, otherwise it is an error. Required",
"urlPath":"URLPath is an optional field that specifies the URL path to use when posting the AdmissionReview object.",
"caBundle":"CABundle is a PEM encoded CA bundle which will be used to validate webhook's server certificate. Required",
// Get takes name of the externalAdmissionHookConfiguration, and returns the corresponding externalAdmissionHookConfiguration object, and an error if there is any.
// Create takes the representation of a externalAdmissionHookConfiguration and creates it. Returns the server's representation of the externalAdmissionHookConfiguration, and an error, if there is any.
// Update takes the representation of a externalAdmissionHookConfiguration and updates it. Returns the server's representation of the externalAdmissionHookConfiguration, and an error, if there is any.
// Get takes name of the validatingWebhookConfiguration, and returns the corresponding validatingWebhookConfiguration object, and an error if there is any.
// Create takes the representation of a validatingWebhookConfiguration and creates it. Returns the server's representation of the validatingWebhookConfiguration, and an error, if there is any.
// Update takes the representation of a validatingWebhookConfiguration and updates it. Returns the server's representation of the validatingWebhookConfiguration, and an error, if there is any.
// Get takes name of the externalAdmissionHookConfiguration, and returns the corresponding externalAdmissionHookConfiguration object, and an error if there is any.
// Get takes name of the validatingWebhookConfiguration, and returns the corresponding validatingWebhookConfiguration object, and an error if there is any.
// Create takes the representation of a externalAdmissionHookConfiguration and creates it. Returns the server's representation of the externalAdmissionHookConfiguration, and an error, if there is any.
// Create takes the representation of a validatingWebhookConfiguration and creates it. Returns the server's representation of the validatingWebhookConfiguration, and an error, if there is any.
// Update takes the representation of a externalAdmissionHookConfiguration and updates it. Returns the server's representation of the externalAdmissionHookConfiguration, and an error, if there is any.
// Update takes the representation of a validatingWebhookConfiguration and updates it. Returns the server's representation of the validatingWebhookConfiguration, and an error, if there is any.