diff --git a/charts/metrics-server/templates/service.yaml b/charts/metrics-server/templates/service.yaml index d45bcf36a..35318a48b 100644 --- a/charts/metrics-server/templates/service.yaml +++ b/charts/metrics-server/templates/service.yaml @@ -19,5 +19,6 @@ spec: port: {{ .Values.service.port }} protocol: TCP targetPort: https + appProtocol: https selector: {{- include "metrics-server.selectorLabels" . | nindent 4 }} diff --git a/manifests/base/service.yaml b/manifests/base/service.yaml index d1785c989..79eaaef0a 100644 --- a/manifests/base/service.yaml +++ b/manifests/base/service.yaml @@ -10,3 +10,4 @@ spec: port: 443 protocol: TCP targetPort: https + appProtocol: https