From ecf82b0e2ed02eb8c58d6152f8282bcd6485c26d Mon Sep 17 00:00:00 2001 From: Hermes Agent Date: Mon, 10 Aug 2026 22:31:06 +0300 Subject: [PATCH] =?UTF-8?q?helm:=20ingress=20=D0=B4=D0=BB=D1=8F=20=D0=B2?= =?UTF-8?q?=D0=BD=D0=B5=D1=88=D0=BD=D0=B5=D0=B3=D0=BE=20=D0=B4=D0=BE=D1=81?= =?UTF-8?q?=D1=82=D1=83=D0=BF=D0=B0?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- helm/templates/ingress.yaml | 17 +++++++++++++++++ helm/values.yaml | 2 ++ 2 files changed, 19 insertions(+) create mode 100644 helm/templates/ingress.yaml diff --git a/helm/templates/ingress.yaml b/helm/templates/ingress.yaml new file mode 100644 index 0000000..ff03927 --- /dev/null +++ b/helm/templates/ingress.yaml @@ -0,0 +1,17 @@ +apiVersion: networking.k8s.io/v1 +kind: Ingress +metadata: + name: "{{ $.Release.Name }}-{{ $.Chart.Name }}" + annotations: {} +spec: + rules: + - host: {{.Values.ingress.host }} + http: + paths: + - backend: + service: + name: "{{ $.Release.Name }}-{{ $.Chart.Name }}" + port: + number: {{ .Values.port }} + path: / + pathType: Prefix diff --git a/helm/values.yaml b/helm/values.yaml index 001646e..3825da4 100644 --- a/helm/values.yaml +++ b/helm/values.yaml @@ -37,3 +37,5 @@ app: securityContext: privileged: false +ingress: + host: null