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

Simplify admin hash in the secret #106

Merged
merged 6 commits into from
Jan 9, 2023
Merged

Simplify admin hash in the secret #106

merged 6 commits into from
Jan 9, 2023

Conversation

rileyai-dev
Copy link
Contributor

What this PR does / why we need it:

This PR is for simplifying the adminHash in the secret

Special notes for your reviewer:

Checklist

[Place an '[x]' (no spaces) in all applicable fields. Please remove unrelated fields.

  • Chart Version bumped
  • e2e tests pass
  • Variables are documented in the README.md

couchdb/README.md Outdated Show resolved Hide resolved
couchdb/README.md Outdated Show resolved Hide resolved
willholley
willholley previously approved these changes Jan 9, 2023
@willholley
Copy link
Member

The changes look good. However, I think it would be a breaking change for anybody that followed the instructions at https://github.com/apache/couchdb-helm/tree/main/couchdb#installing-the-chart to create their own admin secret containing a password.ini key. Probably this is a very small number of users, but it strictly should warrant a major chart version bump given Helm assumes SemVer 2.

Sorry not to have twigged this sooner - do you think you could bump the version to 4.0.0 and add a brief migration section under the version in NEWS.md?

@willholley willholley dismissed their stale review January 9, 2023 15:55

change is breaking so needs a major version bump

@willholley willholley merged commit 3d244ba into apache:main Jan 9, 2023
sebastien-helbert pushed a commit to sebastien-helbert/couchdb-helm that referenced this pull request Jan 9, 2023
Replaces the `password.ini` field in the internal secret resource with a field `adminHash`. This simplifies the management of the admin hash but breaks compatibility with the previous `password.ini` if `createAdminSecret` is set to `false`, hence the major version bump.
@yekibud yekibud mentioned this pull request Jan 15, 2023
3 tasks
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