diff --git a/charts/kubedb-webhook-server/templates/service.yaml b/charts/kubedb-webhook-server/templates/service.yaml index af5c06216..76dcbeb8d 100644 --- a/charts/kubedb-webhook-server/templates/service.yaml +++ b/charts/kubedb-webhook-server/templates/service.yaml @@ -15,7 +15,7 @@ metadata: spec: publishNotReadyAddresses: true ports: - - name: https + - name: api port: 443 targetPort: https - name: crd diff --git a/charts/kubedb-webhook-server/templates/servicemonitor.yaml b/charts/kubedb-webhook-server/templates/servicemonitor.yaml index bb0681d2a..fcf72d3dc 100644 --- a/charts/kubedb-webhook-server/templates/servicemonitor.yaml +++ b/charts/kubedb-webhook-server/templates/servicemonitor.yaml @@ -18,7 +18,7 @@ spec: matchLabels: {{- include "kubedb-webhook-server.selectorLabels" . | nindent 6 }} endpoints: - - port: operator + - port: api bearerTokenFile: /var/run/secrets/kubernetes.io/serviceaccount/token scheme: https tlsConfig: