Skip to content

cert-manager: feature gates are not applied to webhook #17797

@dobesv

Description

@dobesv

/kind bug

When setting feature gates for cert-manager in the kops configuration, kops adds command line parameters to the cert-manager controller but not to the other components. This means that some feature gates actually do not take full effect. For example if you enable the feature gate to allow the additionalFormats to be specified, it will be rejected by the webhook because it does not have the feature gate enabled even though the controller will support the extra formats and issue the certificates.

Also, the feature gates that are accepted by the different components are not necessarily the same, so the logic for adding feature gates has to take into account which feature gates can be safely passed through to which components.

See also:

(Cc @hakman , @MTRNord)

Metadata

Metadata

Assignees

No one assigned

    Labels

    kind/bugCategorizes issue or PR as related to a bug.

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions