mirror of https://github.com/kedacore/charts.git
Add appProtocol to services collecting metrics using mTLS (#688)
This commit is contained in:
parent
73f6a7b598
commit
d57aae4fd3
|
|
@ -33,6 +33,9 @@ spec:
|
|||
- name: metrics
|
||||
port: {{ .Values.prometheus.operator.port }}
|
||||
targetPort: {{ .Values.prometheus.operator.port }}
|
||||
{{- with .Values.prometheus.operator.appProtocol }}
|
||||
appProtocol: {{ . }}
|
||||
{{- end }}
|
||||
{{- end }}
|
||||
{{- if .Values.profiling.operator.enabled }}
|
||||
- name: profiling
|
||||
|
|
|
|||
|
|
@ -37,6 +37,9 @@ spec:
|
|||
port: {{ .Values.prometheus.metricServer.port }}
|
||||
targetPort: {{ .Values.prometheus.metricServer.port }}
|
||||
protocol: TCP
|
||||
{{- with .Values.prometheus.metricServer.appProtocol }}
|
||||
appProtocol: {{ . }}
|
||||
{{- end }}
|
||||
{{- if .Values.profiling.metricsServer.enabled }}
|
||||
- name: profiling
|
||||
port: {{ .Values.profiling.metricsServer.port }}
|
||||
|
|
|
|||
|
|
@ -36,6 +36,9 @@ spec:
|
|||
- name: {{ .Values.prometheus.webhooks.serviceMonitor.port }}
|
||||
port: {{ .Values.prometheus.webhooks.port }}
|
||||
targetPort: {{ .Values.prometheus.webhooks.port }}
|
||||
{{- with .Values.prometheus.webhooks.appProtocol }}
|
||||
appProtocol: {{ . }}
|
||||
{{- end }}
|
||||
{{- end }}
|
||||
{{- if .Values.profiling.webhooks.enabled }}
|
||||
- name: profiling
|
||||
|
|
|
|||
|
|
@ -605,6 +605,8 @@ prometheus:
|
|||
port: 8080
|
||||
# -- HTTP port name for exposing metrics server prometheus metrics
|
||||
portName: metrics
|
||||
# -- App Protocol for service when scraping metrics endpoint
|
||||
# appProtocol: http
|
||||
serviceMonitor:
|
||||
# -- Enables ServiceMonitor creation for the Prometheus Operator
|
||||
enabled: false
|
||||
|
|
@ -658,6 +660,8 @@ prometheus:
|
|||
enabled: false
|
||||
# -- Port used for exposing KEDA Operator prometheus metrics
|
||||
port: 8080
|
||||
# -- App Protocol for service when scraping metrics endpoint
|
||||
# appProtocol: http
|
||||
serviceMonitor:
|
||||
# -- Enables ServiceMonitor creation for the Prometheus Operator
|
||||
enabled: false
|
||||
|
|
@ -729,6 +733,8 @@ prometheus:
|
|||
enabled: false
|
||||
# -- Port used for exposing KEDA admission webhooks prometheus metrics
|
||||
port: 8080
|
||||
# -- App Protocol for service when scraping metrics endpoint
|
||||
# appProtocol: http
|
||||
serviceMonitor:
|
||||
# -- Enables ServiceMonitor creation for the Prometheus webhooks
|
||||
enabled: false
|
||||
|
|
|
|||
Loading…
Reference in New Issue