longhorn is now kustomized
This commit is contained in:
parent
8e1a70a15a
commit
9bfa8e26cb
|
@ -1,3 +1 @@
|
|||
helm repo add longhorn https://charts.longhorn.io && helm repo update
|
||||
|
||||
helm upgrade -i --create-namespace -n longhorn-system longhorn longhorn/longhorn -f values.yaml
|
||||
kustomize build --enable-helm | kubectl apply -f -
|
||||
|
|
|
@ -1 +1 @@
|
|||
helm diff upgrade -n longhorn-system longhorn longhorn/longhorn -f values.yaml
|
||||
kustomize build --enable-helm | kubectl diff -f -
|
||||
|
|
35
longhorn/kustomization.yaml
Normal file
35
longhorn/kustomization.yaml
Normal file
|
@ -0,0 +1,35 @@
|
|||
kind: Kustomization
|
||||
apiVersion: kustomize.config.k8s.io/v1beta1
|
||||
helmCharts:
|
||||
- name: longhorn
|
||||
repo: https://charts.longhorn.io
|
||||
namespace: longhorn-system
|
||||
version: 1.5.3
|
||||
releaseName: longhorn
|
||||
includeCRDs: true
|
||||
valuesInline:
|
||||
defaultSettings:
|
||||
taintToleration: role=storage:NoExecute
|
||||
longhornDriver:
|
||||
tolerations:
|
||||
- effect: NoExecute
|
||||
key: role
|
||||
operator: Equal
|
||||
value: storage
|
||||
longhornManager:
|
||||
tolerations:
|
||||
- effect: NoExecute
|
||||
key: role
|
||||
operator: Equal
|
||||
value: storage
|
||||
longhornUI:
|
||||
tolerations:
|
||||
- effect: NoExecute
|
||||
key: role
|
||||
operator: Equal
|
||||
value: storage
|
||||
persistence:
|
||||
defaultClass: false
|
||||
defaultClassReplicaCount: "1"
|
||||
defaultNodeSelector:
|
||||
selector: role:storage
|
|
@ -1,25 +0,0 @@
|
|||
defaultSettings:
|
||||
taintToleration: role=storage:NoExecute
|
||||
longhornDriver:
|
||||
tolerations:
|
||||
- effect: NoExecute
|
||||
key: role
|
||||
operator: Equal
|
||||
value: storage
|
||||
longhornManager:
|
||||
tolerations:
|
||||
- effect: NoExecute
|
||||
key: role
|
||||
operator: Equal
|
||||
value: storage
|
||||
longhornUI:
|
||||
tolerations:
|
||||
- effect: NoExecute
|
||||
key: role
|
||||
operator: Equal
|
||||
value: storage
|
||||
persistence:
|
||||
defaultClass: false
|
||||
defaultClassReplicaCount: "1"
|
||||
defaultNodeSelector:
|
||||
selector: role:storage
|
Loading…
Reference in New Issue
Block a user