Skip to content

Allow arbitrary labels & annotations for Secrets generated from custom resources #88

@nogweii

Description

@nogweii

Is your feature request related to a problem? Please describe.
I want to use kubernetes-replicator with this secret generator but cannot since the StringSecret object does not allow me to set the correct annotations.

Describe the solution you'd like
A new field to the CRD, perhaps called metadata, allowing me to set labels and annotations.

Describe alternatives you've considered
Using annotations on an empty Secret, but Flux will attempt to manage the contents of it, removing the generated values. Using the custom resources allows for a clean GitOps flow.

Additional context
This is similar to #73 but also includes labels in the list.

I saw in the code that labels are inherited but I don't necessarily want to copy every label or annotation onto the generated Secret.

Metadata

Metadata

Assignees

No one assigned

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions