Skip to content

fix(csrapprover): validate CSR requester username matches CommonName for node certificates - #2734

Open
nishantbkl3345-ship-it wants to merge 4 commits into
openyurtio:masterfrom
nishantbkl3345-ship-it:fix/csrapprover-verify-requester-username
Open

fix(csrapprover): validate CSR requester username matches CommonName for node certificates#2734
nishantbkl3345-ship-it wants to merge 4 commits into
openyurtio:masterfrom
nishantbkl3345-ship-it:fix/csrapprover-verify-requester-username

fix(csrapprover): validate CSR requester username matches CommonName …

d131048
Select commit
Loading
Failed to load commit list.
SonarQubeCloud / SonarCloud Code Analysis succeeded Aug 5, 2026 in 19s

Annotations

Check failure on line 332 in pkg/yurtmanager/controller/csrapprover/csr_approver_controller.go

See this annotation in the file changed.

@sonarqubecloud sonarqubecloud / SonarCloud Code Analysis

Define a constant instead of duplicating this literal "system:node:" 4 times.

See more on https://sonarcloud.io/project/issues?id=openyurtio_openyurt&issues=AZ_Ruhh9ovvhtwhOFLzC&open=AZ_Ruhh9ovvhtwhOFLzC&pullRequest=2734