Skip to content

Commit

Permalink
Configurable webhook target port (banzaicloud#896)
Browse files Browse the repository at this point in the history
* Configurable webhook targetPort

* Add metrics endpoint targetPort
  • Loading branch information
balassai authored Nov 28, 2022
1 parent c51f8a7 commit 425fbaf
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions charts/kafka-operator/templates/operator-service.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -28,7 +28,9 @@ spec:
ports:
- name: https
port: 443
targetPort: {{ (.Values.webhook).serverPort | default 443 }}
{{- if and .Values.prometheusMetrics.enabled (not .Values.prometheusMetrics.authProxy.enabled) }}
- name: metrics
port: 8080
targetPort: {{ (.Values.metricEndpoint).port | default 8080 }}
{{- end }}

0 comments on commit 425fbaf

Please sign in to comment.