Documentation ¶
Overview ¶
Package v1alpha1 contains API Schema definitions for the addons v1alpha1 API group +kubebuilder:object:generate=true +groupName=addons.cluster.x-k8s.io
Index ¶
- Constants
- Variables
- type Credentials
- type HelmChartProxy
- func (in *HelmChartProxy) DeepCopy() *HelmChartProxy
- func (in *HelmChartProxy) DeepCopyInto(out *HelmChartProxy)
- func (in *HelmChartProxy) DeepCopyObject() runtime.Object
- func (p *HelmChartProxy) Default()
- func (c *HelmChartProxy) GetConditions() clusterv1.Conditions
- func (c *HelmChartProxy) SetConditions(conditions clusterv1.Conditions)
- func (c *HelmChartProxy) SetMatchingClusters(clusterList []clusterv1.Cluster)
- func (r *HelmChartProxy) SetupWebhookWithManager(mgr ctrl.Manager) error
- func (r *HelmChartProxy) ValidateCreate() (admission.Warnings, error)
- func (r *HelmChartProxy) ValidateDelete() (admission.Warnings, error)
- func (r *HelmChartProxy) ValidateUpdate(old runtime.Object) (admission.Warnings, error)
- type HelmChartProxyList
- type HelmChartProxySpec
- type HelmChartProxyStatus
- type HelmInstallOptions
- type HelmOptions
- type HelmReleaseProxy
- func (in *HelmReleaseProxy) DeepCopy() *HelmReleaseProxy
- func (in *HelmReleaseProxy) DeepCopyInto(out *HelmReleaseProxy)
- func (in *HelmReleaseProxy) DeepCopyObject() runtime.Object
- func (p *HelmReleaseProxy) Default()
- func (r *HelmReleaseProxy) GetConditions() clusterv1.Conditions
- func (r *HelmReleaseProxy) SetConditions(conditions clusterv1.Conditions)
- func (r *HelmReleaseProxy) SetReleaseName(name string)
- func (r *HelmReleaseProxy) SetReleaseRevision(version int)
- func (r *HelmReleaseProxy) SetReleaseStatus(status string)
- func (r *HelmReleaseProxy) SetupWebhookWithManager(mgr ctrl.Manager) error
- func (r *HelmReleaseProxy) ValidateCreate() (admission.Warnings, error)
- func (r *HelmReleaseProxy) ValidateDelete() (admission.Warnings, error)
- func (r *HelmReleaseProxy) ValidateUpdate(oldRaw runtime.Object) (admission.Warnings, error)
- type HelmReleaseProxyList
- type HelmReleaseProxySpec
- type HelmReleaseProxyStatus
- type HelmUninstallOptions
- type HelmUpgradeOptions
- type TLSConfig
Constants ¶
const ( // HelmReleaseProxySpecsUpToDateCondition indicates that the HelmReleaseProxy specs are up to date with the HelmChartProxy specs, // meaning that the HelmReleaseProxies are created/updated, value template parsing succeeded, and the orphaned HelmReleaseProxies are deleted. HelmReleaseProxySpecsUpToDateCondition clusterv1.ConditionType = "HelmReleaseProxySpecsUpToDate" // HelmReleaseProxySpecsUpdatingReason indicates that the HelmReleaseProxy entity is not yet updated by the corresponding controller. HelmReleaseProxySpecsUpdatingReason = "HelmReleaseProxySpecsUpdating" // HelmReleaseProxyCreationFailedReason indicates that the HelmChartProxy controller failed to create a HelmReleaseProxy. HelmReleaseProxyCreationFailedReason = "HelmReleaseProxyCreationFailed" // HelmReleaseProxyDeletionFailedReason indicates that the HelmChartProxy controller failed to delete a HelmReleaseProxy. HelmReleaseProxyDeletionFailedReason = "HelmReleaseProxyDeletionFailed" // HelmReleaseProxyReinstallingReason indicates that the HelmChartProxy controller is reinstalling a HelmReleaseProxy. HelmReleaseProxyReinstallingReason = "HelmReleaseProxyReinstalling" // ValueParsingFailedReason indicates that the HelmChartProxy controller failed to parse the values. ValueParsingFailedReason = "ValueParsingFailed" // ClusterSelectionFailedReason indicates that the HelmChartProxy controller failed to select the workload Clusters. ClusterSelectionFailedReason = "ClusterSelectionFailed" // HelmReleaseProxiesReadyCondition indicates that the HelmReleaseProxies are ready, meaning that the Helm installation, upgrade // or deletion is complete. HelmReleaseProxiesReadyCondition clusterv1.ConditionType = "HelmReleaseProxiesReady" )
HelmChartProxy Conditions and Reasons.
const ( // HelmReleaseReadyCondition indicates the current status of the underlying Helm release managed by the HelmReleaseProxy. HelmReleaseReadyCondition clusterv1.ConditionType = "HelmReleaseReady" // PreparingToHelmInstallReason indicates that the HelmReleaseProxy is preparing to install the Helm release. PreparingToHelmInstallReason = "PreparingToHelmInstall" // HelmReleasePendingReason indicates that the HelmReleaseProxy is pending either install, upgrade, or rollback. HelmReleasePendingReason = "HelmReleasePending" // HelmInstallOrUpgradeFailedReason indicates that the HelmReleaseProxy failed to install or upgrade the Helm release. HelmInstallOrUpgradeFailedReason = "HelmInstallOrUpgradeFailed" // HelmReleaseDeletionFailedReason is indicates that the HelmReleaseProxy failed to delete the Helm release. HelmReleaseDeletionFailedReason = "HelmReleaseDeletionFailed" // HelmReleaseDeletedReason indicates that the HelmReleaseProxy deleted the Helm release. HelmReleaseDeletedReason = "HelmReleaseDeleted" // HelmReleaseGetFailedReason indicates that the HelmReleaseProxy failed to get the Helm release. HelmReleaseGetFailedReason = "HelmReleaseGetFailed" // ClusterAvailableCondition indicates that the Cluster to install the Helm release on is available. ClusterAvailableCondition clusterv1.ConditionType = "ClusterAvailable" // GetClusterFailedReason indicates that the HelmReleaseProxy failed to get the Cluster. GetClusterFailedReason = "GetClusterFailed" // GetKubeconfigFailedReason indicates that the HelmReleaseProxy failed to get the kubeconfig for the Cluster. GetKubeconfigFailedReason = "GetKubeconfigFailed" // GetCredentialsFailedReason indicates that the HelmReleaseProxy failed to get the credentials for the Helm registry. GetCredentialsFailedReason = "GetCredentialsFailed" // GetCACertificateFailedReason indicates that the HelmReleaseProxy failed to get the CA certiicate for the Helm registry. GetCACertificateFailedReason = "GetCACertificateFailed" )
HelmReleaseProxy Conditions and Reasons.
const ( // HelmChartProxyFinalizer is the finalizer used by the HelmChartProxy controller to cleanup add-on resources when // a HelmChartProxy is being deleted. HelmChartProxyFinalizer = "helmchartproxy.addons.cluster.x-k8s.io" // DefaultOCIKey is the default file name of the OCI secret key. DefaultOCIKey = "config.json" )
const ( // HelmReleaseProxyFinalizer is the finalizer used by the HelmReleaseProxy controller to cleanup add-on resources when // a HelmReleaseProxy is being deleted. HelmReleaseProxyFinalizer = "helmreleaseproxy.addons.cluster.x-k8s.io" // HelmChartProxyLabelName is the label signifying which HelmChartProxy a HelmReleaseProxy is associated with. HelmChartProxyLabelName = "helmreleaseproxy.addons.cluster.x-k8s.io/helmchartproxy-name" // IsReleaseNameGeneratedAnnotation is the annotation signifying the Helm release name is auto-generated. IsReleaseNameGeneratedAnnotation = "helmreleaseproxy.addons.cluster.x-k8s.io/is-release-name-generated" )
Variables ¶
var ( // GroupVersion is group version used to register these objects. GroupVersion = schema.GroupVersion{Group: "addons.cluster.x-k8s.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 )
Functions ¶
This section is empty.
Types ¶
type Credentials ¶
type Credentials struct { // Secret is a reference to a Secret containing the OCI credentials. Secret corev1.SecretReference `json:"secret"` // Key is the key in the Secret containing the OCI credentials. Key string `json:"key"` }
func (*Credentials) DeepCopy ¶
func (in *Credentials) DeepCopy() *Credentials
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new Credentials.
func (*Credentials) DeepCopyInto ¶
func (in *Credentials) DeepCopyInto(out *Credentials)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
type HelmChartProxy ¶
type HelmChartProxy struct { metav1.TypeMeta `json:",inline"` metav1.ObjectMeta `json:"metadata,omitempty"` Spec HelmChartProxySpec `json:"spec,omitempty"` Status HelmChartProxyStatus `json:"status,omitempty"` }
HelmChartProxy is the Schema for the helmchartproxies API.
func (*HelmChartProxy) DeepCopy ¶
func (in *HelmChartProxy) DeepCopy() *HelmChartProxy
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new HelmChartProxy.
func (*HelmChartProxy) DeepCopyInto ¶
func (in *HelmChartProxy) DeepCopyInto(out *HelmChartProxy)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
func (*HelmChartProxy) DeepCopyObject ¶
func (in *HelmChartProxy) DeepCopyObject() runtime.Object
DeepCopyObject is an autogenerated deepcopy function, copying the receiver, creating a new runtime.Object.
func (*HelmChartProxy) Default ¶
func (p *HelmChartProxy) Default()
Default implements webhook.Defaulter so a webhook will be registered for the type.
func (*HelmChartProxy) GetConditions ¶
func (c *HelmChartProxy) GetConditions() clusterv1.Conditions
GetConditions returns the list of conditions for an HelmChartProxy API object.
func (*HelmChartProxy) SetConditions ¶
func (c *HelmChartProxy) SetConditions(conditions clusterv1.Conditions)
SetConditions will set the given conditions on an HelmChartProxy object.
func (*HelmChartProxy) SetMatchingClusters ¶
func (c *HelmChartProxy) SetMatchingClusters(clusterList []clusterv1.Cluster)
SetMatchingClusters will set the given list of matching clusters on an HelmChartProxy object.
func (*HelmChartProxy) SetupWebhookWithManager ¶
func (r *HelmChartProxy) SetupWebhookWithManager(mgr ctrl.Manager) error
func (*HelmChartProxy) ValidateCreate ¶
func (r *HelmChartProxy) ValidateCreate() (admission.Warnings, error)
ValidateCreate implements webhook.Validator so a webhook will be registered for the type.
func (*HelmChartProxy) ValidateDelete ¶
func (r *HelmChartProxy) ValidateDelete() (admission.Warnings, error)
ValidateDelete implements webhook.Validator so a webhook will be registered for the type.
func (*HelmChartProxy) ValidateUpdate ¶
ValidateUpdate implements webhook.Validator so a webhook will be registered for the type.
type HelmChartProxyList ¶
type HelmChartProxyList struct { metav1.TypeMeta `json:",inline"` metav1.ListMeta `json:"metadata,omitempty"` Items []HelmChartProxy `json:"items"` }
HelmChartProxyList contains a list of HelmChartProxy.
func (*HelmChartProxyList) DeepCopy ¶
func (in *HelmChartProxyList) DeepCopy() *HelmChartProxyList
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new HelmChartProxyList.
func (*HelmChartProxyList) DeepCopyInto ¶
func (in *HelmChartProxyList) DeepCopyInto(out *HelmChartProxyList)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
func (*HelmChartProxyList) DeepCopyObject ¶
func (in *HelmChartProxyList) DeepCopyObject() runtime.Object
DeepCopyObject is an autogenerated deepcopy function, copying the receiver, creating a new runtime.Object.
type HelmChartProxySpec ¶
type HelmChartProxySpec struct { // ClusterSelector selects Clusters in the same namespace with a label that matches the specified label selector. The Helm // chart will be installed on all selected Clusters. If a Cluster is no longer selected, the Helm release will be uninstalled. ClusterSelector metav1.LabelSelector `json:"clusterSelector"` // ChartName is the name of the Helm chart in the repository. // e.g. chart-path oci://repo-url/chart-name as chartName: chart-name and https://repo-url/chart-name as chartName: chart-name ChartName string `json:"chartName"` // RepoURL is the URL of the Helm chart repository. // e.g. chart-path oci://repo-url/chart-name as repoURL: oci://repo-url and https://repo-url/chart-name as repoURL: https://repo-url RepoURL string `json:"repoURL"` // ReleaseName is the release name of the installed Helm chart. If it is not specified, a name will be generated. // +optional ReleaseName string `json:"releaseName,omitempty"` // ReleaseNamespace is the namespace the Helm release will be installed on each selected // Cluster. If it is not specified, it will be set to the default namespace. // +optional ReleaseNamespace string `json:"namespace,omitempty"` // Version is the version of the Helm chart. If it is not specified, the chart will use // and be kept up to date with the latest version. // +optional Version string `json:"version,omitempty"` // ValuesTemplate is an inline YAML representing the values for the Helm chart. This YAML supports Go templating to reference // fields from each selected workload Cluster and programatically create and set values. // +optional ValuesTemplate string `json:"valuesTemplate,omitempty"` // Options represents CLI flags passed to Helm operations (i.e. install, upgrade, delete) and // include options such as wait, skipCRDs, timeout, waitForJobs, etc. // +optional Options HelmOptions `json:"options,omitempty"` // Credentials is a reference to an object containing the OCI credentials. If it is not specified, no credentials will be used. // +optional Credentials *Credentials `json:"credentials,omitempty"` // TLSConfig contains the TLS configuration for a HelmChartProxy. // +optional TLSConfig *TLSConfig `json:"tlsConfig,omitempty"` }
HelmChartProxySpec defines the desired state of HelmChartProxy.
func (*HelmChartProxySpec) DeepCopy ¶
func (in *HelmChartProxySpec) DeepCopy() *HelmChartProxySpec
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new HelmChartProxySpec.
func (*HelmChartProxySpec) DeepCopyInto ¶
func (in *HelmChartProxySpec) DeepCopyInto(out *HelmChartProxySpec)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
type HelmChartProxyStatus ¶
type HelmChartProxyStatus struct { // Conditions defines current state of the HelmChartProxy. // +optional Conditions clusterv1.Conditions `json:"conditions,omitempty"` // MatchingClusters is the list of references to Clusters selected by the ClusterSelector. // +optional MatchingClusters []corev1.ObjectReference `json:"matchingClusters"` // ObservedGeneration is the latest generation observed by the controller. // +optional ObservedGeneration int64 `json:"observedGeneration,omitempty"` }
HelmChartProxyStatus defines the observed state of HelmChartProxy.
func (*HelmChartProxyStatus) DeepCopy ¶
func (in *HelmChartProxyStatus) DeepCopy() *HelmChartProxyStatus
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new HelmChartProxyStatus.
func (*HelmChartProxyStatus) DeepCopyInto ¶
func (in *HelmChartProxyStatus) DeepCopyInto(out *HelmChartProxyStatus)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
type HelmInstallOptions ¶
type HelmInstallOptions struct { // CreateNamespace indicates the Helm install/upgrade action to create the // HelmChartProxySpec.ReleaseNamespace if it does not exist yet. // On uninstall, the namespace will not be garbage collected. // If it is not specified by user, will be set to default 'true'. // +kubebuilder:default=true // +optional CreateNamespace bool `json:"createNamespace,omitempty"` // IncludeCRDs determines whether CRDs stored as a part of helm templates directory should be installed. // +optional IncludeCRDs bool `json:"includeCRDs,omitempty"` }
func (*HelmInstallOptions) DeepCopy ¶
func (in *HelmInstallOptions) DeepCopy() *HelmInstallOptions
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new HelmInstallOptions.
func (*HelmInstallOptions) DeepCopyInto ¶
func (in *HelmInstallOptions) DeepCopyInto(out *HelmInstallOptions)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
type HelmOptions ¶
type HelmOptions struct { // DisableHooks prevents hooks from running during the Helm install action. // +optional DisableHooks bool `json:"disableHooks,omitempty"` // Wait enables the waiting for resources to be ready after a Helm install/upgrade has been performed. // +optional Wait bool `json:"wait,omitempty"` // WaitForJobs enables waiting for jobs to complete after a Helm install/upgrade has been performed. // +optional WaitForJobs bool `json:"waitForJobs,omitempty"` // DependencyUpdate indicates the Helm install/upgrade action to get missing dependencies. // +optional DependencyUpdate bool `json:"dependencyUpdate,omitempty"` // Timeout is the time to wait for any individual Kubernetes operation (like // resource creation, Jobs for hooks, etc.) during the performance of a Helm install action. // Defaults to '10 min'. // +optional Timeout *metav1.Duration `json:"timeout,omitempty"` // SkipCRDs controls whether CRDs should be installed during install/upgrade operation. // By default, CRDs are installed if not already present. // If set, no CRDs will be installed. // +optional SkipCRDs bool `json:"skipCRDs,omitempty"` // SubNotes determines whether sub-notes should be rendered in the chart. // +optional SubNotes bool `json:"options,omitempty"` // DisableOpenAPIValidation controls whether OpenAPI validation is enforced. // +optional DisableOpenAPIValidation bool `json:"disableOpenAPIValidation,omitempty"` // Atomic indicates the installation/upgrade process to delete the installation or rollback on failure. // If 'Atomic' is set, wait will be enabled automatically during helm install/upgrade operation. // +optional Atomic bool `json:"atomic,omitempty"` // Install represents CLI flags passed to Helm install operation which can be used to control // behaviour of helm Install operations via options like wait, skipCrds, timeout, waitForJobs, etc. // +optional Install HelmInstallOptions `json:"install,omitempty"` // Upgrade represents CLI flags passed to Helm upgrade operation which can be used to control // behaviour of helm Upgrade operations via options like wait, skipCrds, timeout, waitForJobs, etc. // +optional Upgrade HelmUpgradeOptions `json:"upgrade,omitempty"` // Uninstall represents CLI flags passed to Helm uninstall operation which can be used to control // behaviour of helm Uninstall operation via options like wait, timeout, etc. // +optional Uninstall *HelmUninstallOptions `json:"uninstall,omitempty"` // EnableClientCache is a flag to enable Helm client cache. If it is not specified, it will be set to true. // +kubebuilder:default=false // +optional EnableClientCache bool `json:"enableClientCache,omitempty"` }
func (*HelmOptions) DeepCopy ¶
func (in *HelmOptions) DeepCopy() *HelmOptions
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new HelmOptions.
func (*HelmOptions) DeepCopyInto ¶
func (in *HelmOptions) DeepCopyInto(out *HelmOptions)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
type HelmReleaseProxy ¶
type HelmReleaseProxy struct { metav1.TypeMeta `json:",inline"` metav1.ObjectMeta `json:"metadata,omitempty"` Spec HelmReleaseProxySpec `json:"spec,omitempty"` Status HelmReleaseProxyStatus `json:"status,omitempty"` }
HelmReleaseProxy is the Schema for the helmreleaseproxies API.
func (*HelmReleaseProxy) DeepCopy ¶
func (in *HelmReleaseProxy) DeepCopy() *HelmReleaseProxy
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new HelmReleaseProxy.
func (*HelmReleaseProxy) DeepCopyInto ¶
func (in *HelmReleaseProxy) DeepCopyInto(out *HelmReleaseProxy)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
func (*HelmReleaseProxy) DeepCopyObject ¶
func (in *HelmReleaseProxy) DeepCopyObject() runtime.Object
DeepCopyObject is an autogenerated deepcopy function, copying the receiver, creating a new runtime.Object.
func (*HelmReleaseProxy) Default ¶
func (p *HelmReleaseProxy) Default()
Default implements webhook.Defaulter so a webhook will be registered for the type.
func (*HelmReleaseProxy) GetConditions ¶
func (r *HelmReleaseProxy) GetConditions() clusterv1.Conditions
GetConditions returns the list of conditions for an HelmReleaseProxy API object.
func (*HelmReleaseProxy) SetConditions ¶
func (r *HelmReleaseProxy) SetConditions(conditions clusterv1.Conditions)
SetConditions will set the given conditions on an HelmReleaseProxy object.
func (*HelmReleaseProxy) SetReleaseName ¶
func (r *HelmReleaseProxy) SetReleaseName(name string)
SetReleaseName will set the given name on an HelmReleaseProxy object. This is used if the release name is auto-generated by Helm.
func (*HelmReleaseProxy) SetReleaseRevision ¶
func (r *HelmReleaseProxy) SetReleaseRevision(version int)
SetReleaseRevision will set the given revision on an HelmReleaseProxy object.
func (*HelmReleaseProxy) SetReleaseStatus ¶
func (r *HelmReleaseProxy) SetReleaseStatus(status string)
SetReleaseStatus will set the given status on an HelmReleaseProxy object.
func (*HelmReleaseProxy) SetupWebhookWithManager ¶
func (r *HelmReleaseProxy) SetupWebhookWithManager(mgr ctrl.Manager) error
func (*HelmReleaseProxy) ValidateCreate ¶
func (r *HelmReleaseProxy) ValidateCreate() (admission.Warnings, error)
ValidateCreate implements webhook.Validator so a webhook will be registered for the type.
func (*HelmReleaseProxy) ValidateDelete ¶
func (r *HelmReleaseProxy) ValidateDelete() (admission.Warnings, error)
ValidateDelete implements webhook.Validator so a webhook will be registered for the type.
func (*HelmReleaseProxy) ValidateUpdate ¶
ValidateUpdate implements webhook.Validator so a webhook will be registered for the type.
type HelmReleaseProxyList ¶
type HelmReleaseProxyList struct { metav1.TypeMeta `json:",inline"` metav1.ListMeta `json:"metadata,omitempty"` Items []HelmReleaseProxy `json:"items"` }
HelmReleaseProxyList contains a list of HelmReleaseProxy.
func (*HelmReleaseProxyList) DeepCopy ¶
func (in *HelmReleaseProxyList) DeepCopy() *HelmReleaseProxyList
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new HelmReleaseProxyList.
func (*HelmReleaseProxyList) DeepCopyInto ¶
func (in *HelmReleaseProxyList) DeepCopyInto(out *HelmReleaseProxyList)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
func (*HelmReleaseProxyList) DeepCopyObject ¶
func (in *HelmReleaseProxyList) DeepCopyObject() runtime.Object
DeepCopyObject is an autogenerated deepcopy function, copying the receiver, creating a new runtime.Object.
type HelmReleaseProxySpec ¶
type HelmReleaseProxySpec struct { // ClusterRef is a reference to the Cluster to install the Helm release on. ClusterRef corev1.ObjectReference `json:"clusterRef"` // ChartName is the name of the Helm chart in the repository. // e.g. chart-path oci://repo-url/chart-name as chartName: chart-name and https://repo-url/chart-name as chartName: chart-name ChartName string `json:"chartName"` // RepoURL is the URL of the Helm chart repository. // e.g. chart-path oci://repo-url/chart-name as repoURL: oci://repo-url and https://repo-url/chart-name as repoURL: https://repo-url RepoURL string `json:"repoURL"` // ReleaseName is the release name of the installed Helm chart. If it is not specified, a name will be generated. // +optional ReleaseName string `json:"releaseName,omitempty"` // ReleaseNamespace is the namespace the Helm release will be installed on the referenced // Cluster. If it is not specified, it will be set to the default namespace. // +optional ReleaseNamespace string `json:"namespace"` // Version is the version of the Helm chart. If it is not specified, the chart will use // and be kept up to date with the latest version. // +optional Version string `json:"version,omitempty"` // Values is an inline YAML representing the values for the Helm chart. This YAML is the result of the rendered // Go templating with the values from the referenced workload Cluster. // +optional Values string `json:"values,omitempty"` // Options represents the helm setting options which can be used to control behaviour of helm operations(Install, Upgrade, Delete, etc) // via options like wait, skipCrds, timeout, waitForJobs, etc. // +optional Options HelmOptions `json:"options,omitempty"` // Credentials is a reference to an object containing the OCI credentials. If it is not specified, no credentials will be used. // +optional Credentials *Credentials `json:"credentials,omitempty"` // TLSConfig contains the TLS configuration for the HelmReleaseProxy. TLSConfig *TLSConfig `json:"tlsConfig,omitempty"` }
HelmReleaseProxySpec defines the desired state of HelmReleaseProxy.
func (*HelmReleaseProxySpec) DeepCopy ¶
func (in *HelmReleaseProxySpec) DeepCopy() *HelmReleaseProxySpec
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new HelmReleaseProxySpec.
func (*HelmReleaseProxySpec) DeepCopyInto ¶
func (in *HelmReleaseProxySpec) DeepCopyInto(out *HelmReleaseProxySpec)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
type HelmReleaseProxyStatus ¶
type HelmReleaseProxyStatus struct { // Conditions defines current state of the HelmReleaseProxy. // +optional Conditions clusterv1.Conditions `json:"conditions,omitempty"` // Status is the current status of the Helm release. // +optional Status string `json:"status,omitempty"` // Revision is the current revision of the Helm release. // +optional Revision int `json:"revision,omitempty"` // ObservedGeneration is the latest generation observed by the controller. // +optional ObservedGeneration int64 `json:"observedGeneration,omitempty"` }
HelmReleaseProxyStatus defines the observed state of HelmReleaseProxy.
func (*HelmReleaseProxyStatus) DeepCopy ¶
func (in *HelmReleaseProxyStatus) DeepCopy() *HelmReleaseProxyStatus
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new HelmReleaseProxyStatus.
func (*HelmReleaseProxyStatus) DeepCopyInto ¶
func (in *HelmReleaseProxyStatus) DeepCopyInto(out *HelmReleaseProxyStatus)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
type HelmUninstallOptions ¶
type HelmUninstallOptions struct { // KeepHistory defines whether historical revisions of a release should be saved. // If it's set, helm uninstall operation will not delete the history of the release. // The helm storage backend (secret, configmap, etc) will be retained in the cluster. // +optional KeepHistory bool `json:"keepHistory,omitempty"` // Description represents human readable information to be shown on release uninstall. // +optional Description string `json:"description,omitempty"` }
func (*HelmUninstallOptions) DeepCopy ¶
func (in *HelmUninstallOptions) DeepCopy() *HelmUninstallOptions
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new HelmUninstallOptions.
func (*HelmUninstallOptions) DeepCopyInto ¶
func (in *HelmUninstallOptions) DeepCopyInto(out *HelmUninstallOptions)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
type HelmUpgradeOptions ¶
type HelmUpgradeOptions struct { // Force indicates to ignore certain warnings and perform the helm release upgrade anyway. // This should be used with caution. // +optional Force bool `json:"force,omitempty"` // ResetValues will reset the values to the chart's built-ins rather than merging with existing. // +optional ResetValues bool `json:"resetValues,omitempty"` // ReuseValues will re-use the user's last supplied values. // +optional ReuseValues bool `json:"reuseValues,omitempty"` // Recreate will (if true) recreate pods after a rollback. // +optional Recreate bool `json:"recreate,omitempty"` // MaxHistory limits the maximum number of revisions saved per release (default is 10). // +kubebuilder:default=10 // +optional MaxHistory int `json:"maxHistory,omitempty"` // CleanupOnFail indicates the upgrade action to delete newly-created resources on a failed update operation. // +optional CleanupOnFail bool `json:"cleanupOnFail,omitempty"` }
func (*HelmUpgradeOptions) DeepCopy ¶
func (in *HelmUpgradeOptions) DeepCopy() *HelmUpgradeOptions
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new HelmUpgradeOptions.
func (*HelmUpgradeOptions) DeepCopyInto ¶
func (in *HelmUpgradeOptions) DeepCopyInto(out *HelmUpgradeOptions)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
type TLSConfig ¶ added in v0.2.3
type TLSConfig struct { // Secret is a reference to a Secret containing the TLS CA certificate at the key ca.crt. // +optional CASecretRef *corev1.SecretReference `json:"caSecret,omitempty"` // InsecureSkipTLSVerify controls whether the Helm client should verify the server's certificate. // +optional InsecureSkipTLSVerify bool `json:"insecureSkipTLSVerify,omitempty"` }
TLSConfig defines a TLS configuration.
func (*TLSConfig) DeepCopy ¶ added in v0.2.3
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new TLSConfig.
func (*TLSConfig) DeepCopyInto ¶ added in v0.2.3
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.