Totally revamp cluster chart configs
This commit is contained in:
18
charts/nfs-client-provisioner/deploy.sh
Executable file
18
charts/nfs-client-provisioner/deploy.sh
Executable file
@@ -0,0 +1,18 @@
|
||||
#!/usr/bin/env bash
|
||||
|
||||
namespace=kube-system
|
||||
|
||||
charts=()
|
||||
|
||||
. ../config.sh
|
||||
|
||||
kubectl_apply $namespace "${charts[@]}"
|
||||
helm template \
|
||||
-n $namespace \
|
||||
-f values.yaml \
|
||||
nfs-client-provisioner \
|
||||
stable/nfs-client-provisioner \
|
||||
| make_substitutions \
|
||||
| kubectl apply -n $namespace -f -
|
||||
|
||||
|
||||
13
charts/nfs-client-provisioner/values.yaml
Normal file
13
charts/nfs-client-provisioner/values.yaml
Normal file
@@ -0,0 +1,13 @@
|
||||
image:
|
||||
tag: latest
|
||||
storageClass:
|
||||
name: managed-nfs-storage
|
||||
defaultClass: true
|
||||
reclaimPolicy: Delete
|
||||
archiveOnDelete: true
|
||||
nfs:
|
||||
server: @fileserver@
|
||||
path: /@cluster@
|
||||
mountOptions:
|
||||
- nfsvers=4.1
|
||||
|
||||
Reference in New Issue
Block a user