Skip to content

Commit 6e4b127

Browse files
author
Per Goncalves da Silva
committed
fix up
Signed-off-by: Per Goncalves da Silva <[email protected]>
1 parent 3513068 commit 6e4b127

File tree

1 file changed

+30
-30
lines changed

1 file changed

+30
-30
lines changed
Original file line numberDiff line numberDiff line change
@@ -1,47 +1,47 @@
11
package features
22

33
import (
4-
utilruntime "k8s.io/apimachinery/pkg/util/runtime"
5-
"k8s.io/component-base/featuregate"
4+
utilruntime "k8s.io/apimachinery/pkg/util/runtime"
5+
"k8s.io/component-base/featuregate"
66
)
77

88
const (
9-
// Add new feature gates constants (strings)
10-
// Ex: SomeFeature featuregate.Feature = "SomeFeature"
11-
PreflightPermissions featuregate.Feature = "PreflightPermissions"
12-
SingleOwnNamespaceInstallSupport featuregate.Feature = "SingleOwnNamespaceInstallSupport"
13-
SyntheticPermissions featuregate.Feature = "SyntheticPermissions"
9+
// Add new feature gates constants (strings)
10+
// Ex: SomeFeature featuregate.Feature = "SomeFeature"
11+
PreflightPermissions featuregate.Feature = "PreflightPermissions"
12+
SingleOwnNamespaceInstallSupport featuregate.Feature = "SingleOwnNamespaceInstallSupport"
13+
SyntheticPermissions featuregate.Feature = "SyntheticPermissions"
1414
)
1515

1616
var operatorControllerFeatureGates = map[featuregate.Feature]featuregate.FeatureSpec{
17-
// Add new feature gate definitions
18-
// Ex: SomeFeature: {...}
19-
PreflightPermissions: {
20-
Default: false,
21-
PreRelease: featuregate.Alpha,
22-
LockToDefault: false,
23-
},
17+
// Add new feature gate definitions
18+
// Ex: SomeFeature: {...}
19+
PreflightPermissions: {
20+
Default: false,
21+
PreRelease: featuregate.Alpha,
22+
LockToDefault: false,
23+
},
2424

25-
// SingleOwnNamespaceInstallSupport enables support for installing
26-
// registry+v1 cluster extensions with single or own namespaces modes
27-
// i.e. with a single watch namespace.
28-
SingleOwnNamespaceInstallSupport: {
29-
Default: false,
30-
PreRelease: featuregate.Alpha,
31-
LockToDefault: false,
32-
},
25+
// SingleOwnNamespaceInstallSupport enables support for installing
26+
// registry+v1 cluster extensions with single or own namespaces modes
27+
// i.e. with a single watch namespace.
28+
SingleOwnNamespaceInstallSupport: {
29+
Default: false,
30+
PreRelease: featuregate.Alpha,
31+
LockToDefault: false,
32+
},
3333

34-
// SyntheticPermissions enables support for a synthetic user permission
35-
// model to manage operator permission boundaries
36-
SyntheticPermissions: {
37-
Default: false,
38-
PreRelease: featuregate.Alpha,
39-
LockToDefault: false,
40-
},
34+
// SyntheticPermissions enables support for a synthetic user permission
35+
// model to manage operator permission boundaries
36+
SyntheticPermissions: {
37+
Default: false,
38+
PreRelease: featuregate.Alpha,
39+
LockToDefault: false,
40+
},
4141
}
4242

4343
var OperatorControllerFeatureGate featuregate.MutableFeatureGate = featuregate.NewFeatureGate()
4444

4545
func init() {
46-
utilruntime.Must(OperatorControllerFeatureGate.Add(operatorControllerFeatureGates))
46+
utilruntime.Must(OperatorControllerFeatureGate.Add(operatorControllerFeatureGates))
4747
}

0 commit comments

Comments
 (0)