Documentation ¶
Index ¶
- Constants
- func NewStack() stack.Stack
- func ValidateMinioCompatibility(ctx context.Context, opt stack.DeployOptions) error
- type SeedStack
- func (s *SeedStack) Deploy(ctx context.Context, opt stack.DeployOptions) error
- func (*SeedStack) Name() string
- func (*SeedStack) ValidateConfiguration(config *kubermaticv1.KubermaticConfiguration, helmValues *yamled.Document, ...) (*kubermaticv1.KubermaticConfiguration, *yamled.Document, []error)
- func (m *SeedStack) ValidateState(ctx context.Context, opt stack.DeployOptions) []error
Constants ¶
const ( MinioChartName = "minio" MinioReleaseName = MinioChartName MinioNamespace = MinioChartName S3ExporterChartName = "s3-exporter" S3ExporterReleaseName = S3ExporterChartName S3ExporterNamespace = "kube-system" )
Variables ¶
This section is empty.
Functions ¶
func ValidateMinioCompatibility ¶ added in v2.23.1
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 SeedStack ¶
type SeedStack struct{}
func (*SeedStack) ValidateConfiguration ¶
func (*SeedStack) ValidateConfiguration(config *kubermaticv1.KubermaticConfiguration, helmValues *yamled.Document, opt stack.DeployOptions, logger logrus.FieldLogger) (*kubermaticv1.KubermaticConfiguration, *yamled.Document, []error)