Skip to content

Commit

Permalink
Merge pull request #6298 from inteon/feature_gates
Browse files Browse the repository at this point in the history
Feature gates: promote StableCertificateRequestName and SecretsFilteredCaching to Beta
  • Loading branch information
jetstack-bot committed Aug 30, 2023
2 parents cab2b3b + b5dc93c commit 3216d18
Show file tree
Hide file tree
Showing 4 changed files with 67 additions and 39 deletions.
8 changes: 5 additions & 3 deletions internal/controller/feature/features.go
Expand Up @@ -81,8 +81,9 @@ const (
// See https://github.com/cert-manager/cert-manager/issues/3203 and https://github.com/cert-manager/cert-manager/issues/4424 for context.
LiteralCertificateSubject featuregate.Feature = "LiteralCertificateSubject"

// Owner: N/A
// Owner: @inteon
// Alpha: v1.10
// Beta: v1.13
//
// StableCertificateRequestName will enable generation of CertificateRequest resources with a fixed name. The name of the CertificateRequest will be a function of Certificate resource name and its revision
// This feature gate will disable auto-generated CertificateRequest name
Expand All @@ -99,6 +100,7 @@ const (

// Owner: @irbekrm
// Alpha v1.12
// Beta: v1.13
//
// SecretsFilteredCaching reduces controller's memory consumption by
// filtering which Secrets are cached in full using
Expand Down Expand Up @@ -127,14 +129,14 @@ func init() {
// available on the cert-manager controller binary.
var defaultCertManagerFeatureGates = map[featuregate.Feature]featuregate.FeatureSpec{
DisallowInsecureCSRUsageDefinition: {Default: true, PreRelease: featuregate.Beta},
StableCertificateRequestName: {Default: true, PreRelease: featuregate.Beta},
SecretsFilteredCaching: {Default: true, PreRelease: featuregate.Beta},

ValidateCAA: {Default: false, PreRelease: featuregate.Alpha},
ExperimentalCertificateSigningRequestControllers: {Default: false, PreRelease: featuregate.Alpha},
ExperimentalGatewayAPISupport: {Default: false, PreRelease: featuregate.Alpha},
AdditionalCertificateOutputFormats: {Default: false, PreRelease: featuregate.Alpha},
ServerSideApply: {Default: false, PreRelease: featuregate.Alpha},
LiteralCertificateSubject: {Default: false, PreRelease: featuregate.Alpha},
StableCertificateRequestName: {Default: false, PreRelease: featuregate.Alpha},
UseCertificateRequestBasicConstraints: {Default: false, PreRelease: featuregate.Alpha},
SecretsFilteredCaching: {Default: false, PreRelease: featuregate.Alpha},
}

0 comments on commit 3216d18

Please sign in to comment.