mirror of
https://github.com/kyverno/kyverno.git
synced 2025-03-07 00:17:13 +00:00
20 lines
673 B
Go
20 lines
673 B
Go
|
package v1alpha1
|
||
|
|
||
|
// ValuesSpec declares values to be loaded by the Kyverno CLI
|
||
|
type ValuesSpec struct {
|
||
|
// GlobalValues are the global values
|
||
|
// +kubebuilder:validation:Type=object
|
||
|
// +kubebuilder:pruning:PreserveUnknownFields
|
||
|
// +kubebuilder:validation:Schemaless
|
||
|
GlobalValues map[string]interface{} `json:"globalValues,omitempty"`
|
||
|
|
||
|
// Policies are the policy values
|
||
|
Policies []Policy `json:"policies,omitempty"`
|
||
|
|
||
|
// NamespaceSelectors are the namespace labels
|
||
|
NamespaceSelectors []NamespaceSelector `json:"namespaceSelector,omitempty"`
|
||
|
|
||
|
// Subresources are the subresource/parent resource mappings
|
||
|
Subresources []Subresource `json:"subresources,omitempty"`
|
||
|
}
|