diff --git a/maestro/templates/deployment.yaml b/maestro/templates/deployment.yaml index 6629db6..ac9eaae 100644 --- a/maestro/templates/deployment.yaml +++ b/maestro/templates/deployment.yaml @@ -100,6 +100,8 @@ spec: value: {{ .Values.maestro.open_customer_id }} - name: OPEN_GROUP_ID value: {{ .Values.maestro.open_group_id }} + - name: DEDICATED_PROXY + value: {{ .Values.maestro.dedicated_proxy }} - name: JWT_PRIVATE_KEY valueFrom: secretKeyRef: diff --git a/maestro/templates/ingress-private.yaml b/maestro/templates/ingress-private.yaml index 70f8eb6..1ace950 100644 --- a/maestro/templates/ingress-private.yaml +++ b/maestro/templates/ingress-private.yaml @@ -11,7 +11,11 @@ metadata: generation: 1 labels: app: {{ .Values.app_name }} + {{- if .Values.maestro.dedicated_proxy}} name: open-data-{{ .Values.app_name }} + {{- else }} + name: open-data + {{- end }} namespace: applications spec: ingressClassName: nginx