-
Notifications
You must be signed in to change notification settings - Fork 81
Allow optional ConfigMap / Secrets #61
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Conversation
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Added some comments about consistency in naming, not too fussed about fixing them but if we can keep them consistent it would be nice!
For the optional CMs and Secrets it perhaps calling them optional-volume
, optional-env
, optional-envfrom
? Does that make sense?
d4662d2
to
cd71562
Compare
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Some things could do with a rename eventually but the whole thing is inconsistent so let's fix it later
It's possible to specify Secrets and ConfigMaps as
optional
for a Deployment (and potentially other resource types), and Wave appears to have support for this with regards to values in theEnvFrom
section, but not when mounting a Secret or ConfigMap.This allows secrets and config maps mounted from a
Volume
,EnvFrom
orEnv
to be optional.