Skip to content

Commit

Permalink
Fix service monitor for webhook
Browse files Browse the repository at this point in the history
Signed-off-by: Tamal Saha <[email protected]>
  • Loading branch information
tamalsaha committed Sep 3, 2024
1 parent 347d553 commit ee5655e
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion charts/kubedb-webhook-server/templates/service.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -15,7 +15,7 @@ metadata:
spec:
publishNotReadyAddresses: true
ports:
- name: https
- name: api
port: 443
targetPort: https
- name: crd
Expand Down
2 changes: 1 addition & 1 deletion charts/kubedb-webhook-server/templates/servicemonitor.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -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:
Expand Down

0 comments on commit ee5655e

Please sign in to comment.