Documentation ¶
Overview ¶
Package v1alpha1 contains API Schema definitions for the app v1alpha1 API group +kubebuilder:object:generate=true +groupName=app.undistro.io
Index ¶
- Variables
- type Autoscaling
- type Bastion
- type ChartSource
- type Cluster
- func (in *Cluster) DeepCopy() *Cluster
- func (in *Cluster) DeepCopyInto(out *Cluster)
- func (in *Cluster) DeepCopyObject() runtime.Object
- func (r *Cluster) Default()
- func (c *Cluster) GetNamespace() string
- func (c *Cluster) GetStatusConditions() *[]metav1.Condition
- func (c Cluster) GetTemplate() string
- func (c *Cluster) GetWorkerRefByMachinePool(mpName string) (WorkerNode, error)
- func (r *Cluster) SetupWebhookWithManager(mgr ctrl.Manager) error
- func (r *Cluster) ValidateCreate() error
- func (r *Cluster) ValidateDelete() error
- func (r *Cluster) ValidateUpdate(old runtime.Object) error
- type ClusterList
- type ClusterSpec
- type ClusterStatus
- type ControlPlaneNode
- type HelmRelease
- func HelmReleaseAttempted(hr HelmRelease, revision string, releaseRevision int, valuesChecksum string) (HelmRelease, bool)
- func HelmReleaseNotReady(hr HelmRelease, reason, message string) HelmRelease
- func HelmReleaseProgressing(hr HelmRelease) HelmRelease
- func HelmReleaseReady(hr HelmRelease) HelmRelease
- func (in *HelmRelease) DeepCopy() *HelmRelease
- func (in *HelmRelease) DeepCopyInto(out *HelmRelease)
- func (in *HelmRelease) DeepCopyObject() runtime.Object
- func (r *HelmRelease) Default()
- func (hr *HelmRelease) GetNamespace() string
- func (hr *HelmRelease) GetStatusConditions() *[]metav1.Condition
- func (r *HelmRelease) SetupWebhookWithManager(mgr ctrl.Manager) error
- func (r *HelmRelease) ValidateCreate() error
- func (r *HelmRelease) ValidateDelete() error
- func (r *HelmRelease) ValidateUpdate(old runtime.Object) error
- type HelmReleaseList
- type HelmReleaseSpec
- type HelmReleaseStatus
- type InfrastructureProvider
- type LaunchTemplateReference
- type Network
- type NetworkSpec
- type Node
- type RepoChartSource
- type Rollback
- type Test
- type ValuesReference
- type WorkerNode
Constants ¶
This section is empty.
Variables ¶
var ( // GroupVersion is group version used to register these objects GroupVersion = schema.GroupVersion{Group: "app.undistro.io", Version: "v1alpha1"} // SchemeBuilder is used to add go types to the GroupVersionKind scheme SchemeBuilder = &scheme.Builder{GroupVersion: GroupVersion} // AddToScheme adds the types in this group-version to the given scheme. AddToScheme = SchemeBuilder.AddToScheme )
var InvalidMP = errors.New("invalid machinepool")
Functions ¶
This section is empty.
Types ¶
type Autoscaling ¶
type Autoscaling struct { Enabled bool `json:"enabled,omitempty"` // The minimum size of the group. MinSize int32 `json:"minSize,omitempty"` // The maximum size of the group. MaxSize int32 `json:"maxSize,omitempty"` }
func (*Autoscaling) DeepCopy ¶
func (in *Autoscaling) DeepCopy() *Autoscaling
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new Autoscaling.
func (*Autoscaling) DeepCopyInto ¶
func (in *Autoscaling) DeepCopyInto(out *Autoscaling)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
type Bastion ¶
type Bastion struct { Enabled *bool `json:"enabled,omitempty"` DisableIngressRules bool `json:"disableIngressRules,omitempty"` AllowedCIDRBlocks []string `json:"allowedCIDRBlocks,omitempty"` InstanceType string `json:"instanceType,omitempty"` }
func (*Bastion) DeepCopy ¶
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new Bastion.
func (*Bastion) DeepCopyInto ¶
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
type ChartSource ¶
type ChartSource struct { RepoChartSource `json:",inline,omitempty"` SecretRef *corev1.LocalObjectReference `json:"secretRef,omitempty"` }
func (*ChartSource) DeepCopy ¶
func (in *ChartSource) DeepCopy() *ChartSource
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new ChartSource.
func (*ChartSource) DeepCopyInto ¶
func (in *ChartSource) DeepCopyInto(out *ChartSource)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
type Cluster ¶
type Cluster struct { metav1.TypeMeta `json:",inline"` metav1.ObjectMeta `json:"metadata,omitempty"` Spec ClusterSpec `json:"spec,omitempty"` Status ClusterStatus `json:"status,omitempty"` }
Cluster is the Schema for the clusters API
func ClusterNotReady ¶
ClusterNotReady registers a failed reconciliation of the given Cluster.
func ClusterProgressing ¶
ClusterProgressing resets any failures and registers progress toward reconciling the given Cluster by setting the meta.ReadyCondition to 'Unknown' for meta.ProgressingReason.
func ClusterReady ¶
ClusterReady registers a successful reconciliation of the given Cluster.
func (*Cluster) DeepCopy ¶
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new Cluster.
func (*Cluster) DeepCopyInto ¶
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
func (*Cluster) DeepCopyObject ¶
DeepCopyObject is an autogenerated deepcopy function, copying the receiver, creating a new runtime.Object.
func (*Cluster) Default ¶
func (r *Cluster) Default()
Default implements webhook.Defaulter so a webhook will be registered for the type
func (*Cluster) GetNamespace ¶
func (*Cluster) GetStatusConditions ¶
func (Cluster) GetTemplate ¶ added in v0.18.0
func (*Cluster) GetWorkerRefByMachinePool ¶ added in v0.18.9
func (c *Cluster) GetWorkerRefByMachinePool(mpName string) (WorkerNode, error)
func (*Cluster) SetupWebhookWithManager ¶
func (*Cluster) ValidateCreate ¶
ValidateCreate implements webhook.Validator so a webhook will be registered for the type
func (*Cluster) ValidateDelete ¶
ValidateDelete implements webhook.Validator so a webhook will be registered for the type
type ClusterList ¶
type ClusterList struct { metav1.TypeMeta `json:",inline"` metav1.ListMeta `json:"metadata,omitempty"` Items []Cluster `json:"items"` }
ClusterList contains a list of Cluster
func (*ClusterList) DeepCopy ¶
func (in *ClusterList) DeepCopy() *ClusterList
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new ClusterList.
func (*ClusterList) DeepCopyInto ¶
func (in *ClusterList) DeepCopyInto(out *ClusterList)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
func (*ClusterList) DeepCopyObject ¶
func (in *ClusterList) DeepCopyObject() runtime.Object
DeepCopyObject is an autogenerated deepcopy function, copying the receiver, creating a new runtime.Object.
type ClusterSpec ¶
type ClusterSpec struct { Paused bool `json:"paused,omitempty"` Network Network `json:"network,omitempty"` InfrastructureProvider InfrastructureProvider `json:"infrastructureProvider,omitempty"` KubernetesVersion string `json:"kubernetesVersion,omitempty"` Bastion *Bastion `json:"bastion,omitempty"` ControlPlane *ControlPlaneNode `json:"controlPlane,omitempty"` Workers []WorkerNode `json:"workers,omitempty"` }
ClusterSpec defines the desired state of Cluster
func (*ClusterSpec) DeepCopy ¶
func (in *ClusterSpec) DeepCopy() *ClusterSpec
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new ClusterSpec.
func (*ClusterSpec) DeepCopyInto ¶
func (in *ClusterSpec) DeepCopyInto(out *ClusterSpec)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
type ClusterStatus ¶
type ClusterStatus struct { // ObservedGeneration is the last observed generation. ObservedGeneration int64 `json:"observedGeneration,omitempty"` // +patchMergeKey=type // +patchStrategy=merge // +listType=map // +listMapKey=type Conditions []metav1.Condition `json:"conditions,omitempty" patchStrategy:"merge" patchMergeKey:"type" protobuf:"bytes,1,rep,name=conditions"` TotalWorkerReplicas int32 `json:"totalWorkerReplicas,omitempty"` TotalWorkerPools int32 `json:"totalWorkerPools,omitempty"` BastionPublicIP string `json:"bastionPublicIP,omitempty"` LastUsedUID string `json:"lastUsedUID,omitempty"` BastionConfig *Bastion `json:"bastionConfig,omitempty"` KubernetesVersion string `json:"kubernetesVersion,omitempty"` ControlPlane ControlPlaneNode `json:"controlPlane,omitempty"` Workers []WorkerNode `json:"workers,omitempty"` }
ClusterStatus defines the observed state of Cluster
func (*ClusterStatus) DeepCopy ¶
func (in *ClusterStatus) DeepCopy() *ClusterStatus
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new ClusterStatus.
func (*ClusterStatus) DeepCopyInto ¶
func (in *ClusterStatus) DeepCopyInto(out *ClusterStatus)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
type ControlPlaneNode ¶
type ControlPlaneNode struct { Node `json:",inline,omitempty"` Endpoint capi.APIEndpoint `json:"endpoint,omitempty"` InternalLB bool `json:"internalLB,omitempty"` }
func (*ControlPlaneNode) DeepCopy ¶
func (in *ControlPlaneNode) DeepCopy() *ControlPlaneNode
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new ControlPlaneNode.
func (*ControlPlaneNode) DeepCopyInto ¶
func (in *ControlPlaneNode) DeepCopyInto(out *ControlPlaneNode)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
type HelmRelease ¶
type HelmRelease struct { metav1.TypeMeta `json:",inline"` metav1.ObjectMeta `json:"metadata,omitempty"` Spec HelmReleaseSpec `json:"spec,omitempty"` Status HelmReleaseStatus `json:"status,omitempty"` }
HelmRelease is the Schema for the helmreleases API
func HelmReleaseAttempted ¶
func HelmReleaseAttempted(hr HelmRelease, revision string, releaseRevision int, valuesChecksum string) (HelmRelease, bool)
HelmReleaseAttempted registers an attempt of the given HelmRelease with the given state. and returns the modified HelmRelease and a boolean indicating a state change.
func HelmReleaseNotReady ¶
func HelmReleaseNotReady(hr HelmRelease, reason, message string) HelmRelease
HelmReleaseNotReady registers a failed reconciliation of the given HelmRelease.
func HelmReleaseProgressing ¶
func HelmReleaseProgressing(hr HelmRelease) HelmRelease
HelmReleaseProgressing resets any failures and registers progress toward reconciling the given HelmRelease by setting the meta.ReadyCondition to 'Unknown' for meta.ProgressingReason.
func HelmReleaseReady ¶
func HelmReleaseReady(hr HelmRelease) HelmRelease
HelmReleaseReady registers a successful reconciliation of the given HelmRelease.
func (*HelmRelease) DeepCopy ¶
func (in *HelmRelease) DeepCopy() *HelmRelease
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new HelmRelease.
func (*HelmRelease) DeepCopyInto ¶
func (in *HelmRelease) DeepCopyInto(out *HelmRelease)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
func (*HelmRelease) DeepCopyObject ¶
func (in *HelmRelease) DeepCopyObject() runtime.Object
DeepCopyObject is an autogenerated deepcopy function, copying the receiver, creating a new runtime.Object.
func (*HelmRelease) Default ¶
func (r *HelmRelease) Default()
Default implements webhook.Defaulter so a webhook will be registered for the type
func (*HelmRelease) GetNamespace ¶
func (hr *HelmRelease) GetNamespace() string
func (*HelmRelease) GetStatusConditions ¶
func (hr *HelmRelease) GetStatusConditions() *[]metav1.Condition
GetStatusConditions returns a pointer to the Status.Conditions slice
func (*HelmRelease) SetupWebhookWithManager ¶
func (r *HelmRelease) SetupWebhookWithManager(mgr ctrl.Manager) error
func (*HelmRelease) ValidateCreate ¶
func (r *HelmRelease) ValidateCreate() error
ValidateCreate implements webhook.Validator so a webhook will be registered for the type
func (*HelmRelease) ValidateDelete ¶
func (r *HelmRelease) ValidateDelete() error
ValidateDelete implements webhook.Validator so a webhook will be registered for the type
func (*HelmRelease) ValidateUpdate ¶
func (r *HelmRelease) ValidateUpdate(old runtime.Object) error
ValidateUpdate implements webhook.Validator so a webhook will be registered for the type
type HelmReleaseList ¶
type HelmReleaseList struct { metav1.TypeMeta `json:",inline"` metav1.ListMeta `json:"metadata,omitempty"` Items []HelmRelease `json:"items"` }
HelmReleaseList contains a list of HelmRelease
func (*HelmReleaseList) DeepCopy ¶
func (in *HelmReleaseList) DeepCopy() *HelmReleaseList
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new HelmReleaseList.
func (*HelmReleaseList) DeepCopyInto ¶
func (in *HelmReleaseList) DeepCopyInto(out *HelmReleaseList)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
func (*HelmReleaseList) DeepCopyObject ¶
func (in *HelmReleaseList) DeepCopyObject() runtime.Object
DeepCopyObject is an autogenerated deepcopy function, copying the receiver, creating a new runtime.Object.
type HelmReleaseSpec ¶
type HelmReleaseSpec struct { Chart ChartSource `json:"chart,omitempty"` ReleaseName string `json:"releaseName,omitempty"` ClusterName string `json:"clusterName,omitempty"` MaxHistory *int `json:"maxHistory,omitempty"` // TargetNamespace overrides the targeted namespace for the Helm // release. The default namespace equals to the namespace of the // HelmRelease resource. TargetNamespace string `json:"targetNamespace,omitempty"` // Timeout is the time to wait for any individual Kubernetes // operation (like Jobs for hooks) during installation and // upgrade operations. Timeout *metav1.Duration `json:"timeout,omitempty"` // ResetValues will mark this Helm release to reset the values // to the defaults of the targeted chart before performing // an upgrade. Not explicitly setting this to `false` equals // to `true` due to the declarative nature of the operator. ResetValues *bool `json:"resetValues,omitempty"` // SkipCRDs will mark this Helm release to skip the creation // of CRDs during a Helm 3 installation. SkipCRDs bool `json:"skipCRDs,omitempty"` // Wait will mark this Helm release to wait until all Pods, // PVCs, Services, and minimum number of Pods of a Deployment, // StatefulSet, or ReplicaSet are in a ready state before marking // the release as successful. Wait *bool `json:"wait,omitempty"` // Force will mark this Helm release to `--force` upgrades. This // forces the resource updates through delete/recreate if needed. ForceUpgrade bool `json:"forceUpgrade,omitempty"` // The rollback settings for this Helm release. Rollback Rollback `json:"rollback,omitempty"` // The test settings for this Helm release. Test Test `json:"test,omitempty"` // Values holds the values for this Helm release. Values *apiextensionsv1.JSON `json:"values,omitempty"` // ValuesFrom holds references to resources containing Helm values for this HelmRelease, // and information about how they should be merged. ValuesFrom []ValuesReference `json:"valuesFrom,omitempty"` // BeforeApplyObjects holds the objects that will be applied // before this helm release installation BeforeApplyObjects []apiextensionsv1.JSON `json:"beforeApplyObjects,omitempty"` // AfterApplyObjects holds the objects that will be applied // after this helm release installation AfterApplyObjects []apiextensionsv1.JSON `json:"afterApplyObjects,omitempty"` // Dependencies holds the referencies of objects // this HelmRelease depends on Dependencies []corev1.ObjectReference `json:"dependencies,omitempty"` Paused bool `json:"paused,omitempty"` AutoUpgrade bool `json:"autoUpgrade,omitempty"` }
func (*HelmReleaseSpec) DeepCopy ¶
func (in *HelmReleaseSpec) DeepCopy() *HelmReleaseSpec
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new HelmReleaseSpec.
func (*HelmReleaseSpec) DeepCopyInto ¶
func (in *HelmReleaseSpec) DeepCopyInto(out *HelmReleaseSpec)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
type HelmReleaseStatus ¶
type HelmReleaseStatus struct { // ObservedGeneration is the last observed generation. ObservedGeneration int64 `json:"observedGeneration,omitempty"` // +patchMergeKey=type // +patchStrategy=merge // +listType=map // +listMapKey=type Conditions []metav1.Condition `json:"conditions,omitempty" patchStrategy:"merge" patchMergeKey:"type" protobuf:"bytes,1,rep,name=conditions"` // LastAppliedRevision is the revision of the last successfully applied source. LastAppliedRevision string `json:"lastAppliedRevision,omitempty"` // LastAttemptedRevision is the revision of the last reconciliation attempt. LastAttemptedRevision string `json:"lastAttemptedRevision,omitempty"` // LastAttemptedValuesChecksum is the SHA1 checksum of the values of the last // reconciliation attempt. LastAttemptedValuesChecksum string `json:"lastAttemptedValuesChecksum,omitempty"` // LastReleaseRevision is the revision of the last successful Helm release. LastReleaseRevision int `json:"lastReleaseRevision,omitempty"` // Failures is the reconciliation failure count against the latest desired // state. It is reset after a successful reconciliation. Failures int64 `json:"failures,omitempty"` // InstallFailures is the install failure count against the latest desired // state. It is reset after a successful reconciliation. InstallFailures int64 `json:"installFailures,omitempty"` // UpgradeFailures is the upgrade failure count against the latest desired // state. It is reset after a successful reconciliation. UpgradeFailures int64 `json:"upgradeFailures,omitempty"` }
HelmReleaseStatus defines the observed state of HelmRelease// HelmReleaseStatus defines the observed state of a HelmRelease.
func (*HelmReleaseStatus) DeepCopy ¶
func (in *HelmReleaseStatus) DeepCopy() *HelmReleaseStatus
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new HelmReleaseStatus.
func (*HelmReleaseStatus) DeepCopyInto ¶
func (in *HelmReleaseStatus) DeepCopyInto(out *HelmReleaseStatus)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
type InfrastructureProvider ¶
type InfrastructureProvider struct { Name string `json:"name,omitempty"` SSHKey string `json:"sshKey,omitempty"` Flavor string `json:"flavor,omitempty"` Region string `json:"region,omitempty"` Env []corev1.EnvVar `json:"env,omitempty"` }
func (*InfrastructureProvider) DeepCopy ¶
func (in *InfrastructureProvider) DeepCopy() *InfrastructureProvider
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new InfrastructureProvider.
func (*InfrastructureProvider) DeepCopyInto ¶
func (in *InfrastructureProvider) DeepCopyInto(out *InfrastructureProvider)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
func (InfrastructureProvider) Flavors ¶ added in v0.18.0
func (i InfrastructureProvider) Flavors() []string
func (InfrastructureProvider) IsManaged ¶ added in v0.18.0
func (i InfrastructureProvider) IsManaged() bool
type LaunchTemplateReference ¶ added in v0.19.3
type LaunchTemplateReference struct { // The ID of the launch template for this nodegroup ID string `json:"id,omitempty"` // The version of the launch template for this nodegroup Version string `json:"version,omitempty"` }
func (*LaunchTemplateReference) DeepCopy ¶ added in v0.19.3
func (in *LaunchTemplateReference) DeepCopy() *LaunchTemplateReference
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new LaunchTemplateReference.
func (*LaunchTemplateReference) DeepCopyInto ¶ added in v0.19.3
func (in *LaunchTemplateReference) DeepCopyInto(out *LaunchTemplateReference)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
type Network ¶
type Network struct { capi.ClusterNetwork `json:",inline"` VPC NetworkSpec `json:"vpc,omitempty"` Subnets []NetworkSpec `json:"subnets,omitempty"` MultiZone bool `json:"multiZone,omitempty"` }
func (*Network) DeepCopy ¶
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new Network.
func (*Network) DeepCopyInto ¶
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
type NetworkSpec ¶
type NetworkSpec struct { ID string `json:"id,omitempty"` CIDRBlock string `json:"cidrBlock,omitempty"` Zone string `json:"zone,omitempty"` IsPublic bool `json:"isPublic,omitempty"` }
func (*NetworkSpec) DeepCopy ¶
func (in *NetworkSpec) DeepCopy() *NetworkSpec
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new NetworkSpec.
func (*NetworkSpec) DeepCopyInto ¶
func (in *NetworkSpec) DeepCopyInto(out *NetworkSpec)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
type Node ¶
type Node struct { Replicas *int32 `json:"replicas,omitempty"` MachineType string `json:"machineType,omitempty"` Subnet string `json:"subnet,omitempty"` Taints []corev1.Taint `json:"taints,omitempty"` Labels map[string]string `json:"labels,omitempty"` ProviderTags map[string]string `json:"providerTags,omitempty"` }
func (*Node) DeepCopy ¶
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new Node.
func (*Node) DeepCopyInto ¶
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
func (Node) HasKubeletArgs ¶ added in v0.18.4
func (Node) LabelsTmpl ¶
type RepoChartSource ¶
type RepoChartSource struct { // RepoURL is the URL of the Helm repository, e.g. // `https://kubernetes-charts.storage.googleapis.com` or // `https://charts.example.com`. RepoURL string `json:"repository,omitempty"` Name string `json:"name,omitempty"` Version string `json:"version,omitempty"` }
RepoChartSources describes a Helm chart sourced from a Helm repository.
func (RepoChartSource) CleanRepoURL ¶
func (s RepoChartSource) CleanRepoURL() string
CleanRepoURL returns the RepoURL but ensures it ends with a trailing slash.
func (*RepoChartSource) DeepCopy ¶
func (in *RepoChartSource) DeepCopy() *RepoChartSource
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new RepoChartSource.
func (*RepoChartSource) DeepCopyInto ¶
func (in *RepoChartSource) DeepCopyInto(out *RepoChartSource)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
type Rollback ¶
type Rollback struct { // Force will mark this Helm release to `--force` rollbacks. This // forces the resource updates through delete/recreate if needed. Force bool `json:"force,omitempty"` // Recreate will mark this Helm release to `--recreate-pods` for // if applicable. This performs pod restarts. Recreate bool `json:"recreate,omitempty"` // DisableHooks will mark this Helm release to prevent hooks from // running during the rollback. DisableHooks bool `json:"disableHooks,omitempty"` // Timeout is the time to wait for any individual Kubernetes // operation (like Jobs for hooks) during rollback. Timeout *metav1.Duration `json:"timeout,omitempty"` // Wait will mark this Helm release to wait until all Pods, // PVCs, Services, and minimum number of Pods of a Deployment, // StatefulSet, or ReplicaSet are in a ready state before marking // the release as successful. Wait bool `json:"wait,omitempty"` }
func (*Rollback) DeepCopy ¶
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new Rollback.
func (*Rollback) DeepCopyInto ¶
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
type Test ¶
type Test struct { // Enable will mark this Helm release for tests. Enable bool `json:"enable,omitempty"` // IgnoreFailures will cause a Helm release to be rolled back // if it fails otherwise it will be left in a released state IgnoreFailures bool `json:"ignoreFailures,omitempty"` // Timeout is the time to wait for any individual Kubernetes // operation (like Jobs for hooks) during test. Timeout *metav1.Duration `json:"timeout,omitempty"` // Cleanup, when targeting Helm 2, determines whether to delete // test pods between each test run initiated by the Helm Operator. Cleanup *bool `json:"cleanup,omitempty"` }
func (*Test) DeepCopy ¶
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new Test.
func (*Test) DeepCopyInto ¶
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
type ValuesReference ¶
type ValuesReference struct { // Kind of the values referent, valid values are ('Secret', 'ConfigMap'). // +kubebuilder:validation:Enum=Secret;ConfigMap // +required Kind string `json:"kind"` // Name of the values referent. Should reside in the same namespace as the // referring resource. // +kubebuilder:validation:MinLength=1 // +kubebuilder:validation:MaxLength=253 // +required Name string `json:"name"` // ValuesKey is the data key where the values.yaml or a specific value can be // found at. Defaults to 'values.yaml'. // +optional ValuesKey string `json:"valuesKey,omitempty"` // TargetPath is the YAML dot notation path the value should be merged at. When // set, the ValuesKey is expected to be a single flat value. Defaults to 'None', // which results in the values getting merged at the root. // +optional TargetPath string `json:"targetPath,omitempty"` // Optional marks this ValuesReference as optional. When set, a not found error // for the values reference is ignored, but any ValuesKey, TargetPath or // transient error will still result in a reconciliation failure. // +optional Optional bool `json:"optional,omitempty"` }
ValuesReference contains a reference to a resource containing Helm values, and optionally the key they can be found at.
func (*ValuesReference) DeepCopy ¶
func (in *ValuesReference) DeepCopy() *ValuesReference
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new ValuesReference.
func (*ValuesReference) DeepCopyInto ¶
func (in *ValuesReference) DeepCopyInto(out *ValuesReference)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
type WorkerNode ¶
type WorkerNode struct { Node `json:",inline,omitempty"` Autoscale Autoscaling `json:"autoscaling,omitempty"` InfraNode bool `json:"infraNode,omitempty"` LaunchTemplateReference LaunchTemplateReference `json:"launchTemplateReference,omitempty"` }
func (*WorkerNode) DeepCopy ¶
func (in *WorkerNode) DeepCopy() *WorkerNode
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new WorkerNode.
func (*WorkerNode) DeepCopyInto ¶
func (in *WorkerNode) DeepCopyInto(out *WorkerNode)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.