Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
If we have two credentials that would create/update the same secret (say, based on the "secret-name" metadata), the behaviour currently isn't ideal - it can depend on the order in which the credentials are returned in which values get created. Furthermore, if you have one credential creating a key for say, "token1", and the second credential creating key "token2" .. they dont get merged. So you'll have a kubernetes secret with either "token1" or "token2" depending on the ordering. That leads to .. disappointment and unexpected errors. Lets do something about that. - If two credentials are targeting the same Kuberentes secret, lets merge them together. - As the ordering can be inconsistent, lets support a metadata field "secret-merge-priority" for ordering.
- Loading branch information