Documentation
¶
Index ¶
Constants ¶
View Source
const (
OperatorCommandTypeRuntimeUpdateRules = "RuntimeUpdateRules"
)
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type RulesUpdater ¶
type RulesUpdater struct {
// contains filtered or unexported fields
}
func NewRulesUpdator ¶
func NewRulesUpdator(ctx context.Context, k8sClient *k8sinterface.KubernetesApi, config RulesUpdaterConfig) *RulesUpdater
func (*RulesUpdater) SendUpdateRulesCommand ¶
func (ru *RulesUpdater) SendUpdateRulesCommand() error
func (*RulesUpdater) Start ¶
func (ru *RulesUpdater) Start()
type RulesUpdaterConfig ¶
type RulesUpdaterConfig struct {
Interval time.Duration `mapstructure:"interval"`
Namespace string `mapstructure:"namespace"`
Enabled bool `mapstructure:"enabled"`
// ExcludeClusterObjects stops admission rules from being evaluated
// against cluster-scoped objects while Enabled makes the admission
// controller ignore rule bindings and run every rule.
ExcludeClusterObjects bool `mapstructure:"excludeClusterObjects"`
}
Click to show internal directories.
Click to hide internal directories.