Documentation ¶
Index ¶
- Constants
- func NewStack() stack.Stack
- func ValidateIapBlockSecret(value string, path string) error
- func ValidateMinioCompatibility(ctx context.Context, opt stack.DeployOptions) error
- type UserClusterMLA
- func (s *UserClusterMLA) Deploy(ctx context.Context, opt stack.DeployOptions) error
- func (*UserClusterMLA) Name() string
- func (*UserClusterMLA) ValidateConfiguration(config *kubermaticv1.KubermaticConfiguration, helmValues *yamled.Document, ...) (*kubermaticv1.KubermaticConfiguration, *yamled.Document, []error)
- func (m *UserClusterMLA) ValidateState(ctx context.Context, opt stack.DeployOptions) []error
Constants ¶
const ( UserClusterMLANamespace = "mla" UserClusterMLAChartsPrefix = "mla" MLASecretsChartName = "mla-secrets" MLASecretsReleaseName = MLASecretsChartName MLASecretsNamespace = UserClusterMLANamespace AlertmanagerProxyChartName = "alertmanager-proxy" AlertmanagerProxyReleaseName = AlertmanagerProxyChartName AlertmanagerProxyNamespace = UserClusterMLANamespace ConsulChartName = "consul" ConsulReleaseName = ConsulChartName ConsulNamespace = UserClusterMLANamespace CortexChartName = "cortex" CortexReleaseName = CortexChartName CortexNamespace = UserClusterMLANamespace GrafanaChartName = "grafana" GrafanaReleaseName = GrafanaChartName GrafanaNamespace = UserClusterMLANamespace LokiChartName = "loki-distributed" LokiReleaseName = LokiChartName LokiNamespace = UserClusterMLANamespace MinioChartName = "minio" MinioReleaseName = MinioChartName MinioNamespace = UserClusterMLANamespace MinioLifecycleMgrChartName = "minio-lifecycle-mgr" MinioLifecycleMgrReleaseName = MinioLifecycleMgrChartName MinioLifecycleMgrNamespace = UserClusterMLANamespace MLAIAPChartName = "iap" MLAIAPReleaseName = MLAIAPChartName MLAIAPNamespace = UserClusterMLANamespace )
Variables ¶
This section is empty.
Functions ¶
func ValidateIapBlockSecret ¶
func ValidateMinioCompatibility ¶ added in v2.25.0
func ValidateMinioCompatibility(ctx context.Context, opt stack.DeployOptions) error
In KKP 2.23, Minio RELEASE.2023-05-04T21-44-30Z i shipped. This version breaks compat with previous versions as the legacy "fs" filesystem driver has been removed. Since Minio RELEASE.2022-06-25T15-50-16Z (KKP 2.21), the default filesystem driver was "xl" already, the new replacement for "fs". This means any Minio [PVC] that was created with KKP 2.21+ is forward-compatible, any PVC originally created with older Minio releases however will not survive the KKP 2.23 upgrade, as a manual migration is required. See https://github.com/kubermatic/kubermatic/issues/12430 for more information. This function will validate Minio's currently used filesystem driver and report an error if upgrading won't be possible.
Types ¶
type UserClusterMLA ¶
type UserClusterMLA struct{}
func (*UserClusterMLA) Deploy ¶
func (s *UserClusterMLA) Deploy(ctx context.Context, opt stack.DeployOptions) error
func (*UserClusterMLA) Name ¶
func (*UserClusterMLA) Name() string
func (*UserClusterMLA) ValidateConfiguration ¶
func (*UserClusterMLA) ValidateConfiguration(config *kubermaticv1.KubermaticConfiguration, helmValues *yamled.Document, opt stack.DeployOptions, logger logrus.FieldLogger) (*kubermaticv1.KubermaticConfiguration, *yamled.Document, []error)
func (*UserClusterMLA) ValidateState ¶
func (m *UserClusterMLA) ValidateState(ctx context.Context, opt stack.DeployOptions) []error