Interlegis Public Rancher Charts for Kubernetes
You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

71 lines
2.4 KiB

labels:
io.cattle.role: project
categories:
- Storage
questions:
# nodePathMap is the place user can customize where to store the data on each node.
# 1. If one node is not listed on the nodePathMap, and Kubernetes wants to create volume on it, the paths specified in
# DEFAULT_PATH_FOR_NON_LISTED_NODES will be used for provisioning.
# 2. If one node is listed on the nodePathMap, the specified paths will be used for provisioning.
# 1. If one node is listed but with paths set to [], the provisioner will refuse to provision on this node.
# 2. If more than one path was specified, the path would be chosen randomly when provisioning.
#
# The configuration must obey following rules:
# 1. A path must start with /, a.k.a an absolute path.
# 2. Root directory (/) is prohibited.
# 3. No duplicate paths allowed for one node.
# 4. No duplicate node allowed.
nodePathMap:
- node: DEFAULT_PATH_FOR_NON_LISTED_NODES
paths:
- variable: storageClass.create
default: true
type: boolean
description: "Create storageClass automatically?"
label: "Create storageClass?"
required: true
group: StorageClass
show_subquestion_if: true
subquestions:
- variable: storageClass.defaultClass
default: false
type: boolean
description: "StorageClass as the default StorageClass."
label: "Is this StorageClass the default class?"
required: false
- variable: storageClass.name
default: local-path
type: string
description: "Set a StorageClass name"
label: "StorageClass Name"
required: false
- variable: storageClass.reclaimPolicy
default: "Delete"
type: enum
description: "ReclaimPolicy field of the class, which can be either Delete or Retain"
label: "Reclaim Policy"
required: false
options:
- "Delete"
- "Reclaim"
- variable: storageClass.hostDir
default: "/opt/local-path-provisioner"
type: string
description: "Path for creating volumes in every node of the cluster. If you need custom paths, please edit the YAML directly and use customNodePathMap."
label: "Local host directory for volumes."
required: true
group: StorageClass
- variable: storageClass.provisionerName
default: "rancher.io/local-path"
description: "Set a provisioner name. If unset, a name will be generated."
label: "Provisioner Name"
type: string
group: Provisioner
required: false