Commit 8819477e by Guangbo Chen

added group to charts and disable ingress for some charts

parent 33e3b12f
......@@ -8,6 +8,7 @@ questions:
label: Use Default Image
type: boolean
show_subquestion_if: false
group: "Container Images"
subquestions:
- variable: etcdCluster.image.repository
default: "quay.io/coreos/etcd"
......@@ -56,6 +57,7 @@ questions:
label: Deploy the etcd Cluster Operator
type: boolean
show_subquestion_if: true
group: "Etcd Operator"
subquestions:
- variable: etcdOperator.clusterwide.enabled
default: false
......@@ -75,6 +77,7 @@ questions:
label: Deploy the etcd Backup Operator
type: boolean
show_subquestion_if: true
group: "Backup Operator"
subquestions:
- variable: backupOperator.name
default: "etcd-backup-operator"
......@@ -107,6 +110,7 @@ questions:
description: "Deploy the etcd restore operator, one time deployment, delete once completed"
label: Deploy the etcd Restore Operator
type: boolean
group: "Restore Operator"
show_subquestion_if: true
subquestions:
- variable: restoreOperator.name
......@@ -133,6 +137,7 @@ questions:
label: Create Kubernetes Custom Resources (EtcdCluster, EtcdBackup, EtcdRestore)
type: boolean
show_subquestion_if: true
group: "Etcd Cluster"
subquestions:
- variable: customResources.createEtcdClusterCRD
default: "true"
......@@ -159,11 +164,13 @@ questions:
type: string
required: true
show_if: "createCustomResources=true"
group: "Etcd Cluster"
- variable: etcdCluster.size
default: "3"
description: "etcd cluster size"
label: Etcd Cluster Size
type: enum
group: "Etcd Cluster"
options:
- "3"
- "5"
......@@ -179,6 +186,7 @@ questions:
type: string
show_if: "createCustomResources=true"
required: true
group: "Etcd Cluster"
- variable: etcdCluster.enableTLS
default: "false"
description: "Enable use of TLS"
......@@ -187,6 +195,7 @@ questions:
show_subquestion_if: true
show_if: "createCustomResources=true"
required: true
group: "Etcd Cluster"
subquestions:
- variable: etcdCluster.tls.static.member.peerSecret
default: ""
......
......@@ -7,6 +7,7 @@ questions:
label: Use Default Images
type: boolean
show_subquestion_if: false
group: "Container Images"
subquestions:
- variable: image.registry
default: "docker.io"
......@@ -29,29 +30,34 @@ questions:
type: string
label: Magento Host URL
required: true
group: "Magento Settings"
- variable: magentoUsername
default: "user"
description: "Username for the application"
type: string
label: Magento Username
required: true
group: "Magento Settings"
- variable: magentoPassword
default: ""
description: "Application password(defualt random 10 character long alphanumeric string if not set)"
type: password
label: Magento User Password
group: "Magento Settings"
- variable: magentoEmail
default: "user@example.com"
description: "Admin email"
label: Magento Email
type: string
required: true
group: "Magento Settings"
- 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: boolean
required: true
label: Install MariaDB
group: "Database Settings"
subquestions:
- variable: mariadb.mariadbDatabase
default: "magento"
......@@ -75,30 +81,35 @@ questions:
label: External Database Host
show_if: "mariadb.enabled=false"
subquestions:
group: "Database Settings"
- variable: externalDatabase.user
default: ""
description: "Existing username in the external DB"
type: string
label: External Database Username
show_if: "mariadb.enabled=false"
group: "Database Settings"
- variable: externalDatabase.password
default: ""
description: "External database password"
type: password
label: External Database Password
show_if: "mariadb.enabled=false"
group: "Database Settings"
- variable: externalDatabase.database
default: ""
description: "Name of the existing database"
type: string
label: External Database
show_if: "mariadb.enabled=false"
group: "Database Settings"
- variable: externalDatabase.port
default: "3306"
description: "External database port number "
type: string
label: External Database Port
show_if: "mariadb.enabled=false"
group: "Database Settings"
- variable: mariadb.persistence.enabled
default: "false"
description: "Enable persistence using PVC of MariaDB"
......@@ -107,6 +118,7 @@ questions:
label: MariaDB Persistent Volume Enabled
show_if: "mariadb.enabled=true"
show_subquestion_if: true
group: "Database Settings"
subquestions:
- variable: mariadb.persistence.size
default: "8Gi"
......@@ -122,6 +134,7 @@ questions:
- variable: serviceType
default: "ClusterIP"
description: "Magento Service type"
group: "Magento Settings"
type: enum
options:
- "ClusterIP"
......@@ -139,6 +152,7 @@ questions:
default: "default"
description: "Magento mode options: default, production, developer."
type: enum
group: "Magento Settings"
options:
- "default"
- "production"
......@@ -151,6 +165,7 @@ questions:
required: true
label: Magento Persistent Volume Enabled
show_subquestion_if: true
group: "Magento Settings"
subquestions:
- variable: persistence.magento.size
default: "8Gi"
......
......@@ -8,6 +8,7 @@ questions:
label: Use Default Image
type: boolean
show_subquestion_if: false
group: "Container Images"
subquestions:
- variable: image.repository
default: "bitnami/mariadb"
......@@ -38,6 +39,7 @@ questions:
required: true
label: Enable Authentication
show_subquestion_if: true
group: "MariaDB Settings"
subquestions:
- variable: mariadbUser
default: "admin"
......@@ -56,6 +58,7 @@ questions:
type: string
label: MariaDB Database
required: true
group: "MariaDB Settings"
- variable: service.type
default: "ClusterIP"
description: "MariaDB K8s Service type"
......@@ -65,8 +68,9 @@ questions:
- "NodePort"
required: true
label: MariaDB Service Type
show_if: "ingress.enabled=false"
# show_if: "ingress.enabled=false"
show_subquestion_if: "NodePort"
group: "MariaDB Settings"
subquestions:
- variable: service.nodePort
default: ""
......@@ -82,6 +86,7 @@ questions:
required: true
label: Enable MariaDB Persistent Volume
show_subquestion_if: true
group: "Persistent Volume"
subquestions:
- variable: persistence.size
default: "8Gi"
......@@ -100,16 +105,18 @@ questions:
type: boolean
required: true
label: Enable Metrics
- variable: ingress.enabled
default: "true"
description: "Expose app using Layer 7 Load Balancer - ingress"
type: boolean
label: Expose app using Layer 7 Load Balancer
show_subquestion_if: true
subquestions:
- variable: ingress.host
default: "xip.io"
description: "layer 7 Load Balancer hostname"
type: hostname
required: true
label: Layer 7 Load Balancer Hostname
group: "MariaDB Settings"
# - variable: ingress.enabled
# default: "true"
# description: "Expose app using Layer 7 Load Balancer - ingress"
# type: boolean
# label: Expose app using Layer 7 Load Balancer
# show_subquestion_if: true
# group: "Layer 7 Load Balancer"
# subquestions:
# - variable: ingress.host
# default: "xip.io"
# description: "layer 7 Load Balancer hostname"
# type: hostname
# required: true
# label: Layer 7 Load Balancer Hostname
......@@ -7,6 +7,7 @@ questions:
label: Use Default Images
type: boolean
show_subquestion_if: false
group: "Container Images"
subquestions:
- variable: image
default: "memcached"
......@@ -24,6 +25,7 @@ questions:
type: string
required: true
label: Memcached Replicas
group: "Memcached Settings"
- variable: AntiAffinity
default: "soft"
description: "Select AnitAffinity as either hard or soft, default is soft"
......@@ -33,12 +35,14 @@ questions:
- "hard"
required: true
label: AnitAffinity
group: "Memcached Settings"
- variable: showMemcachedOptions
default: "false"
description: "Show memcached configurations(ref: https://github.com/memcached/memcached/wiki/ConfiguringServer#commandline-arguments)"
label: Set Advanced Memcached Configurations
type: boolean
show_subquestion_if: true
group: "Memcached Settings"
subquestions:
- variable: memcached.maxItemMemory
default: "64"
......@@ -56,16 +60,17 @@ questions:
- "vv"
- "vvv"
required: true
- variable: ingress.enabled
default: "true"
description: "Expose app using Layer 7 Load Balancer - ingress"
type: boolean
label: Expose app using Layer 7 Load Balancer
show_subquestion_if: true
subquestions:
- variable: ingress.host
default: "xip.io"
description: "layer 7 Load Balancer hostname"
type: hostname
required: true
label: Layer 7 Load Balancer Hostname
# - variable: ingress.enabled
# default: "true"
# description: "Expose app using Layer 7 Load Balancer - ingress"
# type: boolean
# label: Expose app using Layer 7 Load Balancer
# show_subquestion_if: true
# group: "Layer 7 Load Balancer"
# subquestions:
# - variable: ingress.host
# default: "xip.io"
# description: "layer 7 Load Balancer hostname"
# type: hostname
# required: true
# label: Layer 7 Load Balancer Hostname
......@@ -8,6 +8,7 @@ questions:
label: Use Default Images
type: boolean
show_subquestion_if: false
group: "Container Images"
subquestions:
- variable: installImage.repository
default: "k8s.gcr.io/mongodb-install"
......@@ -35,18 +36,21 @@ questions:
type: string
label: Number of Replicas
required: true
group: "MongoDB Settings"
- variable: port
default: "27017"
description: "MongoDB port"
type: string
label: MongoDB port
required: true
group: "MongoDB Settings"
- variable: replicaSetName
default: "rs0"
description: "The name of the replica set"
type: string
label: ReplicaSet Name
required: true
group: "MongoDB Settings"
- variable: auth.enabled
default: "false"
description: "If true, keyfile access control is enabled"
......@@ -54,6 +58,7 @@ questions:
label: Enable Auth
required: true
show_subquestion_if: true
group: "MongoDB Settings"
subquestions:
- variable: auth.key
default: "my secret key"
......@@ -80,6 +85,7 @@ questions:
required: true
label: MongoDB Persistent Volume Enabled
show_subquestion_if: true
group: "Persistent Volume"
subquestions:
- variable: persistentVolume.size
default: "10Gi"
......
......@@ -8,6 +8,7 @@ questions:
label: Use Default Images
type: boolean
show_subquestion_if: false
group: "Container Images"
subquestions:
- variable: image.repository
default: "bitnami/mongodb"
......@@ -26,6 +27,7 @@ questions:
label: Enable Auth
required: true
show_subquestion_if: true
group: "MongoDB Settings"
subquestions:
- variable: mongodbUsername
default: "admin"
......@@ -48,12 +50,13 @@ questions:
default: "ClusterIP"
description: "MongoDB K8s Service type"
type: enum
group: "MongoDB Settings"
options:
- "ClusterIP"
- "NodePort"
required: true
label: MongoDB Service Type
show_if: "ingress.enabled=false"
# show_if: "ingress.enabled=false"
show_subquestion_if: "NodePort"
subquestions:
- variable: service.nodePort
......@@ -70,6 +73,7 @@ questions:
required: true
label: MongoDB Persistent Volume Enabled
show_subquestion_if: true
group: "Persistent Volume"
subquestions:
- variable: persistence.size
default: "8Gi"
......@@ -82,16 +86,17 @@ questions:
description: "If undefined or set to null, using the default storageClass. Defaults to null."
type: storageclass
label: Storage Class for MongoDB
- variable: ingress.enabled
default: "true"
description: "Expose app using Layer 7 Load Balancer - ingress"
type: boolean
label: Expose app using Layer 7 Load Balancer
show_subquestion_if: true
subquestions:
- variable: ingress.host
default: "xip.io"
description: "layer 7 Load Balancer hostname"
type: hostname
required: true
label: Layer 7 Load Balancer Hostname
# - variable: ingress.enabled
# default: "true"
# description: "Expose app using Layer 7 Load Balancer - ingress"
# type: boolean
# label: Expose app using Layer 7 Load Balancer
# show_subquestion_if: true
# group: "Layer 7 Load Balancer"
# subquestions:
# - variable: ingress.host
# default: "xip.io"
# description: "layer 7 Load Balancer hostname"
# type: hostname
# required: true
# label: Layer 7 Load Balancer Hostname
......@@ -8,6 +8,7 @@ questions:
label: Use Default Images
type: boolean
show_subquestion_if: false
group: "Container Images"
subquestions:
- variable: image
default: "mysql"
......@@ -25,17 +26,20 @@ questions:
type: string
required: true
label: MySQL Database
group: "MySQL Settings"
- variable: mysqlUser
default: ""
description: "Username of user to create"
type: string
required: true
label: MySQL Username
group: "MySQL Settings"
- variable: mysqlPassword
default: ""
description: "MySQL Password for the new user, defaults to a random 10-character alphanumeric string if not set"
type: password
label: MySQL Password
group: "MySQL Settings"
- variable: persistence.enabled
default: "false"
description: "Enable persistence using PVC"
......@@ -43,6 +47,7 @@ questions:
required: true
label: Persistent Volume Enabled
show_subquestion_if: true
group: "Persistent Volume"
subquestions:
- variable: persistence.size
default: "8Gi"
......@@ -61,16 +66,18 @@ questions:
type: string
label: MySQL NodePort number
required: true
group: "MySQL Settings"
- variable: service.type
default: "ClusterIP"
description: "MySQL K8s Service type"
type: enum
group: "MySQL Settings"
options:
- "ClusterIP"
- "NodePort"
required: true
label: MySQL Service Type
show_if: "ingress.enabled=false"
# show_if: "ingress.enabled=false"
show_subquestion_if: "NodePort"
subquestions:
- variable: service.nodePort
......@@ -80,16 +87,17 @@ questions:
min: 30000
max: 32767
label: Service NodePort number
- variable: ingress.enabled
default: "true"
description: "Expose app using Layer 7 Load Balancer - ingress"
type: boolean
label: Expose app using Layer 7 Load Balancer
show_subquestion_if: true
subquestions:
- variable: ingress.host
default: "xip.io"
description: "layer 7 Load Balancer hostname"
type: hostname
required: true
label: Layer 7 Load Balancer Hostname
# - variable: ingress.enabled
# default: "true"
# description: "Expose app using Layer 7 Load Balancer - ingress"
# type: boolean
# label: Expose app using Layer 7 Load Balancer
# show_subquestion_if: true
# group: "Layer 7 Load Balancer"
# subquestions:
# - variable: ingress.host
# default: "xip.io"
# description: "layer 7 Load Balancer hostname"
# type: hostname
# required: true
# label: Layer 7 Load Balancer Hostname
......@@ -8,23 +8,37 @@ questions:
label: Use Default Images
type: boolean
show_subquestion_if: false
group: "Container Images"
subquestions:
- variable: image.repository
default: "bitnami/redis"
description: "Docker image name"
description: "Redis image name"
type: string
label: Redis Image Name
- variable: image.tag
default: "4.0.9"
description: "Docker image tag"
description: "Redis image tag"
type: string
label: Redis Image Tag
- variable: metrics.repository
default: "oliver006/redis_exporter"
description: "Metrics image name"
type: string
label: Metrics Image Name
show_if: "metrics.enabled=true"
- variable: image.tag
default: "v0.11"
description: "Metrics image tag"
type: string
label: Metrics Image Tag
show_if: "metrics.enabled=true"
- variable: cluster.enabled
default: "true"
description: "Use leader-follower topology"
label: Clustered Topology
type: boolean
show_subquestion_if: true
group: "Redis Slave Settings"
subquestions:
- variable: cluster.slaveCount
default: "3"
......@@ -38,6 +52,7 @@ questions:
required: true
label: Enable Redis Password
show_subquestion_if: true
group: "Redis Master Settings"
subquestions:
- variable: password
default: ""
......@@ -51,6 +66,7 @@ questions:
required: true
label: Persistent Volume Enabled
show_subquestion_if: true
group: "Redis Master Settings"
subquestions:
- variable: master.persistence.size
default: "8Gi"
......@@ -67,29 +83,31 @@ questions:
description: "If undefined or null, uses the default StorageClass. Defaults to null."
type: storageclass
label: Default Storage Class
- variable: ingress.enabled
default: "true"
description: "Expose app using Layer 7 Load Balancer - ingress"
type: boolean
label: Expose app using Layer 7 Load Balancer
show_subquestion_if: true
subquestions:
- variable: ingress.host
default: "xip.io"
description: "layer 7 Load Balancer hostname"
type: hostname
required: true
label: Layer 7 Load Balancer Hostname
# - variable: ingress.enabled
# default: "true"
# description: "Expose app using Layer 7 Load Balancer - ingress"
# type: boolean
# label: Expose app using Layer 7 Load Balancer
# show_subquestion_if: true
# group: "Layer 7 Load Balancer"
# subquestions:
# - variable: ingress.host
# default: "xip.io"
# description: "layer 7 Load Balancer hostname"
# type: hostname
# required: true
# label: Layer 7 Load Balancer Hostname
- variable: slave.service.type
default: "ClusterIP"
description: "Redis slave service type"
type: enum
group: "Redis Slave Settings"
options:
- "ClusterIP"
- "NodePort"
required: true
label: Redis Slave Service Type
show_if: "ingress.enabled=false"
# show_if: "ingress.enabled=false"
show_subquestion_if: "NodePort"
subquestions:
- variable: slave.service.nodePort
......@@ -103,12 +121,13 @@ questions:
default: "ClusterIP"
description: "Redis master service type"
type: enum
group: "Redis Master Settings"
options:
- "ClusterIP"
- "NodePort"
required: true
label: Redis Master Service Type
show_if: "ingress.enabled=false"
# show_if: "ingress.enabled=false"
show_subquestion_if: "NodePort"
subquestions:
- variable: master.service.nodePort
......
......@@ -27,7 +27,7 @@ metrics:
# prometheus.io/scrape: "true"
# prometheus.io/port: "9121"
image:
registry: docker.io
# registry: docker.io
repository: oliver006/redis_exporter
tag: v0.11
pullPolicy: IfNotPresent
......
......@@ -8,6 +8,7 @@ questions:
label: Use Default Image
type: boolean
show_subquestion_if: false
group: "Container Images"
subquestions:
- variable: image.repository
default: "bitnami/wordpress"
......@@ -35,17 +36,20 @@ questions:
type: string
required: true
label: WordPress Usernname
group: "WordPress Settings"
- variable: wordpressPassword
default: ""
description: "Application Password(defualt random 10 character long alphanumeric string if not set)"
type: password
label: WordPress Password
group: "WordPress Settings"
- variable: wordpressEmail
default: "user@example.com"
description: "Admin email"
type: string
required: true
label: WordPress Admin Email
group: "WordPress Settings"
- variable: mariadb.enabled
default: "true"
description: "Deploy a database server as part of this deployment, or set to false and configure an external database connection."
......@@ -53,6 +57,7 @@ questions:
required: true
label: Install MariaDB
show_subquestion_if: true
group: "Database Settings"
subquestions:
- variable: mariadb.mariadbDatabase
default: "wordpress"
......@@ -75,30 +80,35 @@ questions:
type: string
label: External Database Host
show_if: "mariadb.enabled=false"
group: "Database Settings"
- variable: externalDatabase.user
default: ""
description: "Existing username in the external DB"
type: string
label: External Database username
show_if: "mariadb.enabled=false"
group: "Database Settings"
- variable: externalDatabase.password
default: ""
description: "External database password"
type: password
label: External Database password
show_if: "mariadb.enabled=false"
group: "Database Settings"
- variable: externalDatabase.database
default: ""
description: "Name of the existing database"
type: string
label: External Database
show_if: "mariadb.enabled=false"
group: "Database Settings"
- variable: externalDatabase.port
default: "3306"
description: "External database port number"
type: string
label: External Database Port
show_if: "mariadb.enabled=false"
group: "Database Settings"
- variable: mariadb.persistence.enabled
default: "false"
description: "Enable persistent volume for MariaDB"
......@@ -107,6 +117,7 @@ questions:
label: MariaDB Persistent Volume Enabled
show_if: "mariadb.enabled=true"
show_subquestion_if: true
group: "Database Settings"
subquestions:
- variable: mariadb.persistence.size
default: "8Gi"
......@@ -125,6 +136,7 @@ questions:
required: true
label: WordPress Persistent Volume Enabled
show_subquestion_if: true
group: "WordPress Settings"
subquestions:
- variable: persistence.size
default: "10Gi"
......@@ -148,6 +160,7 @@ questions:
required: true
label: WordPress Service Type
show_subquestion_if: "NodePort"
group: "WordPress Settings"
subquestions:
- variable: nodePorts.http
default: ""
......@@ -169,6 +182,7 @@ questions:
type: boolean
label: Expose app using Layer 7 Load Balancer
show_subquestion_if: true
group: "Layer 7 Load Balancer"
subquestions:
- variable: ingress.hosts[0].name
default: "xip.io"
......
categories:
- storage
questions:
- variable: defaultImage
default: "true"
description: "Use default Docker image"
label: Use Default Image
type: enum
group: "Container Images"
options:
- "true"
- "false"
show_subquestion_if: false
subquestions:
- variable: image.longhorn.engine
default: "rancher/longhorn-engine"
description: "longhorn engine image name"
type: string
label: Longhorn Engine Image Name
- variable: image.longhorn.engineTag
default: "de88734"
description: "longhorn engineTag image tag"
type: string
label: Longhorn Engine Image Tag
- variable: image.longhorn.manager
default: "rancher/longhorn-manager"
description: "longhorn manager image name"
type: string
label: Longhorn Manager Image Name
- variable: image.longhorn.managerTag
default: "de88734"
description: "longhorn managerTag image tag"
type: string
label: Longhorn Manager Image Tag
- variable: image.longhorn.ui
default: "rancher/longhorn-ui"
description: "longhorn ui image name"
type: string
label: Longhorn UI Image Name
- variable: image.longhorn.uiTag
default: "de88734"
description: "longhorn uiTag image tag"
type: string
label: Longhorn UI Image Tag
- variable: service.ui.type
default: "ClusterIP"
description: "Define Longhorn UI service type"
......@@ -11,6 +52,7 @@ questions:
- "LoadBalancer"
label: Longhorn UI Service
show_if: "ingress.enabled=false"
group: "Longhorn Settings"
- variable: service.ui.nodePort
default: ""
description: "NodePort port number(to set explicitly, choose port between 30000-32767)"
......@@ -19,6 +61,7 @@ questions:
max: 32767
show_if: "service.ui.type=NodePort"
label: UI Service NodePort number
group: "Longhorn Settings"
- variable: service.manager.type
default: "ClusterIP"
description: "Define Longhorn manager service type"
......@@ -27,17 +70,20 @@ questions:
- "ClusterIP"
- "NodePort"
label: Longhorn Manager Service
- variable: service.manager.nodePort
default: ""
description: "NodePort port number(to set explicitly, choose port between 30000-32767)"
type: int
min: 30000
max: 32767
show_if: "service.manager.type=NodePort"
label: Manager Service NodePort number
show_subquestion_if: "NodePort"
group: "Longhorn Settings"
subquestions:
- variable: service.manager.nodePort
default: ""
description: "NodePort port number(to set explicitly, choose port between 30000-32767)"
type: int
min: 30000
max: 32767
label: Manager Service NodePort number
- variable: persistence.defaultClass
default: "true"
description: "Set as default StorageClass"
group: "Longhorn Settings"
type: enum
options:
- "true"
......@@ -49,10 +95,12 @@ questions:
description: "For GKE uses `/home/kubernetes/flexvolume/` instead, users can find the correct directory by running `ps aux|grep kubelet` on the host and check the --volume-plugin-dir parameter. If there is none, the default `/usr/libexec/kubernetes/kubelet-plugins/volume/exec/` will be used."
type: string
label: Longhorn Flexvolume Path
group: "Longhorn Settings"
- variable: ingress.enabled
default: "true"
description: "Expose app using Layer 7 Load Balancer - ingress"
type: boolean
group: "Layer 7 Load Balancer"
label: Expose app using Layer 7 Load Balancer
show_subquestion_if: true
subquestions:
......
......@@ -13,14 +13,14 @@ spec:
spec:
initContainers:
- name: init-container
image: {{ .Values.image.longhorn.engine }}
image: "{{ .Values.image.longhorn.engine }}:{{ .Values.image.longhorn.engineTag }}"
command: ['sh', '-c', 'cp /usr/local/bin/* /data/']
volumeMounts:
- name: execbin
mountPath: /data/
containers:
- name: longhorn-manager
image: {{ .Values.image.longhorn.manager }}
image: "{{ .Values.image.longhorn.manager }}:{{ .Values.image.longhorn.managerTag }}"
imagePullPolicy: Always
securityContext:
privileged: true
......@@ -29,9 +29,9 @@ spec:
- -d
- daemon
- --engine-image
- {{ .Values.image.longhorn.engine }}
- "{{ .Values.image.longhorn.engine }}:{{ .Values.image.longhorn.engineTag }}"
- --manager-image
- {{ .Values.image.longhorn.manager }}
- "{{ .Values.image.longhorn.manager }}:{{ .Values.image.longhorn.managerTag }}"
- --service-account
- longhorn-service-account
ports:
......
......@@ -12,14 +12,14 @@ spec:
spec:
containers:
- name: longhorn-flexvolume-driver-deployer
image: {{ .Values.image.longhorn.manager }}
image: "{{ .Values.image.longhorn.manager }}:{{ .Values.image.longhorn.managerTag }}"
imagePullPolicy: Always
command:
- longhorn-manager
- -d
- deploy-flexvolume-driver
- --manager-image
- {{ .Values.image.longhorn.manager }}
- "{{ .Values.image.longhorn.manager }}:{{ .Values.image.longhorn.managerTag }}"
env:
- name: POD_NAMESPACE
valueFrom:
......
......@@ -14,7 +14,7 @@ spec:
spec:
containers:
- name: longhorn-ui
image: {{ .Values.image.longhorn.ui }}
image: "{{ .Values.image.longhorn.ui }}:{{ .Values.image.longhorn.uiTag }}"
ports:
- containerPort: 8000
name: longhorn-ui
......
......@@ -3,9 +3,12 @@
# Declare variables to be passed into your templates.
image:
longhorn:
engine: rancher/longhorn-engine:de88734
manager: rancher/longhorn-manager:1ebf5cb
ui: rancher/longhorn-ui:1455f4f
engine: rancher/longhorn-engine
engineTag: de88734
manager: rancher/longhorn-manager
managerTag: 1ebf5cb
ui: rancher/longhorn-ui
uiTag: 1455f4f
pullPolicy: IfNotPresent
service:
......
......@@ -6,6 +6,7 @@ questions:
description: "Use default Docker image"
label: Use Default Image
type: enum
group: "Container Images"
options:
- "true"
- "false"
......@@ -30,15 +31,18 @@ questions:
- "false"
required: true
label: Set NFS to Default StorageClass
group: "NFS Settings"
- variable: persistence.hostPath
default: ""
default: "/srv"
description: "for GKE uses /home/kubernetes/nfs/ instead, custom nfs host path read and write permission are required, default to /srv"
type: string
label: NFS Host Path
required: true
group: "NFS Settings"
- variable: nfs.hostPort
default: ""
default: "2049"
required: true
description: "specify the host port used for nfs-provisioner server"
type: int
label: NFS Host Port
group: "NFS Settings"
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