1
0
Fork 0
mirror of https://github.com/external-secrets/external-secrets.git synced 2024-12-15 17:51:01 +00:00
external-secrets/design
Scott Andrews 2174a67575
Make ExternalSecret a provisioned service (#2263)
The Service Binding for Kubernetes project (servicebinding.io) is a spec
to make it easier for workloads to consume services. At runtime, the
ServiceBinding resource references a service resources and workload
resource to connect to the service. The Secret for a service is
projected into a workload resource at a well known path.

Services can advertise the name of the Secret representing the service
on it's status at `.status.binding.name`. Hosting the name of a Secret
at this location is the Provisioned Service duck type. It has the effect
of decoupling the logical consumption of a service from the physical
Secret holding state.

Using ServiceBindings with ExternalSecrets today requires the user to
directly know and reference the Secret created by the ExternalSecret as
the service reference. This PR adds the name of the Secret to the status
of the ExternalSecret at a well known location where it is be discovered
by a ServiceBinding. With this change, user can reference an
ExternalSecret from a ServiceBinding.

A ClusterRole is also added with a well known label for the
ServiceBinding controller to have permission to watch ExternalSecrets
and read the binding Secret.

ClusterExternalSecret was not modified as ServiceBindings are limited to
the scope of a single namespace.

Signed-off-by: Scott Andrews <andrewssc@vmware.com>
2023-05-16 22:06:55 +02:00
..
000-template.md feat(docs): add proposal process, add bi-weekly meeting 2022-01-22 23:26:59 +01:00
001-design-crd-v1beta1.md Adding Deletion Policy to the spec, and approving it 2022-02-16 14:32:40 -03:00
002-pushsecret.md Feature/push secret (#1315) 2022-11-29 16:04:46 -03:00
003-cluster-external-secret-spec.md 🗺️ Design for dataFrom key rewrite (#1188) 2022-07-22 13:15:11 -03:00
004-datafrom-key-rewrite.md 🗺️ Design for dataFrom key rewrite (#1188) 2022-07-22 13:15:11 -03:00
005-secret-generator-group.md Proposal Draft for Secret Generators (#1338) 2022-11-23 20:06:46 +01:00
006-LTS-release.md feat: LTS release process (#2155) 2023-05-15 09:06:15 +02:00
design-crd-spec.md Make ExternalSecret a provisioned service (#2263) 2023-05-16 22:06:55 +02:00