Skip to content

Commit

Permalink
Make buildin prom compatible with mergeMetrics feature
Browse files Browse the repository at this point in the history
  • Loading branch information
ciiiii committed Nov 21, 2024
1 parent a2ca2d8 commit 9e4b6ed
Show file tree
Hide file tree
Showing 4 changed files with 4 additions and 4 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -53,7 +53,7 @@ data:
- {{ template "pulsar.namespace" . }}
{{- end }}
{{- if .Values.istio.enabled }}
{{- if .Values.istio.migration }}
{{- if or .Values.istio.migration .Values.istio.mergeMetrics }}
scheme: http
enable_http2: false
{{- else }}
Expand Down
2 changes: 1 addition & 1 deletion charts/sn-platform-slim/values.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -2144,7 +2144,7 @@ istio:
migration: false
# istio labels used to inject sidecars if it's not `sidecar.istio.io/inject: "true"`
labels: {}
# If you're using the prometheus in this chart, please keep mergeMetrics disabled.
# mergeMetrics should be enabled if you want to scrape pulsar metrics from an external prometheus not running on Istio
mergeMetrics: false
gateway:
# gateway selector if it's not `istio: ingressgateway`
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -53,7 +53,7 @@ data:
- {{ template "pulsar.namespace" . }}
{{- end }}
{{- if .Values.istio.enabled }}
{{- if .Values.istio.migration }}
{{- if or .Values.istio.migration .Values.istio.mergeMetrics }}
scheme: http
enable_http2: false
{{- else }}
Expand Down
2 changes: 1 addition & 1 deletion charts/sn-platform/values.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -2509,7 +2509,7 @@ istio:
migration: false
# istio labels used to inject sidecars if it's not `sidecar.istio.io/inject: "true"`
labels: {}
# If you're using the prometheus in this chart, please keep mergeMetrics disabled.
# mergeMetrics should be enabled if you want to scrape pulsar metrics from an external prometheus not running on Istio
mergeMetrics: false
gateway:
# gateway selector if it's not `istio: ingressgateway`
Expand Down

0 comments on commit 9e4b6ed

Please sign in to comment.