Skip to content

Commit

Permalink
implement kep code
Browse files Browse the repository at this point in the history
  • Loading branch information
kannon92 committed Feb 27, 2025
1 parent f9b30dc commit 1529104
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions cmd/kueue/main.go
Original file line number Diff line number Diff line change
Expand Up @@ -157,8 +157,8 @@ func main() {
FilterProvider: filters.WithAuthenticationAndAuthorization,
}

if cfg.Metrics.UseTLS {
metricsCertPath := "/tmp/k8s-metrics-server/metrics-certs"
if cfg.InternalCertManagement == nil || !*cfg.InternalCertManagement.Enable {
metricsCertPath := "/etc/kueue/metrics-certs"
setupLog.Info("Initializing metrics certificate watcher using provided certificates",
"metrics-cert-path", metricsCertPath)

Expand Down

0 comments on commit 1529104

Please sign in to comment.