Skip to content

Commit

Permalink
fix: envs signer will be overwritten if set (#1750)
Browse files Browse the repository at this point in the history
  • Loading branch information
jiuker authored Sep 5, 2023
1 parent 73ff101 commit 0e9f399
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions pkg/controller/certificates/csr.go
Original file line number Diff line number Diff line change
Expand Up @@ -63,6 +63,7 @@ func getDefaultCsrSignerName() string {
defaultCsrSignerNameOnce.Do(func() {
if os.Getenv(CSRSignerName) != "" {
defaultCsrSignerName = os.Getenv(CSRSignerName)
return
}
defaultCsrSignerName = certificatesV1.KubeletServingSignerName
})
Expand Down

0 comments on commit 0e9f399

Please sign in to comment.