Skip to content

Commit

Permalink
Use Feature Gates to enable or disable features (antrea-io#847)
Browse files Browse the repository at this point in the history
There are a number of features that are being developed and likely to be
disabled by default in their early stage.

Instead of adding a temporary config for each feature and maintaining
them separately, this patch introduces Feature Gates to toggle the
features. It will be easier to choose code branch based on FeatureGates'
"Enabled" method and to promote features to beta and GA.
  • Loading branch information
tnqn authored and GraysonWu committed Sep 23, 2020
1 parent 743588e commit 071408c
Showing 1 changed file with 0 additions and 4 deletions.
4 changes: 0 additions & 4 deletions cmd/antrea-controller/config.go
Original file line number Diff line number Diff line change
Expand Up @@ -39,8 +39,4 @@ type ControllerConfig struct {
// antrea-controller container.
// Defaults to true.
SelfSignedCert bool `yaml:"selfSignedCert,omitempty"`
// Enable controller to watch for ClusterNetworkPolicy CRDs. Temporary config option
// to be removed once CRDs are considered stable.
// Defaults to false.
EnableSecurityCRDs bool `yaml:"enableSecurityCRDs,omitempty"`
}

0 comments on commit 071408c

Please sign in to comment.