Documentation ¶
Overview ¶
Package v1alpha1 contains the configuration of the Gardener Operator. +groupName=operator.gardener.cloud
Index ¶
- Constants
- Variables
- func Kind(kind string) schema.GroupKind
- func Resource(resource string) schema.GroupResource
- type Backup
- type ControlPlane
- type Credentials
- type CredentialsRotation
- type ETCD
- type ETCDEvents
- type ETCDMain
- type Garden
- type GardenList
- type GardenSpec
- type GardenStatus
- type HighAvailability
- type Maintenance
- type Provider
- type RuntimeCluster
- type SettingLoadBalancerServices
- type SettingVerticalPodAutoscaler
- type Settings
- type Storage
- type VirtualCluster
Constants ¶
const ( // SecretManagerIdentityOperator is the identity for the secret manager used inside gardener-operator. SecretManagerIdentityOperator = "gardener-operator" // SecretNameCARuntime is a constant for the name of a secret containing the CA for the garden runtime cluster. SecretNameCARuntime = "ca-garden-runtime" )
const ( // GardenReconciled is a constant for a condition type indicating that the garden has been reconciled. GardenReconciled gardencorev1beta1.ConditionType = "Reconciled" )
Variables ¶
var ( // SchemeBuilder is a new Scheme Builder which registers our API. SchemeBuilder = runtime.NewSchemeBuilder(addKnownTypes) // AddToScheme is a reference to the Scheme Builder's AddToScheme function. AddToScheme = SchemeBuilder.AddToScheme )
var AvailableOperationAnnotations = sets.New[string]( v1beta1constants.GardenerOperationReconcile, v1beta1constants.OperationRotateCAStart, v1beta1constants.OperationRotateCAComplete, v1beta1constants.OperationRotateCredentialsStart, v1beta1constants.OperationRotateCredentialsComplete, )
AvailableOperationAnnotations is the set of available operation annotations for Garden resources.
var SchemeGroupVersion = schema.GroupVersion{Group: operator.GroupName, Version: "v1alpha1"}
SchemeGroupVersion is group version used to register these objects
Functions ¶
func Resource ¶
func Resource(resource string) schema.GroupResource
Resource takes an unqualified resource and returns a Group qualified GroupResource
Types ¶
type Backup ¶ added in v1.62.0
type Backup struct { // Provider is a provider name. This field is immutable. // +kubebuilder:validation:XValidation:rule="self == oldSelf",message="Provider is immutable" Provider string `json:"provider"` // BucketName is the name of the backup bucket. // +kubebuilder:validation:XValidation:rule="self == oldSelf",message="BucketName is immutable" BucketName string `json:"bucketName"` // SecretRef is a reference to a Secret object containing the cloud provider credentials for the object store where // backups should be stored. It should have enough privileges to manipulate the objects as well as buckets. SecretRef corev1.SecretReference `json:"secretRef"` }
Backup contains the object store configuration for backups for the virtual garden etcd.
func (*Backup) DeepCopy ¶ added in v1.62.0
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new Backup.
func (*Backup) DeepCopyInto ¶ added in v1.62.0
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
type ControlPlane ¶ added in v1.63.0
type ControlPlane struct { // HighAvailability holds the configuration settings for high availability settings. // +optional HighAvailability *HighAvailability `json:"highAvailability,omitempty"` }
ControlPlane holds information about the general settings for the control plane of the virtual garden cluster.
func (*ControlPlane) DeepCopy ¶ added in v1.63.0
func (in *ControlPlane) DeepCopy() *ControlPlane
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new ControlPlane.
func (*ControlPlane) DeepCopyInto ¶ added in v1.63.0
func (in *ControlPlane) DeepCopyInto(out *ControlPlane)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
type Credentials ¶ added in v1.62.0
type Credentials struct { // Rotation contains information about the credential rotations. // +optional Rotation *CredentialsRotation `json:"rotation,omitempty"` }
Credentials contains information about the virtual garden cluster credentials.
func (*Credentials) DeepCopy ¶ added in v1.62.0
func (in *Credentials) DeepCopy() *Credentials
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new Credentials.
func (*Credentials) DeepCopyInto ¶ added in v1.62.0
func (in *Credentials) DeepCopyInto(out *Credentials)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
type CredentialsRotation ¶ added in v1.62.0
type CredentialsRotation struct { // CertificateAuthorities contains information about the certificate authority credential rotation. // +optional CertificateAuthorities *gardencorev1beta1.CARotation `json:"certificateAuthorities,omitempty"` // ServiceAccountKey contains information about the service account key credential rotation. // +optional ServiceAccountKey *gardencorev1beta1.ServiceAccountKeyRotation `json:"serviceAccountKey,omitempty"` // ETCDEncryptionKey contains information about the ETCD encryption key credential rotation. // +optional ETCDEncryptionKey *gardencorev1beta1.ETCDEncryptionKeyRotation `json:"etcdEncryptionKey,omitempty"` }
CredentialsRotation contains information about the rotation of credentials.
func (*CredentialsRotation) DeepCopy ¶ added in v1.62.0
func (in *CredentialsRotation) DeepCopy() *CredentialsRotation
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new CredentialsRotation.
func (*CredentialsRotation) DeepCopyInto ¶ added in v1.62.0
func (in *CredentialsRotation) DeepCopyInto(out *CredentialsRotation)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
type ETCD ¶ added in v1.62.0
type ETCD struct { // Main contains configuration for the main etcd. // +optional Main *ETCDMain `json:"main,omitempty"` // Events contains configuration for the events etcd. // +optional Events *ETCDEvents `json:"events,omitempty"` }
ETCD contains configuration for the etcds of the virtual garden cluster.
func (*ETCD) DeepCopy ¶ added in v1.62.0
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new ETCD.
func (*ETCD) DeepCopyInto ¶ added in v1.62.0
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
type ETCDEvents ¶ added in v1.62.0
type ETCDEvents struct { // Storage contains storage configuration. // +optional Storage *Storage `json:"storage,omitempty"` }
ETCDEvents contains configuration for the events etcd.
func (*ETCDEvents) DeepCopy ¶ added in v1.62.0
func (in *ETCDEvents) DeepCopy() *ETCDEvents
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new ETCDEvents.
func (*ETCDEvents) DeepCopyInto ¶ added in v1.62.0
func (in *ETCDEvents) DeepCopyInto(out *ETCDEvents)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
type ETCDMain ¶ added in v1.62.0
type ETCDMain struct { // Backup contains the object store configuration for backups for the virtual garden etcd. // +optional Backup *Backup `json:"backup,omitempty"` // Storage contains storage configuration. // +optional Storage *Storage `json:"storage,omitempty"` }
ETCDMain contains configuration for the main etcd.
func (*ETCDMain) DeepCopy ¶ added in v1.62.0
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new ETCDMain.
func (*ETCDMain) DeepCopyInto ¶ added in v1.62.0
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
type Garden ¶
type Garden struct { metav1.TypeMeta `json:",inline"` // Standard object metadata. metav1.ObjectMeta `json:"metadata,omitempty"` // Spec contains the specification of this garden. Spec GardenSpec `json:"spec,omitempty"` // Status contains the status of this garden. Status GardenStatus `json:"status,omitempty"` }
Garden describes a list of gardens.
func (*Garden) DeepCopy ¶
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new Garden.
func (*Garden) DeepCopyInto ¶
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
func (*Garden) DeepCopyObject ¶
DeepCopyObject is an autogenerated deepcopy function, copying the receiver, creating a new runtime.Object.
type GardenList ¶
type GardenList struct { metav1.TypeMeta `json:",inline"` // +optional metav1.ListMeta `json:"metadata,omitempty"` // Items is the list of Garden. Items []Garden `json:"items"` }
GardenList is a list of Garden resources.
func (*GardenList) DeepCopy ¶
func (in *GardenList) DeepCopy() *GardenList
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new GardenList.
func (*GardenList) DeepCopyInto ¶
func (in *GardenList) DeepCopyInto(out *GardenList)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
func (*GardenList) DeepCopyObject ¶
func (in *GardenList) DeepCopyObject() runtime.Object
DeepCopyObject is an autogenerated deepcopy function, copying the receiver, creating a new runtime.Object.
type GardenSpec ¶
type GardenSpec struct { // RuntimeCluster contains configuration for the runtime cluster. RuntimeCluster RuntimeCluster `json:"runtimeCluster"` // VirtualCluster contains configuration for the virtual cluster. VirtualCluster VirtualCluster `json:"virtualCluster"` }
GardenSpec contains the specification of a garden environment.
func (*GardenSpec) DeepCopy ¶
func (in *GardenSpec) DeepCopy() *GardenSpec
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new GardenSpec.
func (*GardenSpec) DeepCopyInto ¶
func (in *GardenSpec) DeepCopyInto(out *GardenSpec)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
type GardenStatus ¶
type GardenStatus struct { // Gardener holds information about the Gardener which last acted on the Garden. // +optional Gardener *gardencorev1beta1.Gardener `json:"gardener,omitempty"` // Conditions is a list of conditions. Conditions []gardencorev1beta1.Condition `json:"conditions,omitempty"` // ObservedGeneration is the most recent generation observed for this resource. ObservedGeneration int64 `json:"observedGeneration,omitempty"` // Credentials contains information about the virtual garden cluster credentials. // +optional Credentials *Credentials `json:"credentials,omitempty"` }
GardenStatus is the status of a garden environment.
func (*GardenStatus) DeepCopy ¶
func (in *GardenStatus) DeepCopy() *GardenStatus
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new GardenStatus.
func (*GardenStatus) DeepCopyInto ¶
func (in *GardenStatus) DeepCopyInto(out *GardenStatus)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
type HighAvailability ¶ added in v1.63.0
type HighAvailability struct{}
HighAvailability specifies the configuration settings for high availability for a resource.
func (*HighAvailability) DeepCopy ¶ added in v1.63.0
func (in *HighAvailability) DeepCopy() *HighAvailability
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new HighAvailability.
func (*HighAvailability) DeepCopyInto ¶ added in v1.63.0
func (in *HighAvailability) DeepCopyInto(out *HighAvailability)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
type Maintenance ¶ added in v1.62.0
type Maintenance struct { // TimeWindow contains information about the time window for maintenance operations. TimeWindow gardencorev1beta1.MaintenanceTimeWindow `json:"timeWindow"` }
Maintenance contains information about the time window for maintenance operations.
func (*Maintenance) DeepCopy ¶ added in v1.62.0
func (in *Maintenance) DeepCopy() *Maintenance
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new Maintenance.
func (*Maintenance) DeepCopyInto ¶ added in v1.62.0
func (in *Maintenance) DeepCopyInto(out *Maintenance)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
type Provider ¶
type Provider struct { // Zones is the list of availability zones the cluster is deployed to. // +optional Zones []string `json:"zones,omitempty"` }
Provider defines the provider-specific information for this cluster.
func (*Provider) DeepCopy ¶
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new Provider.
func (*Provider) DeepCopyInto ¶
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
type RuntimeCluster ¶
type RuntimeCluster struct { // Provider defines the provider-specific information for this cluster. Provider Provider `json:"provider"` // Settings contains certain settings for this cluster. // +optional Settings *Settings `json:"settings,omitempty"` }
RuntimeCluster contains configuration for the runtime cluster.
func (*RuntimeCluster) DeepCopy ¶
func (in *RuntimeCluster) DeepCopy() *RuntimeCluster
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new RuntimeCluster.
func (*RuntimeCluster) DeepCopyInto ¶
func (in *RuntimeCluster) DeepCopyInto(out *RuntimeCluster)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
type SettingLoadBalancerServices ¶ added in v1.63.0
type SettingLoadBalancerServices struct { // Annotations is a map of annotations that will be injected/merged into every load balancer service object. // +optional Annotations map[string]string `json:"annotations,omitempty"` }
SettingLoadBalancerServices controls certain settings for services of type load balancer that are created in the runtime cluster.
func (*SettingLoadBalancerServices) DeepCopy ¶ added in v1.63.0
func (in *SettingLoadBalancerServices) DeepCopy() *SettingLoadBalancerServices
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new SettingLoadBalancerServices.
func (*SettingLoadBalancerServices) DeepCopyInto ¶ added in v1.63.0
func (in *SettingLoadBalancerServices) DeepCopyInto(out *SettingLoadBalancerServices)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
type SettingVerticalPodAutoscaler ¶
type SettingVerticalPodAutoscaler struct { // Enabled controls whether the VPA components shall be deployed into this cluster. It is true by default because // the operator (and Gardener) heavily rely on a VPA being deployed. You should only disable this if your runtime // cluster already has another, manually/custom managed VPA deployment. If this is not the case, but you still // disable it, then reconciliation will fail. // +kubebuilder:default=true // +optional Enabled *bool `json:"enabled,omitempty"` }
SettingVerticalPodAutoscaler controls certain settings for the vertical pod autoscaler components deployed in the seed.
func (*SettingVerticalPodAutoscaler) DeepCopy ¶
func (in *SettingVerticalPodAutoscaler) DeepCopy() *SettingVerticalPodAutoscaler
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new SettingVerticalPodAutoscaler.
func (*SettingVerticalPodAutoscaler) DeepCopyInto ¶
func (in *SettingVerticalPodAutoscaler) DeepCopyInto(out *SettingVerticalPodAutoscaler)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
type Settings ¶
type Settings struct { // LoadBalancerServices controls certain settings for services of type load balancer that are created in the runtime // cluster. // +optional LoadBalancerServices *SettingLoadBalancerServices `json:"loadBalancerServices,omitempty"` // VerticalPodAutoscaler controls certain settings for the vertical pod autoscaler components deployed in the // cluster. // +optional VerticalPodAutoscaler *SettingVerticalPodAutoscaler `json:"verticalPodAutoscaler,omitempty"` }
Settings contains certain settings for this cluster.
func (*Settings) DeepCopy ¶
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new Settings.
func (*Settings) DeepCopyInto ¶
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
type Storage ¶ added in v1.62.0
type Storage struct { // Capacity is the storage capacity for the volumes. // +kubebuilder:default=`10Gi` // +optional Capacity *resource.Quantity `json:"capacity,omitempty"` // ClassName is the name of a storage class. // +optional ClassName *string `json:"className,omitempty"` }
Storage contains storage configuration.
func (*Storage) DeepCopy ¶ added in v1.62.0
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new Storage.
func (*Storage) DeepCopyInto ¶ added in v1.62.0
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
type VirtualCluster ¶ added in v1.62.0
type VirtualCluster struct { // ControlPlane holds information about the general settings for the control plane of the virtual cluster. // +optional ControlPlane *ControlPlane `json:"controlPlane,omitempty"` // ETCD contains configuration for the etcds of the virtual garden cluster. // +optional ETCD *ETCD `json:"etcd,omitempty"` // Maintenance contains information about the time window for maintenance operations. Maintenance Maintenance `json:"maintenance"` }
VirtualCluster contains configuration for the virtual cluster.
func (*VirtualCluster) DeepCopy ¶ added in v1.62.0
func (in *VirtualCluster) DeepCopy() *VirtualCluster
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new VirtualCluster.
func (*VirtualCluster) DeepCopyInto ¶ added in v1.62.0
func (in *VirtualCluster) DeepCopyInto(out *VirtualCluster)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.