Skip to content

Commit

Permalink
Added appProtocol
Browse files Browse the repository at this point in the history
  • Loading branch information
guicholeo committed Sep 12, 2024
1 parent a8d5aa3 commit 170e6b4
Show file tree
Hide file tree
Showing 4 changed files with 15 additions and 0 deletions.
3 changes: 3 additions & 0 deletions keda/templates/manager/service.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down
3 changes: 3 additions & 0 deletions keda/templates/metrics-server/service.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -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 }}
Expand Down
3 changes: 3 additions & 0 deletions keda/templates/webhooks/service.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down
6 changes: 6 additions & 0 deletions keda/values.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -601,6 +601,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
Expand Down Expand Up @@ -654,6 +656,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
Expand Down Expand Up @@ -725,6 +729,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
Expand Down

0 comments on commit 170e6b4

Please sign in to comment.