From 709aa3b8ed167fbc4cba18d39995728b07b4556a Mon Sep 17 00:00:00 2001 From: Andru Cherny <8457572+wirwolf@users.noreply.github.com> Date: Fri, 24 Jun 2022 11:02:42 +0300 Subject: [PATCH] move replicas from UI and driver to values Signed-off-by: Andru Cherny (cherry picked from commit 368d8363da519a135815e39342a78b339ba3347b) --- chart/templates/deployment-ui.yaml | 2 +- chart/values.yaml | 1 + 2 files changed, 2 insertions(+), 1 deletion(-) diff --git a/chart/templates/deployment-ui.yaml b/chart/templates/deployment-ui.yaml index 2f8a4e0..06791a1 100644 --- a/chart/templates/deployment-ui.yaml +++ b/chart/templates/deployment-ui.yaml @@ -6,7 +6,7 @@ metadata: name: longhorn-ui namespace: {{ include "release_namespace" . }} spec: - replicas: 1 + replicas: {{ .Values.longhornUI.replicas }} selector: matchLabels: app: longhorn-ui diff --git a/chart/values.yaml b/chart/values.yaml index db70d22..182ab9b 100644 --- a/chart/values.yaml +++ b/chart/values.yaml @@ -171,6 +171,7 @@ longhornDriver: # label-key2: "label-value2" longhornUI: + replicas: 1 priorityClass: ~ tolerations: [] ## If you want to set tolerations for Longhorn UI Deployment, delete the `[]` in the line above