Add Rancher's local-path-provisioner.
Showing
1 changed file
with
35 additions
and
0 deletions
local-path-provisioner/helmfile.yaml
0 → 100644
1 | environments: | ||
2 | default: | ||
3 | values: | ||
4 | - namespace: kube-system | ||
5 | storageClass: | ||
6 | default: true | ||
7 | name: local-path | ||
8 | |||
9 | nodePaths: | ||
10 | - node: DEFAULT_PATH_FOR_NON_LISTED_NODES | ||
11 | paths: | ||
12 | - /opt/local-path-provisioner | ||
13 | --- | ||
14 | |||
15 | repositories: | ||
16 | - name: local-path-provisioner | ||
17 | url: git+https://github.com/rancher/local-path-provisioner.git@deploy/chart?ref=v0.0.22&sparse=0 | ||
18 | |||
19 | releases: | ||
20 | - name: local-path-provisioner | ||
21 | namespace: {{ .Values.namespace }} | ||
22 | chart: local-path-provisioner/local-path-provisioner | ||
23 | values: | ||
24 | - storageClass: | ||
25 | defaultClass: {{ .Values.storageClass.default }} | ||
26 | name: {{ .Values.storageClass.name }} | ||
27 | nodePathMap: | ||
28 | {{ .Values.nodePaths | toYaml | nindent 10 }} | ||
29 | tolerations: | ||
30 | - effect: NoSchedule | ||
31 | key: node-role.kubernetes.io/master | ||
32 | operator: Exists | ||
33 | nodeSelector: | ||
34 | node-role.kubernetes.io/master: "true" | ||
35 |
-
Please register or sign in to post a comment