fix(helm,podmonitor): add podMonitorSelector for gateway metrics configuration (#3022)

This commit is contained in:
steven
2025-12-26 17:25:06 +08:00
committed by GitHub
parent 38d50bbdad
commit 4babdb6a4f
4 changed files with 10 additions and 0 deletions

View File

@@ -5,6 +5,9 @@ metadata:
namespace: {{ .Release.Namespace }}
labels:
{{- include "gateway.labels" . | nindent 4}}
{{- with .Values.gateway.metrics.podMonitorSelector }}
{{- toYaml . | nindent 4 }}
{{- end }}
annotations:
{{- .Values.gateway.annotations | toYaml | nindent 4 }}
spec: