wave-k8s / wave

Kubernetes configuration tracking controller
Apache License 2.0
647 stars 82 forks source link

Allow optional ConfigMap / Secrets #61

Closed theobarberbany closed 4 years ago

theobarberbany commented 4 years ago

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 the EnvFrom section, but not when mounting a Secret or ConfigMap.

This allows secrets and config maps mounted from a Volume, EnvFrom or Env to be optional.