We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 8d85dac commit 152f624Copy full SHA for 152f624
main.go
@@ -135,9 +135,13 @@ func main() {
135
}
136
137
certsReady := make(chan struct{})
138
- if err = cert.CertsManager(mgr, cfg, certsReady); err != nil {
139
- setupLog.Error(err, "unable to setup cert rotation")
140
- os.Exit(1)
+ if cfg.InternalCertManagement != nil && *cfg.InternalCertManagement.Enable {
+ if err = cert.CertsManager(mgr, cfg, certsReady); err != nil {
+ setupLog.Error(err, "Unable to set up cert rotation")
141
+ os.Exit(1)
142
+ }
143
+ } else {
144
+ close(certsReady)
145
146
147
ctx := ctrl.SetupSignalHandler()
0 commit comments