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

operator: preserve bootstrap user password during flux migrations #438

Open
wants to merge 1 commit into
base: main
Choose a base branch
from

Conversation

chrisseto
Copy link
Contributor

This is a "forward port" of #433 because it skipped my mind that this is required in main despite the impending removal of flux.

Prior to this commit, toggling useFlux from true <-> false would result in the bootstrap user's password being re-minted due to the chart gating the check for existing Secrets with .Release.IsUpgrade and the operator failing to set that field.

This commit bumps the chart to a version that always runs the lookup check to correctly manage transitions to and from flux installations.

Additionally, this commit includes an update to the operator's integration test suite which self hosts a helm repository if a replace directive targeting the redpanda helm chart is found in the go.mod. This makes it possible to test local changes of the helm chart in both flux and defluxed modes.

Prior to this commit, toggling useFlux from true <-> false would result in the
bootstrap user's password being re-minted due to the chart gating the check for
existing Secrets with `.Release.IsUpgrade` and the operator failing to set that
field.

This commit bumps the chart to a version that always runs the lookup check to
correctly manage transitions to and from flux installations.

Additionally, this commit includes an update to the operator's integration test
suite which self hosts a helm repository if a replace directive targeting the
redpanda helm chart is found in the go.mod. This makes it possible to test
local changes of the helm chart in both flux and defluxed modes.
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.

2 participants