Skip to content

secretConfiguration deprecation points to ESO, but ESO doesn't cover its actual use case #6587

Description

@shcherbak

Summary

charts/external-dns/values.yaml marks secretConfiguration as (DEPRECATED), and the stated recommendation (see #6586) is to manage secrets outside Helm via External Secrets Operator instead. ESO and secretConfiguration solve different problems, though, and ESO doesn't give existing secretConfiguration users a real migration path.

The gap

secretConfiguration takes a literal value already present in the Helm values (data: {}) and renders it into a Secret. In practice that value usually comes from a CI/CD masked variable or a sops/helm-secrets-encrypted values file. ESO solves a different problem: syncing a Secret from an external backend (Vault, AWS SM, GCP SM, etc.) via an ExternalSecret CR - requiring ESO installed and a backend already holding the value. If your secret's only home is a CI variable or an encrypted values file, ESO isn't a drop-in replacement; it means standing up a whole secret-management backend for one token.

Ask

Not proposing a specific mechanism (discussed/closed in #6586) - just flagging the deprecation notice points at a solution that doesn't fit the actual use case. Either a real migration path, or an amended note that's upfront about ESO only fitting when a backend is already in place.

References

Metadata

Metadata

Assignees

No one assigned

    Labels

    kind/featureCategorizes issue or PR as related to a new feature.

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions