Allow specifying multiple dockerRegistryAuth
s.
#2181
Labels
@component/cdk8s-plus
Issue related to cdk8s-plus
effort/medium
1 week tops
feature-request
New/Enhanced functionality wanted
priority/p2
Dependent on community feedback. PR's are welcome :)
Description of the feature or enhancement:
Currently, only a single secret for registry auth is accepted when creating a pod/deployment. The K8s spec allows for mutiple to be specified, so that we can pull images from multiple sources if needed.
Use Case:
I need my pods to include a container from my own registry plus a sidecar from a public registry.
Proposed Solution:
Unsure how best to make a change like this - not all the supported languages allow for args to be multiple types like in TS or Python AFAIK (in those languages you could just allow
ISecret | ISecret[]
/Python equivalent to avoid breaking existing code), so potentially adding a new property? Seems clunky though.Other:
This is a 🚀 Feature Request
The text was updated successfully, but these errors were encountered: