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