Skip to content

Commit

Permalink
env's singer will be overwritten if set
Browse files Browse the repository at this point in the history
  • Loading branch information
jiuker committed Sep 4, 2023
1 parent 619699e commit 22d1519
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 22d1519

Please sign in to comment.