Commit 95fa058d by Guangbo Chen

update chart questions with enum types and labels

parent f7cc6edf
......@@ -3,39 +3,75 @@ questions:
default: "user"
description: "User of the application"
type: string
label: Magento Username
required: true
- variable: magentoEmail
default: "user@example.com"
description: "Admin email"
label: Magento Email
type: string
required: true
- variable: mariadb.enabled
default: "true"
description: "Whether to deploy a mariadb server to satisfy the applications database requirements. To use an external database set this to false and configure the externalDatabase parameters"
type: string
type: enum
options:
- "true"
- "false"
required: true
label: MariaDB Enabled
- variable: mariadb.mariadbDatabase
default: "magento"
description: "Database name to create"
type: string
label: MariaDB Database
- variable: mariadb.mariadbUser
default: "magento"
description: "Database user to create"
type: string
label: MariaDB User
- variable: mariadb.mariadbPassword
default: ""
description: "Password for the database(defualt random 10 character long alphanumeric string)"
label: MariaDB Password
type: string
- variable: mariadb.persistence.enabled
default: "false"
description: "Enable persistence using PVC of MariaDB"
type: string
type: enum
options:
- "true"
- "false"
required: true
label: MariaDB Persistent Volume Enabled
- variable: serviceType
default: "ClusterIP"
description: "Kubernetes Service type"
type: string
description: "Magento Service type"
type: enum
options:
- "ClusterIP"
required: true
label: Magento Service Type
- variable: magentoMode
default: "default"
description: "Magento mode. Valid values: default, production, developer. Default: default"
type: string
description: "Magento mode. Valid values: default, production, developer."
type: enum
options:
- "default"
- "production"
- "developer"
label: Magento Mode
- variable: persistence.enabled
default: "false"
description: "Enable persistence using PVC of magento and apache"
type: enum
options:
- "true"
- "false"
required: true
label: Persistent Volume Enabled
- variable: persistence.size
default: "8Gi"
description: "Persistent Volume Size"
type: string
label: Persistent Volume Size
......@@ -3,7 +3,14 @@ questions:
default: "3"
description: "Replica count"
type: string
required: true
label: Replicas
- variable: AntiAffinity
default: "soft"
description: "Select AnitAffinity as either hard or soft, default is soft"
type: string
type: enum
options:
- "soft"
- "hard"
required: true
label: AnitAffinity
......@@ -3,7 +3,14 @@ questions:
default: "3"
description: "Replica count"
type: string
required: true
label: Replicas
- variable: AntiAffinity
default: "soft"
description: "Select AnitAffinity as either hard or soft, default is soft"
type: string
type: enum
options:
- "soft"
- "hard"
required: true
label: AnitAffinity
......@@ -3,16 +3,26 @@ questions:
default: "3"
description: "Number of redis master/slave pods"
type: string
label: Redis Replicas
required: true
- variable: replicas.sentinels
default: "3"
description: "Number of sentinel pods"
type: string
label: Sentinel Replicas
required: true
- variable: auth
default: "false"
description: "Configures redis with AUTH (requirepass & masterauth conf params)"
type: string
type: enum
options:
- "true"
- "false"
required: true
label: Redis AUTH Enabled
- variable: redisPassword
default: ""
description: "Redis password, Defaults to a random 10-character alphanumeric string if not set and auth is true"
type: string
label: Redis Password
......@@ -2,17 +2,28 @@ questions:
- variable: usePassword
default: "true"
description: "Use password authentication"
type: string
type: enum
options:
- "true"
- "false"
required: true
label: Enable Redis Password
- variable: redisPassword
default: ""
description: "Defaults to a random 10-character alphanumeric string if not set and usePassword is true"
type: string
label: Redis Password
- variable: persistence.enabled
default: "false"
description: "Use a PVC to persist data"
type: string
type: enum
options:
- "true"
- "false"
required: true
label: Persistent Volume Enabled
- variable: persistence.size
default: "8Gi"
description: "Size of data volume"
type: string
label: Persistent Volume Size
......@@ -3,35 +3,72 @@ questions:
default: "user"
description: "User of the application"
type: string
required: true
label: WordPress Usernname
- variable: wordpressEmail
default: "user@example.com"
description: "Admin email"
type: string
required: true
label: WordPress Admin Email
- variable: mariadb.enabled
default: "true"
description: "Whether to deploy a mariadb server to satisfy the applications database requirements. To use an external database set this to false and configure the externalDatabase parameters"
type: string
type: enum
options:
- "true"
- "false"
required: true
label: MariaDB Enabled
- variable: mariadb.mariadbDatabase
default: "wordpress"
description: "Database name to create"
type: string
label: MariaDB Database
- variable: mariadb.mariadbUser
default: "wordpress"
description: "Database user to create"
type: string
label: MariaDB User
- variable: mariadb.mariadbPassword
default: "changeme"
description: "Password for mariadbUser"
type: string
label: MariaDB Password
- variable: mariadb.persistence.enabled
default: "false"
description: "Enable persistence using PVC of MariaDB"
type: string
type: enum
options:
- "true"
- "false"
required: true
label: MariaDB Persistent Volume Enabled
- variable: persistence.enabled
default: "false"
description: "Enable persistence using PVC of Wordpress"
type: string
type: enum
options:
- "true"
- "false"
required: true
label: Wordpress Persistent Volume Enabled
- variable: serviceType
default: "NodePort"
description: "Kubernetes Service type"
description: "Wordpress Service type"
type: enum
options:
- "ClusterIP"
- "NodePort"
required: true
label: Wordpress Service Type
- variable: nodePorts.http
default: "32763"
description: "NodePort http port(to set explicitly, choose port between 30000-32767)"
type: string
label: NodePort Http Port
- variable: nodePorts.https
default: "32764"
description: "NodePort https port(to set explicitly, choose port between 30000-32767)"
type: string
label: NodePort Https Port
......@@ -3,3 +3,5 @@ questions:
default: "1"
description: "Replica count"
type: string
required: true
label: Replicas
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment