stakater / Reloader

A Kubernetes controller to watch changes in ConfigMap and Secrets and do rolling upgrades on Pods with their associated Deployment, StatefulSet, DaemonSet and DeploymentConfig – [✩Star] if you're using it!
https://docs.stakater.com/reloader/
Apache License 2.0
7.11k stars 476 forks source link

[ENHANCE] Find a different way to release helm charts, instead of commits to master branch #684

Open MuneebAijaz opened 3 weeks ago

MuneebAijaz commented 3 weeks ago

Is your feature request related to a problem? Please describe.

Push workflow commits back to master branch which creates multiple issues:

Current need to write back to master branch:

Describe the solution you'd like Find a different strategy to release helm charts and plain manifests instead of committing back to master branch.

Describe alternatives you've considered

Additional context Add any other context or screenshots about the feature request here.

karl-johan-grahn commented 3 weeks ago

We could have the chart here https://github.com/stakater/charts/ and let Renovate bump the version when needed

onedr0p commented 3 weeks ago

Team, I love using reloader but since I am using renovate to update it in my clusters the churn of releases are getting overwhelming. Any chance this can be addressed to not release on every merged PR to the main branch? Does every merged PR warrant a new release? Thanks.

MuneebAijaz commented 3 weeks ago

@onedr0p can you pls open a separate issue so we can track it properly? since your request is regarding how releases are made in general; this issue doesn't cover that.

MuneebAijaz commented 3 weeks ago

@karl-johan-grahn i guess that works for charts. what do u suggest for plain manifests? for example https://github.com/stakater/Reloader/tree/master/deployments/kubernetes/manifests

separate folder in the charts repo under Reloader directory for plain manifests?

karl-johan-grahn commented 3 weeks ago

I'm not sure about the plain manifests, but overall I strongly agree that the logic of having push workflow committing back to master branch is unintuitive and unnecessarily complex.

MuneebAijaz commented 3 weeks ago

One other way is to let renovate run here for charts etc as well, then it wont be a direct commit to main, instead it will be via a PR. but the entire flow will change.

But yeah i'd prefer charts to be moved to stakater/charts repo

MuneebAijaz commented 3 weeks ago

If we conclude on moving charts, let's put a notice/note on repo about moving charts, and plan it in our backlog.

It will still be open for contributors to implement it if they want.