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

automate initialize #138

Merged
merged 6 commits into from
Jan 5, 2022
Merged

automate initialize #138

merged 6 commits into from
Jan 5, 2022

Conversation

valeriano-manassero
Copy link
Contributor

@valeriano-manassero valeriano-manassero commented Jul 15, 2021

Fixes #114

Motivation

Having initialize value that must be manually set is prone to human error, there is a risk of running init again forcing the need of a rollback.

Modifications

Using Helm capability to understand if it's an install or upgrade we can avoid to launch init when not needed.

Verifying this change

  • Make sure that the change passes the CI checks.

@valeriano-manassero
Copy link
Contributor Author

This is going to be merged?

charts/pulsar/templates/bookkeeper-cluster-initialize.yaml Outdated Show resolved Hide resolved
charts/pulsar/templates/pulsar-cluster-initialize.yaml Outdated Show resolved Hide resolved
charts/pulsar/values.yaml Outdated Show resolved Hide resolved
valeriano-manassero and others added 3 commits January 5, 2022 11:31
Co-authored-by: Lari Hotari <lhotari@users.noreply.github.com>
Co-authored-by: Lari Hotari <lhotari@users.noreply.github.com>
Copy link
Member

@lhotari lhotari left a comment

Choose a reason for hiding this comment

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

LGTM

@lhotari
Copy link
Member

lhotari commented Jan 5, 2022

@valeriano-manassero Thank you for the contribution. Would it be also possible to update README.md in this PR and remove the instructions of using --set initialize=true when doing the installation?

@valeriano-manassero
Copy link
Contributor Author

@valeriano-manassero Thank you for the contribution. Would it be also possible to update README.md in this PR and remove the instructions of using --set initialize=true when doing the installation?

done

@lhotari lhotari merged commit 25e997a into apache:master Jan 5, 2022
@valeriano-manassero valeriano-manassero deleted the automatic-init branch January 5, 2022 15:08
pgier added a commit to pgier/pulsar that referenced this pull request Jul 13, 2022
The helm option `--set initialize=true` is no longer needed.
See: apache/pulsar-helm-chart#138

Signed-off-by: Paul Gier <paul.gier@datastax.com>
pgier added a commit to pgier/pulsar that referenced this pull request Jul 13, 2022
The helm option `--set initialize=true` is no longer needed.
See: apache/pulsar-helm-chart#138

Signed-off-by: Paul Gier <paul.gier@datastax.com>
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.

Use hooks instead of initialize=true
3 participants