gopaddle-io / configurator

Synchronize and Version Control ConfigMaps & Secrets across Deployment Rollouts.
Other
112 stars 45 forks source link

Support for envFrom configMapRef and secretRef #66

Closed renugadevi-2613 closed 2 years ago

renugadevi-2613 commented 2 years ago

Describe the bug If configmap or secret is used along with envFrom, configurator specific annotations are not added. Because of this deployment rolling update breaks.

To Reproduce Steps to reproduce the behavior:

  1. Deploy configurator in k8s cluster
  2. Create configMap
  3. Use the configMap name in deployment under: spec.template.spec.Container.envFrom.configMapRef.Name
  4. Apply the deployment yaml file
  5. Configurator annotation is not added in the spec.template.metadata.annotations level