From 87f5225f7a74ab2b84805e7e8876c571b0752de9 Mon Sep 17 00:00:00 2001 From: Tigran Mkrtchyan Date: Wed, 28 Aug 2024 21:11:22 +0200 Subject: [PATCH] add frontedn with tls --- templates/configmap.yaml | 11 ++++++++++- templates/door-svc.yaml | 6 ++++++ values.yaml | 3 +++ 3 files changed, 19 insertions(+), 1 deletion(-) diff --git a/templates/configmap.yaml b/templates/configmap.yaml index fb14130..e042a2b 100644 --- a/templates/configmap.yaml +++ b/templates/configmap.yaml @@ -28,9 +28,18 @@ data: {{ if .Values.services.frontend.enabled }} [door-svc/frontend] + frontend.cell.name = Frontend frontend.authn.protocol=http frontend.net.port=3880 - frontend.authz.anonymous-operations=FULL + frontend.authz.anonymous-operations=READONLY + {{- end }} + + {{ if .Values.services.frontends.enabled }} + [door-svc/frontend] + frontend.cell.name = Frontend-S + frontend.authn.protocol=https + frontend.net.port=3881 + frontend.authz.anonymous-operations=READONLY {{- end }} {{ if .Values.services.nfs.enabled }} diff --git a/templates/door-svc.yaml b/templates/door-svc.yaml index 3b0ba89..46d1604 100644 --- a/templates/door-svc.yaml +++ b/templates/door-svc.yaml @@ -77,6 +77,12 @@ spec: targetPort: 3880 {{- end }} + {{ if .Values.services.frontends.enabled }} + - name: frontend-s-door + port: {{ $.Values.services.frontends.port }} + targetPort: 3881 + {{- end }} + - name: cell-tunnel port: {{ $.Values.cell.tunnel }} targetPort: 11111 diff --git a/values.yaml b/values.yaml index 8e1b89d..d34719f 100644 --- a/values.yaml +++ b/values.yaml @@ -105,6 +105,9 @@ services: enabled: true port: 3880 + frontends: + enabled: true + port: 3881 mover: nfs: 32049