Skip to content

Commit c5ecbb0

Browse files
Add prom-label-proxy DNS names to service-gateway TLS certificate for monitoring namespace (#1304)
Signed-off-by: Rokibul Hasan <mdrokibulhasan@appscode.com>
1 parent 1d8a219 commit c5ecbb0

1 file changed

Lines changed: 5 additions & 0 deletions

File tree

charts/service-gateway/templates/gateway-tls/certificate.yaml

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -26,6 +26,11 @@ spec:
2626
- {{ include "tenant.name" . }}-s3proxy
2727
- {{ include "tenant.name" . }}-s3proxy.{{ .Release.Namespace }}.svc
2828
- {{ include "tenant.name" . }}-s3proxy.{{ .Release.Namespace }}.svc.cluster.local
29+
{{- if eq .Release.Namespace "monitoring" }}
30+
- prom-label-proxy
31+
- prom-label-proxy.{{ .Release.Namespace }}.svc
32+
- prom-label-proxy.{{ .Release.Namespace }}.svc.cluster.local
33+
{{- end }}
2934
{{- end }}
3035

3136
{{- if eq .Values.infra.hostType "domain" }}

0 commit comments

Comments
 (0)