From b1db3d75b785f0da27c7a88b9d092bb427b0a1b6 Mon Sep 17 00:00:00 2001 From: Ivan Krutov Date: Tue, 24 Nov 2020 19:22:11 +0300 Subject: [PATCH 1/2] Added Opera 72.0 image --- moon/values.yaml | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/moon/values.yaml b/moon/values.yaml index deaa85c..f324514 100644 --- a/moon/values.yaml +++ b/moon/values.yaml @@ -852,8 +852,11 @@ moon: cpu: "2" memory: "4Gi" opera: - default: "71.0" + default: "72.0" versions: + "72.0": + image: selenoid/vnc_opera:72.0 + port: "4444" "71.0": image: selenoid/vnc_opera:71.0 port: "4444" From ac01558af77a2b6f6fc9cd16d29f6d3a751f6a60 Mon Sep 17 00:00:00 2001 From: Ivan Krutov Date: Tue, 24 Nov 2020 20:24:06 +0300 Subject: [PATCH 2/2] Added flag to enable UI authentication --- moon/templates/moon.yaml | 18 ++++++++++++++++++ moon/values.yaml | 6 ++++++ 2 files changed, 24 insertions(+) diff --git a/moon/templates/moon.yaml b/moon/templates/moon.yaml index 1a7f17b..69a3791 100644 --- a/moon/templates/moon.yaml +++ b/moon/templates/moon.yaml @@ -272,6 +272,14 @@ spec: - http://localhost:8888 - -webdriver-uri - http://localhost:4444 + {{- if .Values.moon.ui }} + {{- if .Values.moon.ui.auth }} + {{- if .Values.moon.ui.auth.enabled }} + - -users + - /users/users.htpasswd + {{- end }} + {{- end }} + {{- end }} {{- if .Values.moon.enabled.resources }} {{- if .Values.moon.ui }} {{- if .Values.moon.ui.resources }} @@ -283,6 +291,16 @@ spec: ports: - name: moon-ui containerPort: 8080 + {{- if .Values.moon.ui }} + {{- if .Values.moon.ui.auth }} + {{- if .Values.moon.ui.auth.enabled }} + volumeMounts: + - name: users + mountPath: /users + readOnly: true + {{- end }} + {{- end }} + {{- end }} volumes: - name: quota configMap: diff --git a/moon/values.yaml b/moon/values.yaml index f324514..55c20d9 100644 --- a/moon/values.yaml +++ b/moon/values.yaml @@ -97,6 +97,12 @@ moon: cpu: "0.05" memory: 64Mi +# ## +# ## Enable authentication for moon-ui. +# ## +# auth: +# enabled: true + ## ## Moon entrypoint. ##