-
Notifications
You must be signed in to change notification settings - Fork 1.1k
Closed
Labels
Description
In the current setup, Kubernetes Secrets appear at the bottom of the propertySources list in the API response.
Example response:
"propertySources": [
{ "name": "vault:application" },
{ "name": "secret:ab-service-secrets" }
]
This ordering means that values from Kubernetes Secrets have lower precedence than other configuration sources. However, in many cases, it would be preferable for Kubernetes Secrets to take priority, allowing other configurations to resolve their values using Secrets.
Questions
- Is there a way to configure the order of propertySources so that Kubernetes Secrets appear at the top of the list?
- If not, would it be possible to introduce an option to adjust the precedence of Kubernetes Secrets dynamically?
Use Case
Having Kubernetes Secrets at the top of the list ensures that they override other configurations, making them the primary source of truth for sensitive values. This aligns with best practices for managing secrets in Kubernetes-based environments.
Looking forward to your insights on this!