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

redpanda: replace bash jobs with go utilities #1534

Merged
merged 2 commits into from
Oct 8, 2024
Merged

Conversation

chrisseto
Copy link
Contributor

This commit removes the bash scripts that used to power the post_upgrade and post_install_upgrade job with the recently implement sync-cluster-config sub command of the redpanda operator.

bootstrap.yaml will now be correctly populated with secret values from cluster inception. bootstrap will contain place holder values in the form of $REDPANDA_PROPERTY_NAME which are filled out by the envsubst init container.

The post_upgrade job has been removed as the post_install_upgrade job performed the majority of it's behavior sans setting cloud storage secrets which it now does thanks to the aforementioned bootstrap yaml envsubst'ing.

@chrisseto
Copy link
Contributor Author

I'm leaving this in draft for the moment as we'll need to perform a release of the operator to pick up sync-cluster-config. I also need to merge a PR that configures logging before said release as sync-cluster-config doesn't currently output any logs 😓

Copy link
Contributor

@RafalKorepta RafalKorepta left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

This commit removes the bash scripts that used to power the post_upgrade and
post_install_upgrade job with the recently implement `sync-cluster-config` sub
command of the redpanda operator.

`bootstrap.yaml` will now be correctly populated with secret values
from cluster inception. bootstrap will contain place holder values in the form
of `$REDPANDA_PROPERTY_NAME` which are filled out by the envsubst init
container.

The post_upgrade job has been removed as the post_install_upgrade job performed
the majority of it's behavior sans setting cloud storage secrets which it now
does thanks to the aforementioned bootstrap yaml envsubst'ing.
@chrisseto chrisseto merged commit 6a25b77 into main Oct 8, 2024
42 checks passed
@chrisseto chrisseto deleted the chris/p/go-jobs branch October 8, 2024 20:12
@mattfysh
Copy link

this is causing startup to hang: #1564

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants