From 468c70761468ae1bea37072f444419d7f783f359 Mon Sep 17 00:00:00 2001 From: Ashish Jaiswal Date: Wed, 14 Aug 2024 23:34:31 +0530 Subject: [PATCH] fix: handle puppet agent for user which has few puppet agent --- .../puppetserver/templates/ingressroutetcp.yaml | 7 +++++++ 1 file changed, 7 insertions(+) diff --git a/argocd-helm-charts/puppetserver/templates/ingressroutetcp.yaml b/argocd-helm-charts/puppetserver/templates/ingressroutetcp.yaml index 49086716b..777c38bd1 100644 --- a/argocd-helm-charts/puppetserver/templates/ingressroutetcp.yaml +++ b/argocd-helm-charts/puppetserver/templates/ingressroutetcp.yaml @@ -11,5 +11,12 @@ spec: services: - name: puppetserver-{{ .Values.customerid }}-puppet port: puppetserver + {{- range .Values.ingressroutes.mastersFor }} + - match: HostSNI(`{{ . }}.puppet.obmondo.com`) + priority: 10 + services: + - name: puppetserver-{{ $.Values.customerid }}-puppet + port: puppetserver + {{- end }} tls: passthrough: true