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

[bitnami/common] Drop unused custom empty password validators #29432

Merged
merged 5 commits into from
Oct 14, 2024

Conversation

LeoColomb
Copy link
Contributor

@LeoColomb LeoColomb commented Sep 15, 2024

Description of the change

With the new password management common helper (common.secrets.passwords.manage), custom/dedicated empty password validators are not necessary anymore.
In fact, most of them are already not used anymore.
The following helpers are dropped:

Please note that common.validations.values.mariadb.passwords has not been removed because still referenced a lot across the charts. Probably better to handle it in a separate PR.

Benefits

Reduce the size and the complexity of the empty password validators, simplifying maintenance.
Also promote indirectly the use of common.secrets.passwords.manage, handling the validation.

Possible drawbacks

Applicable issues

Additional information

Checklist

  • Chart version bumped in Chart.yaml according to semver. This is not necessary when the changes only affect README.md files.
  • Title of the pull request follows this pattern [bitnami/<name_of_the_chart>] Descriptive title
  • All commits signed off and in agreement of Developer Certificate of Origin (DCO)

@github-actions github-actions bot added the triage Triage is needed label Sep 15, 2024
@javsalgar
Copy link
Contributor

Hi!

Thank you so much for the PRs! Just like the previous one, could you separate it into different PRs? Our automations work in a one PR per app basis

@LeoColomb LeoColomb changed the title [bitnami/*] Drop unused custom empty password validators [bitnami/common] Drop unused custom empty password validators Sep 16, 2024
Promote generic `common.secrets.passwords.manage` use

Signed-off-by: Léo Colombaro <[email protected]>
Signed-off-by: Bitnami Containers <[email protected]>
@carrodher carrodher added verify Execute verification workflow for these changes in-progress common labels Sep 17, 2024
Signed-off-by: Bitnami Containers <[email protected]>
javsalgar
javsalgar previously approved these changes Sep 19, 2024
@LeoColomb
Copy link
Contributor Author

Let me know if anything additional need to be done in here 😊 @javsalgar

@javsalgar javsalgar assigned juan131 and unassigned javsalgar Oct 14, 2024
Signed-off-by: Javier J. Salmerón García <[email protected]>
Signed-off-by: Bitnami Containers <[email protected]>
Copy link
Contributor

@juan131 juan131 left a comment

Choose a reason for hiding this comment

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

I can confirm these common helpers aren't used anymore in the catalog, LGTM

@juan131 juan131 merged commit 5fb0e97 into bitnami:main Oct 14, 2024
10 checks passed
@LeoColomb LeoColomb deleted the feat/clean-validators branch October 14, 2024 09:41
mike12806 pushed a commit to mike12806/charts that referenced this pull request Oct 30, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
common solved triage Triage is needed verify Execute verification workflow for these changes
Projects
None yet
Development

Successfully merging this pull request may close these issues.

5 participants