Skip to content

[Bug]: tls.Config should use VerifyConnection #10477

Description

@sxd

Is there an existing issue already for this bug?

  • I have searched for an existing issue, and could not find anything. I believe this is a new bug.

I have read the troubleshooting guide

  • I have read the troubleshooting guide and I think this is a new bug.

I am running a supported version of CloudNativePG

  • I have read the troubleshooting guide and I think this is a new bug.

Contact Details

No response

Version

1.29 (latest patch)

What version of Kubernetes are you using?

1.35

What is your Kubernetes environment?

Self-managed: kind (evaluation)

How did you install the operator?

YAML manifest

What happened?

The new golangci-lint 2.11.4 detects a valid error, we're using a custom VerifyPeerCertificate but we don't have VerifyConnection, this could bypass the custom verify connection, this shouldn't be an issue but it's good to have the same method in both places to avoid confusions or add security problems in the future

Cluster resource

Relevant log output

Code of Conduct

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

Activity

  1. added this to the Now milestone on Apr 17, 2026
  2. self-assigned this
    on Apr 17, 2026
  3. added theissue type on Apr 17, 2026
  4. added a commit that references this issue on Apr 22, 2026
    4d8e1d0
  5. added a commit that references this issue on Apr 22, 2026
    9309106
  6. added 2 commits that reference this issue on Apr 22, 2026
    d0fd3ff
    b8fd830
  7. added a commit that references this issue on Apr 22, 2026
    7111be4
  8. added
    bug 🐛Something isn't working
    and removed on Jun 21, 2026
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

Labels

bug 🐛Something isn't workingrisk 💥Risk/Compliance

Type

Projects

Milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions