Fábio Kaiser Rauber
4 years ago
4 changed files with 100 additions and 7 deletions
@ -0,0 +1,3 @@ |
|||
# Portal Modelo para Casas Legislativas |
|||
|
|||
Utilize o formulário abaixo para configurar seu Portal Modelo. |
@ -0,0 +1,70 @@ |
|||
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 |
|||
|
Loading…
Reference in new issue