Open tomkerkhove opened 4 years ago
you can't duplicate "secrets:" key. that's how arrays work in yaml, looks at "container" behavior. but I do agree, key names are not obvious
Sorry, it was a copy paste mistake - I've updated the sample to use keys
instead
Is there any way to consume all secrets/keys from a Key Vault? I think the solution where you need to specify secrets/keys one by one is not very viable.
Support prefix reference issue - #61
@aramase Any input on the structure as a whole?
Implementing the proposed format would also make kustomize manipulation possible.
Stumbled-upon same issue when using Kustomize. No way to patch the array of secrets. Would be awesome to have something like the proposed structure in place since it is similar to the approach taken for populating K8s secrets from KeyVault (cf. Azure docs)
Describe the solution you'd like The current configuration feels a bit odd with the
objects.array
which is a mix of secrets & keys.Example from README:
While it would feel more natural to be able to use this approach:
Anything else you would like to add: I'm not an expert in Kubernetes extensibility so it might be because of a technical limitation, but I would prefer the above proposal which is cleaner for people who are new to it.