Browse Source

feat(helm) Just use named port for webhook (#5108)

Signed-off-by: Pat Riehecky <riehecky@fnal.gov>
Co-authored-by: Gergely Brautigam <182850+Skarlso@users.noreply.github.com>
Pat Riehecky 8 months ago
parent
commit
38d355faf7
1 changed files with 1 additions and 1 deletions
  1. 1 1
      deploy/charts/external-secrets/templates/webhook-service.yaml

+ 1 - 1
deploy/charts/external-secrets/templates/webhook-service.yaml

@@ -21,7 +21,7 @@ spec:
   {{- end }}
   {{- end }}
   ports:
   ports:
   - port: 443
   - port: 443
-    targetPort: {{ .Values.webhook.port }}
+    targetPort: webhook
     protocol: TCP
     protocol: TCP
     name: webhook
     name: webhook
   {{- if or .Values.webhook.metrics.service.enabled ( and ( .Capabilities.APIVersions.Has "monitoring.coreos.com/v1" ) .Values.serviceMonitor.enabled ) }}
   {{- if or .Values.webhook.metrics.service.enabled ( and ( .Capabilities.APIVersions.Has "monitoring.coreos.com/v1" ) .Values.serviceMonitor.enabled ) }}