From 01a234364b69ea422ea668b3b2d88c78e1a3fa76 Mon Sep 17 00:00:00 2001 From: Alexander Andryashin Date: Mon, 16 Jan 2023 19:53:54 +0300 Subject: [PATCH 1/2] Add browser limit value. --- moon2/templates/deployment.yaml | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) diff --git a/moon2/templates/deployment.yaml b/moon2/templates/deployment.yaml index 2e40409..73bc460 100644 --- a/moon2/templates/deployment.yaml +++ b/moon2/templates/deployment.yaml @@ -115,8 +115,9 @@ spec: - -callback-url - {{ .Values.deployment.moonCallbackURL }} {{- end }} - {{- range $v := .Values.deployment.moonAdditionalArgs }} - - {{ $v }} + {{- if .Values.deployment.moonBrowserLimit }} + - -browser-limit + - {{ .Values.deployment.moonBrowserLimit | quote }} {{- end }} resources: limits: From fcf5d173ebb2019c656cb90f6962979f977e6d57 Mon Sep 17 00:00:00 2001 From: Alexander Andryashin Date: Mon, 16 Jan 2023 20:04:19 +0300 Subject: [PATCH 2/2] Add browser limit to values.yaml. --- moon2/values.yaml | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/moon2/values.yaml b/moon2/values.yaml index 0dc942f..385e806 100644 --- a/moon2/values.yaml +++ b/moon2/values.yaml @@ -168,9 +168,9 @@ deployment: moonCallbackURL: ## - ## Moon additional arguments. Use it in case you need to pass some parameters to moon binary + ## Moon browser limit. Use it in case you need to lower browser limit than license key allows. Default unset. ## - moonAdditionalArgs: [] + moonBrowserLimit: ## ## Moon-conf image repository. Default is quay.io/aerokube/moon-conf.