Skip to content

[bug]: Allow ssl_ecdh_curve parameter #11310

Description

@Jamstah

Is there an existing issue already for this feature request/idea?

  • I have searched for an existing issue, and could not find anything. I believe this is a new feature request to be evaluated.

What problem is this feature going to solve? Why should it be added?

I'd like to use X25519 with postgres 16, but the webhook doesn't allow me to change the ssl_ecdh_curve parameter. I couldn't see a reason in the code to restrict setting this parameter (its not set as a result of other CR settings like many of the other ssl parameters), so raising this PR.

If I was using postgres 18 I'd be able to use the ssl_groups paramter instead, which isn't blocked by the webhook.

Describe the solution you'd like

Remove the webhook block for ssl_ecdh_curve

Describe alternatives you've considered

Disabling the webhook for the CR

Additional context

Would also be useful for migrating to postgres 18 later because postgres 18 will also respect the ssl_ecdh_curve setting, so I can upgrade then change the config to ssl_groups afterwards.

Backport?

Yes

Are you willing to actively contribute to this feature?

Yes (pr: #11308)

Code of Conduct

  • I agree to follow this project's Code of Conduct

Activity

  1. added
    triage
    on Aug 11, 2026
  2. gbartolini commented on Aug 12, 2026

    @gbartolini
    Contributor

    Oh ... you are right, thanks! We don't block ssl_groups.

  3. gbartolini commented on Aug 12, 2026

    @gbartolini
    Contributor

    I agree that this parameter should not have been fixed in the first place, as a result it is more a bug. Thanks for raising this.

  4. added
    bug 🐛
    and removed
    triage
    on Aug 12, 2026
  5. moved this to Waiting for Second Review in CloudNativePG operator developmenton Aug 12, 2026
  6. added this to the 1.30.1 milestone on Aug 12, 2026
  7. changed the title [-][Feature]: Allow ssl_ecdh_curve parameter[/-] [+][bug]: Allow ssl_ecdh_curve parameter[/+] on Aug 12, 2026
  8. added a commit that references this issue on Aug 17, 2026
    617d630
  9. moved this from Waiting for Second Review to Done in CloudNativePG operator developmenton Aug 17, 2026
  10. added 3 commits that reference this issue on Aug 17, 2026
    90eceba
    993e4e8
    bb7233d
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

Labels

bug 🐛

Type

Projects

Milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions