From 70e7f4bcaee4488ac890a4f9aa6d6151622bd3b0 Mon Sep 17 00:00:00 2001 From: Fabio Rauber Date: Fri, 13 May 2022 15:18:34 -0300 Subject: [PATCH] Added rancher questions.yaml --- charts/saberes/v0.1.0/questions.yaml | 82 ++++++++++++++++++++++++++++ 1 file changed, 82 insertions(+) create mode 100644 charts/saberes/v0.1.0/questions.yaml diff --git a/charts/saberes/v0.1.0/questions.yaml b/charts/saberes/v0.1.0/questions.yaml new file mode 100644 index 0000000..2788eae --- /dev/null +++ b/charts/saberes/v0.1.0/questions.yaml @@ -0,0 +1,82 @@ +labels: + io.cattle.role: project +categories: +- Learning +questions: +# Database info +- variable: moodle.dbHost + default: "saberesdb-postgresql" + description: "PostgreSQL database server hostname" + label: "DB Hostname" + type: string + group: Database + required: true +- variable: moodle.dbName + default: "moodle" + description: "PostgreSQL database name" + label: DB Name + type: string + group: Database + required: true +- variable: moodle.dbUser + default: "saberes" + description: "PostgreSQL database user name" + label: User Name + type: string + group: Database + required: true +- variable: moodle.dbPass + default: "agoodpassword" + description: "PostgreSQL database Password" + label: Database Password + type: password + group: Database + required: true + +# Ingress +- variable: ingress.hostname + default: "moodle.url" + description: "Saberes hostname URL" + label: URL + type: string + group: Ingress + required: true + +# Moodle Data +- variable: persistence.storageClass + default: "nfs" + description: "MoodleData storageclass name" + label: "Storage Class" + type: string + group: Moodle Data + required: true +- variable: persistence.size + default: "2Gi" + description: "Size of moodle data volume" + label: "Moodle data size" + type: string + group: Moodle Data + required: false + +# Autoscaling +- variable: autoscaling.enabled + default: true + type: boolean + label: "Habilitar autoscaling?" + description: "Habilita ou desabilita o autoscaling do Saberes." + required: false + group: Autoscaling +- variable: autoscaling.minReplicas + default: 2 + description: "Número mínimo de réplicas que rodam do Saberes." + label: "minReplicas" + type: int + group: Autoscaling + required: false +- variable: autoscaling.maxReplicas + default: 2 + description: "Número máximo de réplicas que rodam do Saberes." + label: "maxReplicas" + type: int + group: Autoscaling + required: false \ No newline at end of file