---
apiVersion: v1
kind: ConfigMap
metadata:
  name: oas-local-path-provisioner-values
data:
  values.yaml: |
    nodePathMap:
      - node: DEFAULT_PATH_FOR_NON_LISTED_NODES
        paths:
          - "/var/lib/OpenAppStack/local-storage"
    storageClass:
      defaultClass: true
    # We temporarily use our own build in order to use local volumes instead of
    # hostPath.
    image:
      # We need to use our own fork of the local-path-provisioner until
      # https://github.com/rancher/local-path-provisioner/issues/85 is resolved
      repository: "open.greenhost.net:4567/openappstack/local-path-provisioner/local-path-provisioner"
      # Make sure this tag is the same as the tag for the chart in the
      # local-path-provisioner GitRepository
      tag: "0.0.20-gh1"
    resources:
      requests:
        cpu: 200m
        memory: 20Mi
      limits:
        cpu: 400m
        memory: 40Mi
