helmfile.yaml 756 Bytes
bases:
  - ../common/environments.yaml
---

repositories:
  - name: local-path-provisioner
    url: git+https://github.com/rancher/local-path-provisioner.git@deploy/chart?ref=v0.0.22&sparse=0

releases:
  - name: local-path-provisioner
    namespace: {{ .Values.namespace }}
    chart: local-path-provisioner/local-path-provisioner
    values:
      - storageClass:
          defaultClass: {{ .Values.storageClass.default }}
          name: {{ .Values.storageClass.name }}
        nodePathMap:
          {{ .Values.nodePathMap | toYaml | nindent 10 }}
        tolerations:
          - effect: NoSchedule
            key: node-role.kubernetes.io/master
            operator: Exists
        nodeSelector:
          node-role.kubernetes.io/control-plane: ""