CleanupPolicy defines a rule for resource cleanup.
Field | Description | ||||||||||
---|---|---|---|---|---|---|---|---|---|---|---|
apiVersion string |
kyverno.io/v2alpha1 |
||||||||||
kind string |
CleanupPolicy |
||||||||||
metadata
*
meta/v1.ObjectMeta
|
Refer to the Kubernetes API documentation for the fields of the
metadata field.
|
||||||||||
spec
*
github.com/kyverno/kyverno/api/kyverno/v2beta1.CleanupPolicySpec
|
Spec declares policy behaviors.
|
||||||||||
status
github.com/kyverno/kyverno/api/kyverno/v2beta1.CleanupPolicyStatus
|
Status contains policy runtime data. |
ClusterCleanupPolicy defines rule for resource cleanup.
Field | Description | ||||||||||
---|---|---|---|---|---|---|---|---|---|---|---|
apiVersion string |
kyverno.io/v2alpha1 |
||||||||||
kind string |
ClusterCleanupPolicy |
||||||||||
metadata
*
meta/v1.ObjectMeta
|
Refer to the Kubernetes API documentation for the fields of the
metadata field.
|
||||||||||
spec
*
github.com/kyverno/kyverno/api/kyverno/v2beta1.CleanupPolicySpec
|
Spec declares policy behaviors.
|
||||||||||
status
github.com/kyverno/kyverno/api/kyverno/v2beta1.CleanupPolicyStatus
|
Status contains policy runtime data. |
GlobalContextEntry declares resources to be cached.
Field | Description | ||||
---|---|---|---|---|---|
apiVersion string |
kyverno.io/v2alpha1 |
||||
kind string |
GlobalContextEntry |
||||
metadata
*
meta/v1.ObjectMeta
|
Refer to the Kubernetes API documentation for the fields of the
metadata field.
|
||||
spec
*
GlobalContextEntrySpec
|
Spec declares policy exception behaviors.
|
||||
status
GlobalContextEntryStatus
|
Status contains globalcontextentry runtime data. |
PolicyException declares resources to be excluded from specified policies.
Field | Description | ||||||||||
---|---|---|---|---|---|---|---|---|---|---|---|
apiVersion string |
kyverno.io/v2alpha1 |
||||||||||
kind string |
PolicyException |
||||||||||
metadata
*
meta/v1.ObjectMeta
|
Refer to the Kubernetes API documentation for the fields of the
metadata field.
|
||||||||||
spec
*
github.com/kyverno/kyverno/api/kyverno/v2beta1.PolicyExceptionSpec
|
Spec declares policy exception behaviors.
|
(Appears in: GlobalContextEntrySpec)
ExternalAPICall stores infos about API call that should be cached
Field | Description |
---|---|
APICall
*
APICall
|
(Members of |
refreshInterval
*
meta/v1.Duration
|
RefreshInterval defines the interval in duration at which to poll the APICall |
(Appears in: GlobalContextEntry)
GlobalContextEntrySpec stores policy exception spec
Field | Description |
---|---|
kubernetesResource
*
KubernetesResource
|
KubernetesResource stores infos about kubernetes resource that should be cached |
apiCall
*
ExternalAPICall
|
APICall stores infos about API call that should be cached |
(Appears in: GlobalContextEntry)
Field | Description |
---|---|
ready
*
bool
|
Deprecated in favor of Conditions |
conditions
[]meta/v1.Condition
|
(Appears in: GlobalContextEntrySpec)
KubernetesResource stores infos about kubernetes resource that should be cached
Field | Description |
---|---|
group
*
string
|
Group defines the group of the resource |
version
*
string
|
Version defines the version of the resource |
resource
*
string
|
Resource defines the type of the resource |
namespace
*
string
|
Namespace defines the namespace of the resource. Leave empty for cluster scoped resources. |