wave-k8s / wave

Kubernetes configuration tracking controller
Apache License 2.0
681 stars 81 forks source link

Allow optional ConfigMap / Secrets #61

Closed theobarberbany closed 5 years ago

theobarberbany commented 5 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.