From 84f8740d23c0a77ccbc8e8a41c93d2b2c4fcb8b4 Mon Sep 17 00:00:00 2001 From: Ivan Krutov Date: Wed, 25 Nov 2020 11:11:48 +0300 Subject: [PATCH] Ability to override UI image in values.yaml (fixes #36) --- moon/templates/moon.yaml | 4 ++++ moon/values.yaml | 4 ++++ 2 files changed, 8 insertions(+) diff --git a/moon/templates/moon.yaml b/moon/templates/moon.yaml index 3ca8eef..b500dca 100644 --- a/moon/templates/moon.yaml +++ b/moon/templates/moon.yaml @@ -266,7 +266,11 @@ spec: mountPath: /license readOnly: true - name: moon-ui + {{- if and .Values.moon.ui .Values.moon.ui.image }} + image: {{ .Values.moon.ui.image }} + {{- else }} image: aerokube/selenoid-ui:1.10.2 + {{- end }} args: - -status-uri - http://localhost:8888 diff --git a/moon/values.yaml b/moon/values.yaml index 4c31d3e..731040a 100644 --- a/moon/values.yaml +++ b/moon/values.yaml @@ -96,6 +96,10 @@ moon: requests: cpu: "0.05" memory: 64Mi +# ## +# ## Override moon-ui image +# ## +# image: aerokube/selenoid-ui:dev # ## # ## Enable authentication for moon-ui.