manifests icon indicating copy to clipboard operation
manifests copied to clipboard

Deployment.yaml does not work unless configFile is defined

Open josemaia opened this issue 1 year ago • 1 comments

Hi,

In deployment.yaml, there are many if conditions such as {{- if or .Values.config.existingConfig .Values.config.configFile }}. However, in the annotations, the template always tries to establish a checksum for .Values.config.configFile. I think, since the template does not mount the config file if neither existingConfig or configFile exist, it should also not try to calculate the checksum. Thanks!

josemaia avatar Jan 24 '24 16:01 josemaia

@josemaia, feel free to open a PR for that.

pierluigilenoci avatar Feb 13 '24 14:02 pierluigilenoci