move replicas from UI and driver to values

Signed-off-by: Andru Cherny <wiroatom@gmail.com>
This commit is contained in:
Andru Cherny 2022-06-24 11:02:42 +03:00 committed by David Ko
parent 1e8dd33559
commit 368d8363da
2 changed files with 2 additions and 1 deletions

View File

@ -6,7 +6,7 @@ metadata:
name: longhorn-ui
namespace: {{ include "release_namespace" . }}
spec:
replicas: 1
replicas: {{ .Values.longhornUI.replicas }}
selector:
matchLabels:
app: longhorn-ui

View File

@ -155,6 +155,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