-
Notifications
You must be signed in to change notification settings - Fork 98
Workaround for Bitnami Registry migration #284
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
Workaround for Bitnami Registry migration #284
Conversation
|
This PR has been automatically marked as stale because it has not had recent activity from the author. It will be closed if no further activity occurs. If the PR was closed and you want it re-opened, let us know and we'll re-open the PR so that you can continue the contribution! |
|
@davivcgarcia Thanks for this, you'll have to bump the Helm Chart in the docs for the new version (can run |
|
This PR has been automatically marked as stale because it has not had recent activity from the author. It will be closed if no further activity occurs. If the PR was closed and you want it re-opened, let us know and we'll re-open the PR so that you can continue the contribution! |
|
@ChrisJBurns Any chance we can get this merged as a temporary workaround for #271? Maybe a maintainer could run the pre-commit hooks and push the changes.. That being said, I was thinking that we could probably automate running the pre-commit hooks on PRs, and push any resulting changes to the corresponding PR branch. Thoughts? I can file an issue and look into that later.. |
|
I really wanted to do it, but I didn't have time yet to understand how to execute these pre-commit hooks. Any specific doc I should take a look at? |
@davivcgarcia No problem. I think you can refer to this line in the Contributing guide: https://github.com/backstage/charts/blob/main/CONTRIBUTING.md?plain=1#L7 |
That'd be great if you can do it, saves a bunch of manual changes. |
|
Have approved just to kick the pipeline off, you'll need to bump all of the pre-commit stuff manually I think. Also, I think we should probably release this as a breaking change, even though it may not be? This should give users more of a nudge to really double check if the new image works for them. It is a bit extreme, but better to be safe than sorry I guess |
The
@davivcgarcia Did you get a chance to look into this? Let us know if you faced any issues running the pre-commit hook.. FYI, you can also see the Git diff that you need to apply from the Lint job run: https://github.com/backstage/charts/actions/runs/18469298466/job/52841520108?pr=284#step:6:135 diff --git a/charts/backstage/README.md b/charts/backstage/README.md
index ed80a5d..91bbf0d 100644
--- a/charts/backstage/README.md
+++ b/charts/backstage/README.md
@@ -2,7 +2,7 @@
# Backstage Helm Chart
[](https://artifacthub.io/packages/search?repo=backstage](https://img.shields.io/endpoint?url=https://artifacthub.io/badge/repository/backstage](https://artifacthub.io/packages/search?repo=backstage)))
-
+

A Helm chart for deploying a Backstage application
@@ -201,6 +201,7 @@ Kubernetes: `>= 1.19.0-0`
| postgresql.auth.secretKeys.userPasswordKey | The key in which Postgres will look for, for the user password, in the existing Secret | string | `"user-password"` |
| postgresql.auth.username | Name for a custom user to create | string | `"bn_backstage"` |
| postgresql.enabled | Switch to enable or disable the PostgreSQL helm chart | bool | `false` |
+| postgresql.image | Change default PostgreSQL image location (workaround for [https://github.com/bitnami/charts/issues/35164)](https://github.com/bitnami/charts/issues/35164)?q=sort%3Aupdated-desc+is%3Aissue+is%3Aopen) | object | `{"registry":"docker.io","repository":"bitnamilegacy/postgresql"}` |
| service | Service parameters | object | See below |
| service.annotations | Additional custom annotations for Backstage service | object | `{}` |
| service.clusterIP | Backstage service Cluster IP <br /> E.g `clusterIP: None` | string | `""` | |
589634e to
e218c0f
Compare
Signed-off-by: Davi Garcia <[email protected]>
Signed-off-by: Davi Garcia <[email protected]>
Signed-off-by: Davi Garcia <[email protected]>
e218c0f to
cd1c22b
Compare
@rm3l I've synced my branch with the latest on |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
you'll need to bump all of the pre-commit stuff manually I think.
@rm3l I've synced my branch with the latest on
main, and committed the changes generated bypre-commitcommand. Please let me know if that makes sense. Thanks for the patience. :-)
Thanks. It looks good to me, unless @ChrisJBurns wants to bump the chart version to a major one to be safe.
Now up to @ChrisJBurns (or any other maintainer) to manually approve the CI workflows so GH can trigger them, I guess.
|
This PR has been automatically marked as stale because it has not had recent activity from the author. It will be closed if no further activity occurs. If the PR was closed and you want it re-opened, let us know and we'll re-open the PR so that you can continue the contribution! |
|
not stale |
|
Apologies for delay on this! |
ChrisJBurns
left a comment
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
I think the fix bump is ok, primarily because its the same image as before just a different location. I think if we ever move away to a different image/postgres subchart that's when we'll major bump
Description of the change
Provides the fix for the recent Bitnami migration of public images to Bitnami Legacy. The usage of Bitnami Secure is risky since the only tag available is latest, and the current PostgreSQL chart uses a specific version tag.
Existing or Associated Issue(s)
Temporary Fix for #271
Additional Information
bitnami/charts#35164
Checklist
Chart.yamlaccording to semver.values.yamland added to the README.md. The helm-docs utility can be used to generate the necessary content. Usehelm-docs --dry-runto preview the content.ct lintcommand.