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 name: longhorn-ui
namespace: {{ include "release_namespace" . }} namespace: {{ include "release_namespace" . }}
spec: spec:
replicas: 1 replicas: {{ .Values.longhornUI.replicas }}
selector: selector:
matchLabels: matchLabels:
app: longhorn-ui app: longhorn-ui

View File

@ -155,6 +155,7 @@ longhornDriver:
# label-key2: "label-value2" # label-key2: "label-value2"
longhornUI: longhornUI:
replicas: 1
priorityClass: ~ priorityClass: ~
tolerations: [] tolerations: []
## If you want to set tolerations for Longhorn UI Deployment, delete the `[]` in the line above ## If you want to set tolerations for Longhorn UI Deployment, delete the `[]` in the line above