|
Dieses Dokument wurde mithilfe automatisierter maschineller Übersetzungstechnologie übersetzt. Wir bemühen uns um korrekte Übersetzungen, übernehmen jedoch keine Gewähr für die Vollständigkeit, Richtigkeit oder Zuverlässigkeit der übersetzten Inhalte. Im Falle von Abweichungen ist die englische Originalversion maßgebend und stellt den verbindlichen Text dar. |
|
Dies ist eine unveröffentlichte Dokumentation für Admission Controller 1.34-dev. |
Benutzerdefinierte Ressourcenbeschreibungen (CRD)
Sie finden die Definitionen für die SUSE Security Admission Controller benutzerdefinierte Ressourcen sowohl auf dieser Seite als auch hier bei docs.crds.dev.
API Reference
policies.kubewarden.io/v1
Package v1 contains API Schema definitions for the policies v1 API group
AdmissionPolicy
AdmissionPolicy is the Schema for the admissionpolicies API
| Field | Description | Default | Validation |
|---|---|---|---|
|
|
||
|
|
||
|
Refer to Kubernetes API documentation for fields of |
||
|
AdmissionPolicyGroup
AdmissionPolicyGroup is the Schema for the AdmissionPolicyGroups API
| Field | Description | Default | Validation |
|---|---|---|---|
|
|
||
|
|
||
|
Refer to Kubernetes API documentation for fields of |
||
AdmissionPolicyGroupList
AdmissionPolicyGroupList contains a list of AdmissionPolicyGroup.
| Field | Description | Default | Validation |
|---|---|---|---|
|
|
||
|
|
||
|
Refer to Kubernetes API documentation for fields of |
||
|
AdmissionPolicyGroupSpec
AdmissionPolicyGroupSpec defines the desired state of AdmissionPolicyGroup.
| Field | Description | Default | Validation |
|---|---|---|---|
|
AdmissionPolicyList
AdmissionPolicyList contains a list of AdmissionPolicy.
| Field | Description | Default | Validation |
|---|---|---|---|
|
|
||
|
|
||
|
Refer to Kubernetes API documentation for fields of |
||
|
AdmissionPolicySpec
AdmissionPolicySpec defines the desired state of AdmissionPolicy.
| Field | Description | Default | Validation |
|---|---|---|---|
|
ClusterAdmissionPolicy
ClusterAdmissionPolicy is the Schema for the clusteradmissionpolicies API
| Field | Description | Default | Validation |
|---|---|---|---|
|
|
||
|
|
||
|
Refer to Kubernetes API documentation for fields of |
||
ClusterAdmissionPolicyGroup
ClusterAdmissionPolicyGroup is the Schema for the clusteradmissionpolicies API
| Field | Description | Default | Validation |
|---|---|---|---|
|
|
||
|
|
||
|
Refer to Kubernetes API documentation for fields of |
||
ClusterAdmissionPolicyGroupList
ClusterAdmissionPolicyGroupList contains a list of ClusterAdmissionPolicyGroup
| Field | Description | Default | Validation |
|---|---|---|---|
|
|
||
|
|
||
|
Refer to Kubernetes API documentation for fields of |
||
|
ClusterAdmissionPolicyGroupSpec
ClusterAdmissionPolicyGroupSpec defines the desired state of ClusterAdmissionPolicyGroup.
| Field | Description | Default | Validation |
|---|---|---|---|
|
|||
|
NamespaceSelector decides whether to run the webhook on an object based |
Optional: \{} |
|
|
AllowInsideAdmissionControllerNamespace controls whether the policy should also be |
Optional: \{} |
ClusterAdmissionPolicyList
ClusterAdmissionPolicyList contains a list of ClusterAdmissionPolicy
| Field | Description | Default | Validation |
|---|---|---|---|
|
|
||
|
|
||
|
Refer to Kubernetes API documentation for fields of |
||
|
ClusterAdmissionPolicySpec
ClusterAdmissionPolicySpec defines the desired state of ClusterAdmissionPolicy.
| Field | Description | Default | Validation |
|---|---|---|---|
|
|||
|
NamespaceSelector decides whether to run the webhook on an object based |
Optional: \{} |
|
|
List of Kubernetes resources the policy is allowed to access at evaluation time. |
Optional: \{} |
|
|
AllowInsideAdmissionControllerNamespace controls whether the policy should also be |
Optional: \{} |
ClusterPolicyGroupSpec
| Field | Description | Default | Validation |
|---|---|---|---|
|
|||
|
Policies is a list of policies that are part of the group that will |
Required: \{} |
ContextAwareResource
ContextAwareResource identifies a Kubernetes resource.
| Field | Description | Default | Validation |
|---|---|---|---|
|
apiVersion of the resource (v1 for core group, groupName/groupVersions for other). |
||
|
Singular PascalCase name of the resource |
GroupSpec
| Field | Description | Default | Validation |
|---|---|---|---|
|
PolicyServer identifies an existing PolicyServer resource. |
default |
Optional: \{} |
|
Mode defines the execution mode of this policy. Can be set to |
protect |
Enum: [protect monitor] |
|
Rules describes what operations on what resources/subresources the webhook cares about. |
||
|
FailurePolicy defines how unrecognized errors and timeout errors from the |
Optional: \{} |
|
|
BackgroundAudit indicates whether a policy should be used or skipped when |
true |
Optional: \{} |
|
matchPolicy defines how the "rules" list is used to match incoming requests. include(listMatchPolicyExactEquiv.FORMAT) Defaults to "Equivalent" |
Optional: \{} |
|
|
MatchConditions are a list of conditions that must be met for a request to be |
Optional: \{} |
|
|
ObjectSelector decides whether to run the webhook based on if the |
Optional: \{} |
|
|
SideEffects states whether this webhook has side effects. |
||
|
TimeoutSeconds specifies the timeout for this webhook. After the timeout passes, |
10 |
Maximum: 30 |
|
Expression is the evaluation expression to accept or reject the |
Required: \{} |
|
|
Message is used to specify the message that will be returned when |
Required: \{} |
PolicyGroupMember
| Field | Description | Default | Validation |
|---|---|---|---|
|
Module is the location of the WASM module to be loaded. Can be a |
Required: \{} |
|
|
Settings is a free-form object that contains the policy configuration |
Optional: \{} |
|
|
TimeoutEvalSeconds specifies the timeout for the policy evaluation. After |
Maximum: 30 |
PolicyGroupMemberWithContext
| Field | Description | Default | Validation |
|---|---|---|---|
|
|||
|
List of Kubernetes resources the policy is allowed to access at evaluation time. |
Optional: \{} |
PolicyGroupMembers
Underlying type: map[string]PolicyGroupMember
PolicyGroupMembersWithContext
Underlying type: map[string]PolicyGroupMemberWithContext
PolicyGroupSpec
| Field | Description | Default | Validation |
|---|---|---|---|
|
|||
|
Policies is a list of policies that are part of the group that will |
Required: \{} |
PolicyServer
PolicyServer is the Schema for the policyservers API.
| Field | Description | Default | Validation |
|---|---|---|---|
|
|
||
|
|
||
|
Refer to Kubernetes API documentation for fields of |
||
|
PolicyServerList
PolicyServerList contains a list of PolicyServer.
| Field | Description | Default | Validation |
|---|---|---|---|
|
|
||
|
|
||
|
Refer to Kubernetes API documentation for fields of |
||
|
PolicyServerSecurity
PolicyServerSecurity defines securityContext configuration to be used in the Policy Server workload.
| Field | Description | Default | Validation |
|---|---|---|---|
|
securityContext definition to be used in the policy server container |
Optional: \{} |
|
podSecurityContext definition to be used in the policy server Pod |
Optional: \{} |
PolicyServerSpec
PolicyServerSpec defines the desired state of PolicyServer.
| Field | Description | Default | Validation |
|---|---|---|---|
|
Docker image name. |
||
|
Replicas is the number of desired replicas. |
||
|
Number of policy server replicas that must be still available after the |
||
|
Number of policy server replicas that can be unavailable after the |
||
|
Annotations is an unstructured key value map stored with a resource that may be |
Optional: \{} |
|
|
List of environment variables to set in the container. |
Optional: \{} |
|
|
Name of the service account associated with the policy server. |
Optional: \{} |
|
|
Name of ImagePullSecret secret in the same namespace, used for pulling |
Optional: \{} |
|
|
List of insecure URIs to policy repositories. The |
Optional: \{} |
|
|
Key value map of registry URIs endpoints to a list of their associated |
Optional: \{} |
|
|
Name of VerificationConfig configmap in the kubewarden namespace (same |
Optional: \{} |
|
|
Name of SigstoreTrustConfig configmap in the kubewarden namespace (same |
Optional: \{} |
|
|
Security configuration to be used in the Policy Server workload. |
Optional: \{} |
|
|
Affinity rules for the associated Policy Server pods. |
Optional: \{} |
|
|
Limits describes the maximum amount of compute resources allowed. |
Optional: \{} |
|
|
Requests describes the minimum amount of compute resources required. |
Optional: \{} |
|
|
Tolerations describe the policy server pod’s tolerations. It can be |
||
|
PriorityClassName is the name of the PriorityClass to be used for the |
Optional: \{} |
PolicySpec
| Field | Description | Default | Validation |
|---|---|---|---|
|
PolicyServer identifies an existing PolicyServer resource. |
default |
Optional: \{} |
|
Mode defines the execution mode of this policy. Can be set to |
protect |
Enum: [protect monitor] |
|
Module is the location of the WASM module to be loaded. Can be a |
Required: \{} |
|
|
Settings is a free-form object that contains the policy configuration |
Optional: \{} |
|
|
Rules describes what operations on what resources/subresources the webhook cares about. |
||
|
FailurePolicy defines how unrecognized errors and timeout errors from the |
Optional: \{} |
|
|
Mutating indicates whether a policy has the ability to mutate |
||
|
BackgroundAudit indicates whether a policy should be used or skipped when |
true |
Optional: \{} |
|
matchPolicy defines how the "rules" list is used to match incoming requests. include(listMatchPolicyExactEquiv.FORMAT) Defaults to "Equivalent" |
Optional: \{} |
|
|
MatchConditions are a list of conditions that must be met for a request to be |
Optional: \{} |
|
|
ObjectSelector decides whether to run the webhook based on if the |
Optional: \{} |
|
|
SideEffects states whether this webhook has side effects. |
||
|
TimeoutSeconds specifies the timeout for the policy webhook. After the timeout passes, |
10 |
Maximum: 30 |
|
TimeoutEvalSeconds specifies the timeout for the policy evaluation. After |
Maximum: 30 |
|
|
Message overrides the rejection message of the policy. |
Optional: \{} |
policies.kubewarden.io/v1alpha2
Package v1alpha2 contains API Schema definitions for the policies v1alpha2 API group
AdmissionPolicy
AdmissionPolicy is the Schema for the admissionpolicies API
| Field | Description | Default | Validation |
|---|---|---|---|
|
|
||
|
|
||
|
Refer to Kubernetes API documentation for fields of |
||
|
AdmissionPolicyList
AdmissionPolicyList contains a list of AdmissionPolicy.
| Field | Description | Default | Validation |
|---|---|---|---|
|
|
||
|
|
||
|
Refer to Kubernetes API documentation for fields of |
||
|
AdmissionPolicySpec
AdmissionPolicySpec defines the desired state of AdmissionPolicy.
| Field | Description | Default | Validation |
|---|---|---|---|
|
ClusterAdmissionPolicy
ClusterAdmissionPolicy is the Schema for the clusteradmissionpolicies API
| Field | Description | Default | Validation |
|---|---|---|---|
|
|
||
|
|
||
|
Refer to Kubernetes API documentation for fields of |
||
ClusterAdmissionPolicyList
ClusterAdmissionPolicyList contains a list of ClusterAdmissionPolicy
| Field | Description | Default | Validation |
|---|---|---|---|
|
|
||
|
|
||
|
Refer to Kubernetes API documentation for fields of |
||
|
ClusterAdmissionPolicySpec
ClusterAdmissionPolicySpec defines the desired state of ClusterAdmissionPolicy.
| Field | Description | Default | Validation |
|---|---|---|---|
|
|||
|
NamespaceSelector decides whether to run the webhook on an object based For example, to run the webhook on any objects whose namespace is not include(exampleNameSpaceSelector_1.FORMAT) If instead you want to only run the webhook on any objects whose include(exampleNameSpaceSelector_2.FORMAT) See Default to the empty LabelSelector, which matches everything. |
Optional: \{} |
PolicyServer
PolicyServer is the Schema for the policyservers API.
| Field | Description | Default | Validation |
|---|---|---|---|
|
|
||
|
|
||
|
Refer to Kubernetes API documentation for fields of |
||
|
PolicyServerList
PolicyServerList contains a list of PolicyServer.
| Field | Description | Default | Validation |
|---|---|---|---|
|
|
||
|
|
||
|
Refer to Kubernetes API documentation for fields of |
||
|
PolicyServerSpec
PolicyServerSpec defines the desired state of PolicyServer.
| Field | Description | Default | Validation |
|---|---|---|---|
|
Docker image name. |
||
|
Replicas is the number of desired replicas. |
||
|
Annotations is an unstructured key value map stored with a resource that may be |
Optional: \{} |
|
|
List of environment variables to set in the container. |
Optional: \{} |
|
|
Name of the service account associated with the policy server. |
Optional: \{} |
|
|
Name of ImagePullSecret secret in the same namespace, used for pulling |
Optional: \{} |
|
|
List of insecure URIs to policy repositories. The |
Optional: \{} |
|
|
Key value map of registry URIs endpoints to a list of their associated |
Optional: \{} |
|
|
Name of VerificationConfig configmap in the same namespace, containing |
Optional: \{} |
PolicySpec
| Field | Description | Default | Validation |
|---|---|---|---|
|
PolicyServer identifies an existing PolicyServer resource. |
default |
Optional: \{} |
|
Module is the location of the WASM module to be loaded. Can be a |
Required: \{} |
|
|
Mode defines the execution mode of this policy. Can be set to |
protect |
Enum: [protect monitor] |
|
Settings is a free-form object that contains the policy configuration |
Optional: \{} |
|
|
Rules describes what operations on what resources/subresources the webhook cares about. |
||
|
FailurePolicy defines how unrecognized errors and timeout errors from the |
Optional: \{} |
|
|
Mutating indicates whether a policy has the ability to mutate |
||
|
matchPolicy defines how the "rules" list is used to match incoming requests. include(listMatchPolicyExactEquiv.FORMAT) Defaults to "Equivalent" |
Optional: \{} |
|
|
ObjectSelector decides whether to run the webhook based on if the |
Optional: \{} |
|
|
SideEffects states whether this webhook has side effects. |
||
|
TimeoutSeconds specifies the timeout for this webhook. After the timeout passes, |
10 |
Optional: \{} |