|
|
|
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
|
|
|
|
|
|
|
|
# MSA
|
|
|
|
- variable: msa.enabled
|
|
|
|
default: true
|
|
|
|
type: boolean
|
|
|
|
label: "Instalar MSA para o Saberes?"
|
|
|
|
description: "Instalar ou não um servidor MSA"
|
|
|
|
required: true
|
|
|
|
group: Mail
|
|
|
|
show_subquestion_if: true
|
|
|
|
subquestions:
|
|
|
|
- variable: msa.config.relayHost
|
|
|
|
default: yoursmart.host
|
|
|
|
type: string
|
|
|
|
description: "Servidor de e-mail que encaminhará as mensagens."
|
|
|
|
label: "Relay Host"
|
|
|
|
required: true
|
|
|
|
- variable: msa.config.msgSizeLimit
|
|
|
|
default: "50000000"
|
|
|
|
type: string
|
|
|
|
label: "Tamanho máximo de mensagem."
|
|
|
|
description: "Tamanho máximo de mensagem a ser encaminhada (em bytes)."
|
|
|
|
required: false
|
|
|
|
- variable: msa.config.relayNets
|
|
|
|
default: "10.42.0.0/16"
|
|
|
|
type: string
|
|
|
|
label: "Relay Networks"
|
|
|
|
description: "Redes das quais aceitar encaminhamento de mensagens."
|
|
|
|
required: true
|
|
|
|
- variable: msa.config.domain
|
|
|
|
default: "cluster.local"
|
|
|
|
type: string
|
|
|
|
label: "Domínio"
|
|
|
|
description: "Domínio com o qual o postfix se identifica."
|
|
|
|
required: false
|