Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Publish GitOps manifest for each release to GitHub release #2192

Open
tnozicka opened this issue Nov 19, 2024 · 0 comments
Open

Publish GitOps manifest for each release to GitHub release #2192

tnozicka opened this issue Nov 19, 2024 · 0 comments
Assignees
Labels
kind/machinery Categorizes issue or PR as related to Makefile, scripts or similar changes. priority/important-soon Must be staffed and worked on either currently, or very soon, ideally in time for the next release.

Comments

@tnozicka
Copy link
Member

At this point, our users have to substitute the image reference in all manifest manually which is painful and has to be done on every update. And because manifest are tightly coupled to the images, the flows is like:

  1. Get the all the manifests for the new version (dozens of yaml files)
  2. Go through each of them to see if they use the operator image (also in env vars) or use grep and hope for the best.
  3. Commit the manifests to git / update

This stems from an chicken-egg issue of the manifest being consumed from the same place as the source code, so when you cut the tag, it's too late to update the manifests, otherwise it's too early. Templating and publishing them somewhere, after the tag is created, sort this issue, fixes the UX and simplifies our installation guide significantly. GitHub releases are where we "publish" our "tags" so it seems like a reasonable destination.

@tnozicka tnozicka added kind/machinery Categorizes issue or PR as related to Makefile, scripts or similar changes. priority/important-soon Must be staffed and worked on either currently, or very soon, ideally in time for the next release. labels Nov 19, 2024
@tnozicka tnozicka self-assigned this Nov 19, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
kind/machinery Categorizes issue or PR as related to Makefile, scripts or similar changes. priority/important-soon Must be staffed and worked on either currently, or very soon, ideally in time for the next release.
Projects
None yet
Development

No branches or pull requests

1 participant