From 4ab93e8e787a3896c4d58b294cea278d97a1b989 Mon Sep 17 00:00:00 2001 From: Dmitrii Sashchenko Date: Fri, 27 Mar 2026 09:13:14 +0000 Subject: [PATCH] =?UTF-8?q?=D0=BD=D1=83=20=D0=B4=D0=B0=20=D0=B4=D0=B5?= =?UTF-8?q?=D1=84=D0=B8=D1=81=D1=8B?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- .helm/templates/_envs.tpl | 8 ++++---- .helm/values.yaml | 2 +- 2 files changed, 5 insertions(+), 5 deletions(-) diff --git a/.helm/templates/_envs.tpl b/.helm/templates/_envs.tpl index 60b6b7f..9497645 100644 --- a/.helm/templates/_envs.tpl +++ b/.helm/templates/_envs.tpl @@ -25,12 +25,12 @@ - name: ENABLE_FRONTEND value: {{ .Values.app.front2 | quote }} - name: ALLOW_CUSTOM_POLICY_URLS - value: {{ .Values.app.custom-policy.enabled | quote }} -{{- if .Values.app.custom-policy.enabled }} + value: {{ .Values.app.custom_policy.enabled | quote }} +{{- if .Values.app.custom_policy.enabled }} - name: CUSTOM_PRIVACY_POLICY_URL - value: {{ .Values.app.custom-policy.privacy-url | quote }} + value: {{ .Values.app.custom_policy.privacy-url | quote }} - name: CUSTOM_TERMS_URL - value: {{ .Values.app.custom-policy.terms-url | quote }} + value: {{ .Values.app.custom_policy.terms-url | quote }} {{- end }} # NATS diff --git a/.helm/values.yaml b/.helm/values.yaml index 6a01b46..fb5df94 100644 --- a/.helm/values.yaml +++ b/.helm/values.yaml @@ -44,7 +44,7 @@ app: # privacy-url и terms-url передаются в приложение только если enabled установлена в true # если enabled = true, но privacy-url и terms-url закомментированы, # то будут использоваться ссылки https://hrbox.io/policy и https://hrbox.io/terms - custom-policy: + custom_policy: enabled: false # privacy-url: "https://example.com/privacy" # terms-url: "https://example.com/terms"