Documentation
¶
Index ¶
Constants ¶
View Source
const ( // FeatureFlagsKey is the key used in the ConfigMap to store feature flags. FeatureFlagsKey = "featureFlags" // EnableNetworkPolicyKey is the key for the network policy feature flag. EnableNetworkPolicyKey = "enableNetworkPolicy" // NetworkPolicyDefaultValue is the default value for the network policy feature flag. NetworkPolicyDefaultValue = false )
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type FeatureFlag ¶
type FeatureFlag struct {
Enabled bool `yaml:"enabled"`
}
type FeatureFlags ¶
type FeatureFlags struct {
// EnableNetworkPolicy controls whether NetworkPolicy resources should be created.
EnableNetworkPolicy FeatureFlag `yaml:"enableNetworkPolicy"`
}
FeatureFlags represents the configuration for feature flags in the operator. Add more feature flags later.
Click to show internal directories.
Click to hide internal directories.