Closed gprossliner closed 1 year ago
I think it is a good idea.
Ok. Thank you for the comment. I can make a PR for further discussion.
Please do.
see #63
@gprossliner thank you for your contribution. Your changes are available in v0.3.20 release.
It is considered a best practise to include an
imagePullSecrets
field invalues.yaml
so that the consumer of a helm chart can use a private registry, for which a Secret has already been created.It would be nice if helmify checks if there is anything assigned to the
ImagePullSecrets
field of a PodSpec (which may be part of a Deployment, DaemonSet, ...). If this is set, helmify should continue as-is.But if the
ImagePullSecret
is not set, helmify should include aimagePullSecrets
invalues.yaml
and include it in the PodSpec, if it has been set by the user.What do you think?