Commit 95fa058d by Guangbo Chen

update chart questions with enum types and labels

parent f7cc6edf
...@@ -3,39 +3,75 @@ questions: ...@@ -3,39 +3,75 @@ questions:
default: "user" default: "user"
description: "User of the application" description: "User of the application"
type: string type: string
label: Magento Username
required: true
- variable: magentoEmail - variable: magentoEmail
default: "user@example.com" default: "user@example.com"
description: "Admin email" description: "Admin email"
label: Magento Email
type: string type: string
required: true
- variable: mariadb.enabled - variable: mariadb.enabled
default: "true" 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" 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 - variable: mariadb.mariadbDatabase
default: "magento" default: "magento"
description: "Database name to create" description: "Database name to create"
type: string type: string
label: MariaDB Database
- variable: mariadb.mariadbUser - variable: mariadb.mariadbUser
default: "magento" default: "magento"
description: "Database user to create" description: "Database user to create"
type: string type: string
label: MariaDB User
- variable: mariadb.mariadbPassword - variable: mariadb.mariadbPassword
default: "" default: ""
description: "Password for the database(defualt random 10 character long alphanumeric string)" description: "Password for the database(defualt random 10 character long alphanumeric string)"
label: MariaDB Password
type: string type: string
- variable: mariadb.persistence.enabled - variable: mariadb.persistence.enabled
default: "false" default: "false"
description: "Enable persistence using PVC of MariaDB" description: "Enable persistence using PVC of MariaDB"
type: string type: enum
options:
- "true"
- "false"
required: true
label: MariaDB Persistent Volume Enabled
- variable: serviceType - variable: serviceType
default: "ClusterIP" default: "ClusterIP"
description: "Kubernetes Service type" description: "Magento Service type"
type: string type: enum
options:
- "ClusterIP"
required: true
label: Magento Service Type
- variable: magentoMode - variable: magentoMode
default: "default" default: "default"
description: "Magento mode. Valid values: default, production, developer. Default: default" description: "Magento mode. Valid values: default, production, developer."
type: string type: enum
options:
- "default"
- "production"
- "developer"
label: Magento Mode
- variable: persistence.enabled - variable: persistence.enabled
default: "false" default: "false"
description: "Enable persistence using PVC of magento and apache" 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 type: string
label: Persistent Volume Size
...@@ -3,7 +3,14 @@ questions: ...@@ -3,7 +3,14 @@ questions:
default: "3" default: "3"
description: "Replica count" description: "Replica count"
type: string type: string
required: true
label: Replicas
- variable: AntiAffinity - variable: AntiAffinity
default: "soft" default: "soft"
description: "Select AnitAffinity as either hard or soft, default is 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: ...@@ -3,7 +3,14 @@ questions:
default: "3" default: "3"
description: "Replica count" description: "Replica count"
type: string type: string
required: true
label: Replicas
- variable: AntiAffinity - variable: AntiAffinity
default: "soft" default: "soft"
description: "Select AnitAffinity as either hard or soft, default is 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: ...@@ -3,16 +3,26 @@ questions:
default: "3" default: "3"
description: "Number of redis master/slave pods" description: "Number of redis master/slave pods"
type: string type: string
label: Redis Replicas
required: true
- variable: replicas.sentinels - variable: replicas.sentinels
default: "3" default: "3"
description: "Number of sentinel pods" description: "Number of sentinel pods"
type: string type: string
label: Sentinel Replicas
required: true
- variable: auth - variable: auth
default: "false" default: "false"
description: "Configures redis with AUTH (requirepass & masterauth conf params)" description: "Configures redis with AUTH (requirepass & masterauth conf params)"
type: string type: enum
options:
- "true"
- "false"
required: true
label: Redis AUTH Enabled
- variable: redisPassword - variable: redisPassword
default: "" default: ""
description: "Redis password, Defaults to a random 10-character alphanumeric string if not set and auth is true" description: "Redis password, Defaults to a random 10-character alphanumeric string if not set and auth is true"
type: string type: string
label: Redis Password
...@@ -2,17 +2,28 @@ questions: ...@@ -2,17 +2,28 @@ questions:
- variable: usePassword - variable: usePassword
default: "true" default: "true"
description: "Use password authentication" description: "Use password authentication"
type: string type: enum
options:
- "true"
- "false"
required: true
label: Enable Redis Password
- variable: redisPassword - variable: redisPassword
default: "" default: ""
description: "Defaults to a random 10-character alphanumeric string if not set and usePassword is true" description: "Defaults to a random 10-character alphanumeric string if not set and usePassword is true"
type: string type: string
label: Redis Password
- variable: persistence.enabled - variable: persistence.enabled
default: "false" default: "false"
description: "Use a PVC to persist data" description: "Use a PVC to persist data"
type: string type: enum
options:
- "true"
- "false"
required: true
label: Persistent Volume Enabled
- variable: persistence.size - variable: persistence.size
default: "8Gi" default: "8Gi"
description: "Size of data volume" description: "Size of data volume"
type: string type: string
label: Persistent Volume Size
...@@ -3,35 +3,72 @@ questions: ...@@ -3,35 +3,72 @@ questions:
default: "user" default: "user"
description: "User of the application" description: "User of the application"
type: string type: string
required: true
label: WordPress Usernname
- variable: wordpressEmail - variable: wordpressEmail
default: "user@example.com" default: "user@example.com"
description: "Admin email" description: "Admin email"
type: string type: string
required: true
label: WordPress Admin Email
- variable: mariadb.enabled - variable: mariadb.enabled
default: "true" 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" 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 - variable: mariadb.mariadbDatabase
default: "wordpress" default: "wordpress"
description: "Database name to create" description: "Database name to create"
type: string type: string
label: MariaDB Database
- variable: mariadb.mariadbUser - variable: mariadb.mariadbUser
default: "wordpress" default: "wordpress"
description: "Database user to create" description: "Database user to create"
type: string type: string
label: MariaDB User
- variable: mariadb.mariadbPassword - variable: mariadb.mariadbPassword
default: "changeme" default: "changeme"
description: "Password for mariadbUser" description: "Password for mariadbUser"
type: string type: string
label: MariaDB Password
- variable: mariadb.persistence.enabled - variable: mariadb.persistence.enabled
default: "false" default: "false"
description: "Enable persistence using PVC of MariaDB" description: "Enable persistence using PVC of MariaDB"
type: string type: enum
options:
- "true"
- "false"
required: true
label: MariaDB Persistent Volume Enabled
- variable: persistence.enabled - variable: persistence.enabled
default: "false" default: "false"
description: "Enable persistence using PVC of Wordpress" description: "Enable persistence using PVC of Wordpress"
type: string type: enum
options:
- "true"
- "false"
required: true
label: Wordpress Persistent Volume Enabled
- variable: serviceType - variable: serviceType
default: "NodePort" 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 type: string
label: NodePort Https Port
...@@ -3,3 +3,5 @@ questions: ...@@ -3,3 +3,5 @@ questions:
default: "1" default: "1"
description: "Replica count" description: "Replica count"
type: string 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