Skip to content

feat: users with SSL Auth#1739

Merged
Slach merged 1 commit intoAltinity:0.25.1from
viktordebulat:feat-ssl-auth-users
Jun 6, 2025
Merged

feat: users with SSL Auth#1739
Slach merged 1 commit intoAltinity:0.25.1from
viktordebulat:feat-ssl-auth-users

Conversation

@viktordebulat
Copy link
Copy Markdown
Contributor

This PR makes possible to add user with SSL authentication, fix #1727

Current logic in user normalizer prevents doing that because if password not set, operator adds it during reconciliation and this brakes CH during startup due to invalid config (either password should be set, or ssl_certificate, not both)

users:
user1/password: qwerty
user1/networks/ip: "::/0"
# Or use SSL Auth (use own CN from certificate), without password
Copy link
Copy Markdown
Collaborator

Choose a reason for hiding this comment

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

maybe better move these changes into separate file where we provide ssl_certificates example?

Copy link
Copy Markdown
Contributor Author

Choose a reason for hiding this comment

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

Good point. Will it be ok to use cert-provider CRDs for it not to mess with those secrets? It is used almost in every environment nowadays

Copy link
Copy Markdown
Collaborator

Choose a reason for hiding this comment

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

no, cert-provider here will over engineering and will too complicated example for understanding

Copy link
Copy Markdown
Contributor Author

Choose a reason for hiding this comment

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

Pushed with separate example @Slach

@Slach Slach requested a review from sunsingerus June 6, 2025 08:25
@viktordebulat viktordebulat force-pushed the feat-ssl-auth-users branch 2 times, most recently from d2925af to 1e3e7b6 Compare June 6, 2025 12:07
@viktordebulat viktordebulat force-pushed the feat-ssl-auth-users branch from 1e3e7b6 to b824e77 Compare June 6, 2025 12:08
@Slach Slach merged commit c39d0d0 into Altinity:0.25.1 Jun 6, 2025
2 checks passed
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