From 4a03eda4d521ed8768b545f778c3e25b02ba727d Mon Sep 17 00:00:00 2001 From: Vladimir Pankin <55059051+reyvonger@users.noreply.github.com> Date: Thu, 2 Nov 2023 19:39:07 +1000 Subject: [PATCH] add ingress labels (#74) * Update ingress.yaml --- charts/allure-testops/templates/network/ingress.yaml | 1 + charts/allure-testops/values.yaml | 1 + 2 files changed, 2 insertions(+) diff --git a/charts/allure-testops/templates/network/ingress.yaml b/charts/allure-testops/templates/network/ingress.yaml index 21049d2..892d41a 100644 --- a/charts/allure-testops/templates/network/ingress.yaml +++ b/charts/allure-testops/templates/network/ingress.yaml @@ -9,6 +9,7 @@ metadata: chart: "{{ .Chart.Name }}-{{ .Chart.Version }}" release: "{{ .Release.Name }}" heritage: "{{ .Release.Service }}" +{{ toYaml .Values.network.ingress.labels | indent 4 }} {{- if .Values.network.ingress.annotations }} annotations: {{ toYaml .Values.network.ingress.annotations | indent 4 }} diff --git a/charts/allure-testops/values.yaml b/charts/allure-testops/values.yaml index b8db991..81598d3 100644 --- a/charts/allure-testops/values.yaml +++ b/charts/allure-testops/values.yaml @@ -90,6 +90,7 @@ network: # Update if you are using nginx as ingress controller enabled: false className: + labels: {} annotations: nginx.ingress.kubernetes.io/ssl-redirect: "false" nginx.ingress.kubernetes.io/proxy-body-size: "500m"