Documentation ¶
Index ¶
Constants ¶
View Source
const HashLabel = "logging.banzaicloud.io/config-hash"
Variables ¶
This section is empty.
Functions ¶
func WithHashLabel ¶
Types ¶
type ConfigCheckCleaner ¶
type ConfigCheckCleaner struct {
// contains filtered or unexported fields
}
func NewConfigCheckCleaner ¶
func NewConfigCheckCleaner(c client.Client, component string, logging string) *ConfigCheckCleaner
func (*ConfigCheckCleaner) PodCleanup ¶
func (c *ConfigCheckCleaner) PodCleanup(ctx context.Context, hash string) (multierr error)
PodCleanup cleans up configcheck pods that have the logging.banzaicloud.io/config-hash label, but doesn't match the current config hash
func (*ConfigCheckCleaner) SecretCleanup ¶
func (c *ConfigCheckCleaner) SecretCleanup(ctx context.Context, hash string) (multierr error)
SecretCleanup cleans up configcheck secrets that have the logging.banzaicloud.io/config-hash label, but doesn't match the current config hash
Click to show internal directories.
Click to hide internal directories.