Documentation
¶
Index ¶
- type BundleConfigurationService
- func (s BundleConfigurationService) Configure(ctx context.Context, cluster *clusterv1.Cluster) error
- func (s BundleConfigurationService) GetObservabilityBundleAppVersion(ctx context.Context, cluster *clusterv1.Cluster) (version semver.Version, err error)
- func (s BundleConfigurationService) RemoveConfiguration(ctx context.Context, cluster *clusterv1.Cluster) error
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type BundleConfigurationService ¶
type BundleConfigurationService struct {
// contains filtered or unexported fields
}
func NewBundleConfigurationService ¶
func NewBundleConfigurationService(client client.Client, config config.Config) *BundleConfigurationService
func (BundleConfigurationService) Configure ¶
func (s BundleConfigurationService) Configure(ctx context.Context, cluster *clusterv1.Cluster) error
Configure creates or updates the observability-bundle configuration based on cluster feature flags and links it to the bundle CR (HelmRelease or App) via valuesFrom or extraConfigs respectively.
func (BundleConfigurationService) GetObservabilityBundleAppVersion ¶ added in v0.32.0
func (s BundleConfigurationService) GetObservabilityBundleAppVersion(ctx context.Context, cluster *clusterv1.Cluster) (version semver.Version, err error)
GetObservabilityBundleAppVersion retrieves the version of the observability-bundle installed in the cluster. It supports both Flux HelmRelease and Giant Swarm App CRs, trying HelmRelease first and falling back to App CR.
func (BundleConfigurationService) RemoveConfiguration ¶
Click to show internal directories.
Click to hide internal directories.