Created
February 27, 2024 16:21
-
-
Save deads2k/1d58dfa6e556f19ea4c59d0b773bdf86 to your computer and use it in GitHub Desktop.
patching in featuregates
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
func init() { | |
registerOpenshiftFeatures() | |
runtime.Must(utilfeature.DefaultMutableFeatureGate.Add(defaultKubernetesFeatureGates)) | |
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
var RouteExternalCertificate featuregate.Feature = "RouteExternalCertificate" | |
func registerOpenshiftFeatures(){ | |
defaultKubernetesFeatureGates[RouteExternalCertificate] = {Default: false, PreRelease: featuregate.Alpha} | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment