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 4673550 commit d38b869Copy full SHA for d38b869
cmd/external-secrets-operator/main.go
@@ -154,7 +154,11 @@ func main() {
154
metricsServerOptions.KeyName = metricsKeyFileName
155
}
156
metricsTLSOpts = append(metricsTLSOpts, func(c *tls.Config) {
157
- certPool := x509.NewCertPool()
+ certPool, err := x509.SystemCertPool()
158
+ if err != nil {
159
+ setupLog.Error(err, "failed to load system certificate pool")
160
+ os.Exit(1)
161
+ }
162
openshiftCACert, err := os.ReadFile(openshiftCACertificateFile)
163
if err != nil {
164
setupLog.Error(err, "failed to read OpenShift CA certificate")
0 commit comments