Browse Source

Updated default ports to 10250

Signed-off-by: Gustavo Carvalho <gustavo.carvalho@container-solutions.com>
Gustavo Carvalho 4 years ago
parent
commit
26a824fb2a
2 changed files with 2 additions and 2 deletions
  1. 1 1
      cmd/webhook.go
  2. 1 1
      deploy/charts/external-secrets/values.yaml

+ 1 - 1
cmd/webhook.go

@@ -171,7 +171,7 @@ func init() {
 	rootCmd.AddCommand(webhookCmd)
 	webhookCmd.Flags().StringVar(&metricsAddr, "metrics-addr", ":8080", "The address the metric endpoint binds to.")
 	webhookCmd.Flags().StringVar(&healthzAddr, "healthz-addr", ":8081", "The address the health endpoint binds to.")
-	webhookCmd.Flags().IntVar(&port, "port", 9443, "The address the health endpoint binds to.")
+	webhookCmd.Flags().IntVar(&port, "port", 10250, "The address the health endpoint binds to.")
 	webhookCmd.Flags().StringVar(&dnsName, "dns-name", "localhost", "DNS name to validate certificates with")
 	webhookCmd.Flags().StringVar(&certDir, "cert-dir", "/tmp/k8s-webhook-server/serving-certs", "path to check for certs")
 	webhookCmd.Flags().StringVar(&loglevel, "loglevel", "info", "loglevel to use, one of: debug, info, warn, error, dpanic, panic, fatal")

+ 1 - 1
deploy/charts/external-secrets/values.yaml

@@ -125,7 +125,7 @@ webhook:
   nameOverride: ""
   fullnameOverride: ""
   # -- The port the webhook will listen to
-  port: 443
+  port: 10250
   rbac:
   # -- Specifies whether role and rolebinding resources should be created.
     create: true