From af6a2551149e9de1ec508d43c1f5c3e484a88ca6 Mon Sep 17 00:00:00 2001 From: "Everton H. Taques" <97463920+etaques@users.noreply.github.com> Date: Fri, 19 Jan 2024 17:40:41 -0300 Subject: [PATCH] Update nginx-internal.yaml --- charts/orb/templates/nginx-internal.yaml | 14 +++++++++++++- 1 file changed, 13 insertions(+), 1 deletion(-) diff --git a/charts/orb/templates/nginx-internal.yaml b/charts/orb/templates/nginx-internal.yaml index 6dbfd33..0f9d81c 100644 --- a/charts/orb/templates/nginx-internal.yaml +++ b/charts/orb/templates/nginx-internal.yaml @@ -430,8 +430,8 @@ spec: secret: secretName: {{ .Values.ingress.secret }} {{- end }} ---- +--- apiVersion: v1 kind: Service metadata: @@ -444,6 +444,18 @@ spec: - port: 8883 protocol: TCP name: mqtt + type: {{ .Values.ingress.serviceType }} + +--- +apiVersion: v1 +kind: Service +metadata: + name: {{ .Release.Name }}-nginx-internal-metrics +spec: + selector: + app: {{ .Release.Name }} + component: nginx-internal + ports: - port: 8080 protocol: TCP name: metrics