From 71f34d64cab3a55a88dd2bfd1ba2aaa9347ae40d Mon Sep 17 00:00:00 2001 From: bitnami-bot Date: Thu, 14 Jun 2018 10:36:59 +0000 Subject: [PATCH] Synchronize upstreamed folder to a49bf36 --- upstreamed/mariadb/Chart.yaml | 2 +- upstreamed/mariadb/README.md | 9 +-- upstreamed/mediawiki/Chart.yaml | 4 +- upstreamed/mediawiki/requirements.lock | 4 +- upstreamed/mediawiki/values.yaml | 2 +- upstreamed/rabbitmq/Chart.yaml | 4 +- upstreamed/rabbitmq/values-production.yaml | 2 +- upstreamed/rabbitmq/values.yaml | 2 +- upstreamed/redis/Chart.yaml | 2 +- upstreamed/redis/README.md | 4 ++ upstreamed/redis/templates/_helpers.tpl | 11 ++++ .../redis/templates/metrics-deployment.yaml | 2 +- .../templates/redis-master-statefulset.yaml | 1 + upstreamed/redis/templates/redis-role.yaml | 13 ++++ .../redis/templates/redis-rolebinding.yaml | 18 ++++++ .../redis/templates/redis-serviceaccount.yaml | 11 ++++ .../templates/redis-slave-deployment.yaml | 1 + upstreamed/redis/values.yaml | 24 ++++++++ upstreamed/wordpress/Chart.yaml | 2 +- upstreamed/wordpress/README.md | 8 +-- upstreamed/wordpress/requirements.lock | 6 +- upstreamed/wordpress/requirements.yaml | 2 +- .../wordpress/templates/deployment.yaml | 4 +- .../tests/test-mariadb-connection.yaml | 4 +- upstreamed/wordpress/values-production.yaml | 59 +++++++++---------- upstreamed/wordpress/values.yaml | 59 +++++++++---------- 26 files changed, 171 insertions(+), 89 deletions(-) create mode 100644 upstreamed/redis/templates/redis-role.yaml create mode 100644 upstreamed/redis/templates/redis-rolebinding.yaml create mode 100644 upstreamed/redis/templates/redis-serviceaccount.yaml diff --git a/upstreamed/mariadb/Chart.yaml b/upstreamed/mariadb/Chart.yaml index d8dd57136..cde5baa29 100644 --- a/upstreamed/mariadb/Chart.yaml +++ b/upstreamed/mariadb/Chart.yaml @@ -1,5 +1,5 @@ name: mariadb -version: 4.2.2 +version: 4.2.3 appVersion: 10.1.33 description: Fast, reliable, scalable, and easy to use open-source relational database system. MariaDB Server is intended for mission-critical, heavy-load production systems as well as for embedding into mass-deployed software. Highly available MariaDB cluster. keywords: diff --git a/upstreamed/mariadb/README.md b/upstreamed/mariadb/README.md index 687c03bcf..cab0ee34e 100644 --- a/upstreamed/mariadb/README.md +++ b/upstreamed/mariadb/README.md @@ -53,13 +53,14 @@ The following table lists the configurable parameters of the MariaDB chart and t | `image.pullPolicy` | MariaDB image pull policy | `Always` if `imageTag` is `latest`, else `IfNotPresent` | | `image.pullSecrets` | Specify image pull secrets | `nil` (does not add image pull secrets to deployed pods) | | `service.type` | Kubernetes service type | `ClusterIP` | -| `service.port` | MySQL service port | `3306` | -| `root.password` | Password for the `root` user | _random 10 character alphanumeric string_ | +| `service.port` | MySQL service port | `3306` | +| `rootUser.password` | Password for the `root` user | _random 10 character alphanumeric string_ | +| `rootUser.forcePassword` | Force users to specify a password | `false` | | `db.user` | Username of new user to create | `nil` | | `db.password` | Password for the new user | _random 10 character alphanumeric string if `db.user` is defined_ | | `db.name` | Name for new database to create | `my_database` | -| `replication.enabled` | MariaDB replication enabled | `true` | -| `replication.user` | MariaDB replication user | `replicator` | +| `replication.enabled` | MariaDB replication enabled | `true` | +| `replication.user` | MariaDB replication user | `replicator` | | `replication.password` | MariaDB replication user password | _random 10 character alphanumeric string_ | | `master.antiAffinity` | Master pod anti-affinity policy | `soft` | | `master.persistence.enabled` | Enable persistence using a `PersistentVolumeClaim` | `true` | diff --git a/upstreamed/mediawiki/Chart.yaml b/upstreamed/mediawiki/Chart.yaml index 5dd605013..131879b11 100644 --- a/upstreamed/mediawiki/Chart.yaml +++ b/upstreamed/mediawiki/Chart.yaml @@ -1,6 +1,6 @@ name: mediawiki -version: 3.0.0 -appVersion: 1.30.0 +version: 3.0.1 +appVersion: 1.31.0 description: Extremely powerful, scalable software and a feature-rich wiki implementation that uses PHP to process and display data stored in a database. home: http://www.mediawiki.org/ diff --git a/upstreamed/mediawiki/requirements.lock b/upstreamed/mediawiki/requirements.lock index de4aeac9e..a53eebd7e 100644 --- a/upstreamed/mediawiki/requirements.lock +++ b/upstreamed/mediawiki/requirements.lock @@ -1,6 +1,6 @@ dependencies: - name: mariadb repository: https://kubernetes-charts.storage.googleapis.com/ - version: 4.2.2 + version: 4.2.3 digest: sha256:5cb42bb2a3015c1a452f31ac1b35a9f5626bc742eebff8f8487a6b760d51e3e9 -generated: 2018-06-11T15:28:26.700306867+02:00 +generated: 2018-06-13T22:19:33.7137449Z diff --git a/upstreamed/mediawiki/values.yaml b/upstreamed/mediawiki/values.yaml index b2dc27df7..a81f6aa47 100644 --- a/upstreamed/mediawiki/values.yaml +++ b/upstreamed/mediawiki/values.yaml @@ -4,7 +4,7 @@ image: registry: docker.io repository: bitnami/mediawiki - tag: 1.30.0 + tag: 1.31.0 ## Specify a imagePullPolicy ## Defaults to 'Always' if image tag is 'latest', else set to 'IfNotPresent' ## ref: http://kubernetes.io/docs/user-guide/images/#pre-pulling-images diff --git a/upstreamed/rabbitmq/Chart.yaml b/upstreamed/rabbitmq/Chart.yaml index b24037626..3ec365963 100644 --- a/upstreamed/rabbitmq/Chart.yaml +++ b/upstreamed/rabbitmq/Chart.yaml @@ -1,6 +1,6 @@ name: rabbitmq -version: 1.1.5 -appVersion: 3.7.5 +version: 1.1.6 +appVersion: 3.7.6 description: Open source message broker software that implements the Advanced Message Queuing Protocol (AMQP) keywords: - rabbitmq diff --git a/upstreamed/rabbitmq/values-production.yaml b/upstreamed/rabbitmq/values-production.yaml index a16b1bf97..f4ebb59f1 100644 --- a/upstreamed/rabbitmq/values-production.yaml +++ b/upstreamed/rabbitmq/values-production.yaml @@ -4,7 +4,7 @@ image: registry: docker.io repository: bitnami/rabbitmq - tag: 3.7.5-r1 + tag: 3.7.6-r1 ## Specify a imagePullPolicy ## Defaults to 'Always' if image tag is 'latest', else set to 'IfNotPresent' ## ref: http://kubernetes.io/docs/user-guide/images/#pre-pulling-images diff --git a/upstreamed/rabbitmq/values.yaml b/upstreamed/rabbitmq/values.yaml index bf154b315..65d747de1 100644 --- a/upstreamed/rabbitmq/values.yaml +++ b/upstreamed/rabbitmq/values.yaml @@ -4,7 +4,7 @@ image: registry: docker.io repository: bitnami/rabbitmq - tag: 3.7.5 + tag: 3.7.6 ## set to true if you would like to see extra information on logs ## it turns BASH and NAMI debugging in minideb diff --git a/upstreamed/redis/Chart.yaml b/upstreamed/redis/Chart.yaml index d24b49abd..a24700a4c 100644 --- a/upstreamed/redis/Chart.yaml +++ b/upstreamed/redis/Chart.yaml @@ -1,5 +1,5 @@ name: redis -version: 3.3.6 +version: 3.4.0 appVersion: 4.0.9 description: Open source, advanced key-value store. It is often referred to as a data structure server since keys can contain strings, hashes, lists, sets and sorted sets. keywords: diff --git a/upstreamed/redis/README.md b/upstreamed/redis/README.md index e8a5ecc24..6ec5ccfd1 100644 --- a/upstreamed/redis/README.md +++ b/upstreamed/redis/README.md @@ -63,6 +63,10 @@ The following table lists the configurable parameters of the Redis chart and the | `password` | Redis password (ignored if existingSecret set) | Randomly generated | | `networkPolicy.enabled` | Enable NetworkPolicy | `false` | | `networkPolicy.allowExternal` | Don't require client label for connections | `true` | +| `serviceAccount.create` | Specifies whether a ServiceAccount should be created | `false` | +| `serviceAccount.name` | The name of the ServiceAccount to create | Generated using the fullname template | +| `rbac.create` | Specifies whether RBAC resources should be created | `false` | +| `rbac.role.rules` | Rules to create | `[]` | | `metrics.enabled` | Start a side-car prometheus exporter | `false` | | `metrics.image.registry` | Redis Image registry | `docker.io` | | `metrics.image.repository` | Redis Image name | `bitnami/redis` | diff --git a/upstreamed/redis/templates/_helpers.tpl b/upstreamed/redis/templates/_helpers.tpl index 62b4d268a..af5aada51 100644 --- a/upstreamed/redis/templates/_helpers.tpl +++ b/upstreamed/redis/templates/_helpers.tpl @@ -117,3 +117,14 @@ securityContext: {{- end }} {{- end }} {{- end -}} + +{{/* +Create the name of the service account to use +*/}} +{{- define "redis.serviceAccountName" -}} +{{- if .Values.serviceAccount.create -}} + {{ default (include "redis.fullname" .) .Values.serviceAccount.name }} +{{- else -}} + {{ default "default" .Values.serviceAccount.name }} +{{- end -}} +{{- end -}} diff --git a/upstreamed/redis/templates/metrics-deployment.yaml b/upstreamed/redis/templates/metrics-deployment.yaml index f0ce18fe2..5d7d1b4f9 100644 --- a/upstreamed/redis/templates/metrics-deployment.yaml +++ b/upstreamed/redis/templates/metrics-deployment.yaml @@ -45,7 +45,7 @@ spec: - name: REDIS_ADDR {{- if .Values.cluster.enabled }} value: {{ printf "%s-master:%d,%s-slave:%d" ( include "redis.fullname" . ) ( int .Values.master.port ) ( include "redis.fullname" . ) ( .Values.slave.port | default .Values.master.port | int ) | quote }} - {{- else }} + {{- else }} value: {{ printf "%s-master:%d" (include "redis.fullname" . ) (int .Values.master.port) | quote }} {{- end }} - name: REDIS_ALIAS diff --git a/upstreamed/redis/templates/redis-master-statefulset.yaml b/upstreamed/redis/templates/redis-master-statefulset.yaml index bf05ca79f..a24c399be 100644 --- a/upstreamed/redis/templates/redis-master-statefulset.yaml +++ b/upstreamed/redis/templates/redis-master-statefulset.yaml @@ -39,6 +39,7 @@ spec: fsGroup: {{ .Values.master.securityContext.fsGroup }} runAsUser: {{ .Values.master.securityContext.runAsUser }} {{- end }} + serviceAccountName: "{{ template "redis.serviceAccountName" . }}" {{- if .Values.master.nodeSelector }} nodeSelector: {{ toYaml .Values.master.nodeSelector | indent 8 }} diff --git a/upstreamed/redis/templates/redis-role.yaml b/upstreamed/redis/templates/redis-role.yaml new file mode 100644 index 000000000..26e04b727 --- /dev/null +++ b/upstreamed/redis/templates/redis-role.yaml @@ -0,0 +1,13 @@ +{{- if and .Values.rbac.create .Values.rbac.role.rules -}} +apiVersion: rbac.authorization.k8s.io/v1 +kind: Role +metadata: + name: {{ template "redis.fullname" . }} + labels: + app: {{ template "redis.name" . }} + chart: {{ template "redis.chart" . }} + release: "{{ .Release.Name }}" + heritage: "{{ .Release.Service }}" +rules: +{{ toYaml .Values.rbac.role.rules }} +{{- end -}} diff --git a/upstreamed/redis/templates/redis-rolebinding.yaml b/upstreamed/redis/templates/redis-rolebinding.yaml new file mode 100644 index 000000000..3a641097e --- /dev/null +++ b/upstreamed/redis/templates/redis-rolebinding.yaml @@ -0,0 +1,18 @@ +{{- if .Values.rbac.create -}} +apiVersion: rbac.authorization.k8s.io/v1beta1 +kind: RoleBinding +metadata: + name: {{ template "redis.fullname" . }} + labels: + app: {{ template "redis.name" . }} + chart: {{ template "redis.chart" . }} + release: "{{ .Release.Name }}" + heritage: "{{ .Release.Service }}" +roleRef: + apiGroup: rbac.authorization.k8s.io + kind: Role + name: {{ template "redis.fullname" . }} +subjects: +- kind: ServiceAccount + name: {{ template "redis.serviceAccountName" . }} +{{- end -}} diff --git a/upstreamed/redis/templates/redis-serviceaccount.yaml b/upstreamed/redis/templates/redis-serviceaccount.yaml new file mode 100644 index 000000000..392fb3f01 --- /dev/null +++ b/upstreamed/redis/templates/redis-serviceaccount.yaml @@ -0,0 +1,11 @@ +{{- if .Values.serviceAccount.create -}} +apiVersion: v1 +kind: ServiceAccount +metadata: + name: {{ template "redis.serviceAccountName" . }} + labels: + app: {{ template "redis.name" . }} + chart: {{ template "redis.chart" . }} + release: "{{ .Release.Name }}" + heritage: "{{ .Release.Service }}" +{{- end -}} diff --git a/upstreamed/redis/templates/redis-slave-deployment.yaml b/upstreamed/redis/templates/redis-slave-deployment.yaml index 6e69013ee..f3ee1f7cd 100644 --- a/upstreamed/redis/templates/redis-slave-deployment.yaml +++ b/upstreamed/redis/templates/redis-slave-deployment.yaml @@ -34,6 +34,7 @@ spec: {{- end}} {{- /* Include master securityContext if slave securityContext not defined */ -}} {{ include "redis.slave.securityContext" . | indent 6 }} + serviceAccountName: "{{ template "redis.serviceAccountName" . }}" {{- if (.Values.slave.nodeSelector | default .Values.master.nodeSelector) }} nodeSelector: {{ toYaml (.Values.slave.nodeSelector | default .Values.master.nodeSelector) | indent 8 }} diff --git a/upstreamed/redis/values.yaml b/upstreamed/redis/values.yaml index 8cd5e8451..8f751a7ae 100644 --- a/upstreamed/redis/values.yaml +++ b/upstreamed/redis/values.yaml @@ -64,6 +64,30 @@ networkPolicy: ## # allowExternal: true +serviceAccount: + # Specifies whether a ServiceAccount should be created + create: false + # The name of the ServiceAccount to use. + # If not set and create is true, a name is generated using the fullname template + name: + +rbac: + # Specifies whether RBAC resources should be created + create: false + + role: + ## Rules to create. It follows the role specification + # rules: + # - apiGroups: + # - extensions + # resources: + # - podsecuritypolicies + # verbs: + # - use + # resourceNames: + # - gce.unprivileged + rules: [] + ## Redis password (both master and slave) ## Defaults to a random 10-character alphanumeric string if not set and usePassword is true ## ref: https://github.com/bitnami/bitnami-docker-redis#setting-the-server-password-on-first-run diff --git a/upstreamed/wordpress/Chart.yaml b/upstreamed/wordpress/Chart.yaml index c05658e8f..899d1d37e 100644 --- a/upstreamed/wordpress/Chart.yaml +++ b/upstreamed/wordpress/Chart.yaml @@ -1,5 +1,5 @@ name: wordpress -version: 1.0.10 +version: 2.0.0 appVersion: 4.9.6 description: Web publishing platform for building blogs and websites. icon: https://bitnami.com/assets/stacks/wordpress/img/wordpress-stack-220x234.png diff --git a/upstreamed/wordpress/README.md b/upstreamed/wordpress/README.md index 98f6e45b8..e06391bbe 100644 --- a/upstreamed/wordpress/README.md +++ b/upstreamed/wordpress/README.md @@ -67,10 +67,10 @@ The following table lists the configurable parameters of the WordPress chart and | `smtpUsername` | User name for SMTP emails | `nil` | | `smtpProtocol` | SMTP protocol [`tls`, `ssl`] | `nil` | | `mariadb.enabled` | Deploy MariaDB container(s) | `true` | -| `mariadb.mariadbRootPassword` | MariaDB admin password | `nil` | -| `mariadb.mariadbDatabase` | Database name to create | `bitnami_wordpress` | -| `mariadb.mariadbUser` | Database user to create | `bn_wordpress` | -| `mariadb.mariadbPassword` | Password for the database | _random 10 character long alphanumeric string_ | +| `mariadb.rootUser.password` | MariaDB admin password | `nil` | +| `mariadb.db.name` | Database name to create | `bitnami_wordpress` | +| `mariadb.db.user` | Database user to create | `bn_wordpress` | +| `mariadb.db.password` | Password for the database | _random 10 character long alphanumeric string_ | | `externalDatabase.host` | Host of the external database | `localhost` | | `externalDatabase.user` | Existing username in the external db | `bn_wordpress` | | `externalDatabase.password` | Password for the above username | `nil` | diff --git a/upstreamed/wordpress/requirements.lock b/upstreamed/wordpress/requirements.lock index 3c43c2ba6..4c6674716 100644 --- a/upstreamed/wordpress/requirements.lock +++ b/upstreamed/wordpress/requirements.lock @@ -1,6 +1,6 @@ dependencies: - name: mariadb repository: https://kubernetes-charts.storage.googleapis.com/ - version: 2.1.1 -digest: sha256:abb98724b82fbb89b183dbd016f18c207c3bfb4970d5c8770a884af1c5304dbc -generated: 2017-12-13T12:24:01.108769296Z + version: 4.2.2 +digest: sha256:82a0e5374376169d2ecf7d452c18a2ed93507f5d17c3393a1457f9ffad7e9b26 +generated: 2018-06-11T15:48:39.640401526+02:00 diff --git a/upstreamed/wordpress/requirements.yaml b/upstreamed/wordpress/requirements.yaml index 91807ba75..a894b8b3b 100644 --- a/upstreamed/wordpress/requirements.yaml +++ b/upstreamed/wordpress/requirements.yaml @@ -1,6 +1,6 @@ dependencies: - name: mariadb - version: 2.1.1 + version: 4.x.x repository: https://kubernetes-charts.storage.googleapis.com/ condition: mariadb.enabled tags: diff --git a/upstreamed/wordpress/templates/deployment.yaml b/upstreamed/wordpress/templates/deployment.yaml index 39ae20db6..e8fc4b894 100644 --- a/upstreamed/wordpress/templates/deployment.yaml +++ b/upstreamed/wordpress/templates/deployment.yaml @@ -45,13 +45,13 @@ spec: {{- end }} - name: WORDPRESS_DATABASE_NAME {{- if .Values.mariadb.enabled }} - value: {{ .Values.mariadb.mariadbDatabase | quote }} + value: {{ .Values.mariadb.db.name | quote }} {{- else }} value: {{ .Values.externalDatabase.database | quote }} {{- end }} - name: WORDPRESS_DATABASE_USER {{- if .Values.mariadb.enabled }} - value: {{ .Values.mariadb.mariadbUser | quote }} + value: {{ .Values.mariadb.db.user | quote }} {{- else }} value: {{ .Values.externalDatabase.user | quote }} {{- end }} diff --git a/upstreamed/wordpress/templates/tests/test-mariadb-connection.yaml b/upstreamed/wordpress/templates/tests/test-mariadb-connection.yaml index badcb60fc..95ccb38ad 100644 --- a/upstreamed/wordpress/templates/tests/test-mariadb-connection.yaml +++ b/upstreamed/wordpress/templates/tests/test-mariadb-connection.yaml @@ -16,9 +16,9 @@ spec: - name: MARIADB_PORT value: "3306" - name: WORDPRESS_DATABASE_NAME - value: {{ default "" .Values.mariadb.mariadbDatabase | quote }} + value: {{ default "" .Values.mariadb.db.name | quote }} - name: WORDPRESS_DATABASE_USER - value: {{ default "" .Values.mariadb.mariadbUser | quote }} + value: {{ default "" .Values.mariadb.db.user | quote }} - name: WORDPRESS_DATABASE_PASSWORD valueFrom: secretKeyRef: diff --git a/upstreamed/wordpress/values-production.yaml b/upstreamed/wordpress/values-production.yaml index 1b9815f53..d6d589718 100644 --- a/upstreamed/wordpress/values-production.yaml +++ b/upstreamed/wordpress/values-production.yaml @@ -84,45 +84,44 @@ externalDatabase: ## MariaDB chart configuration ## mariadb: - ## Whether to use the database specified as a requirement or not. - ## If you want to use an external database, set this to false and supply details to externalDatabase above + ## 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 enabled: true + ## Disable MariaDB replication + replication: + enabled: false + + ## Create a database and a database user + ## ref: https://github.com/bitnami/bitnami-docker-mariadb/blob/master/README.md#creating-a-database-user-on-first-run + ## + db: + name: bitnami_wordpress + user: bn_wordpress + ## If the password is not specified, mariadb will generates a random password + ## + # password: ## MariaDB admin password ## ref: https://github.com/bitnami/bitnami-docker-mariadb/blob/master/README.md#setting-the-root-password-on-first-run ## - # mariadbRootPassword: - - ## Create a database - ## ref: https://github.com/bitnami/bitnami-docker-mariadb/blob/master/README.md#creating-a-database-on-first-run - ## - mariadbDatabase: bitnami_wordpress - - ## Create a database user - ## ref: https://github.com/bitnami/bitnami-docker-mariadb/blob/master/README.md#creating-a-database-user-on-first-run - ## - mariadbUser: bn_wordpress - - ## Password for mariadbUser - ## ref: https://github.com/bitnami/bitnami-docker-mariadb/blob/master/README.md#creating-a-database-user-on-first-run - ## - # mariadbPassword: + # rootUser: + # password: ## Enable persistence using Persistent Volume Claims ## ref: http://kubernetes.io/docs/user-guide/persistent-volumes/ ## - persistence: - enabled: true - ## mariadb data Persistent Volume Storage Class - ## If defined, storageClassName: - ## If set to "-", storageClassName: "", which disables dynamic provisioning - ## If undefined (the default) or set to null, no storageClassName spec is - ## set, choosing the default provisioner. (gp2 on AWS, standard on - ## GKE, AWS & OpenStack) - ## - # storageClass: "-" - accessMode: ReadWriteOnce - size: 8Gi + master: + persistence: + enabled: true + ## mariadb data Persistent Volume Storage Class + ## If defined, storageClassName: + ## If set to "-", storageClassName: "", which disables dynamic provisioning + ## If undefined (the default) or set to null, no storageClassName spec is + ## set, choosing the default provisioner. (gp2 on AWS, standard on + ## GKE, AWS & OpenStack) + ## + # storageClass: "-" + accessMode: ReadWriteOnce + size: 8Gi ## Kubernetes configuration ## For minikube, set this to NodePort, elsewhere use LoadBalancer or ClusterIP diff --git a/upstreamed/wordpress/values.yaml b/upstreamed/wordpress/values.yaml index 173fb1320..363b7796f 100644 --- a/upstreamed/wordpress/values.yaml +++ b/upstreamed/wordpress/values.yaml @@ -88,45 +88,44 @@ externalDatabase: ## MariaDB chart configuration ## mariadb: - ## Whether to use the database specified as a requirement or not. - ## If you want to use an external database, set this to false and supply details to externalDatabase above + ## 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 enabled: true + ## Disable MariaDB replication + replication: + enabled: false + + ## Create a database and a database user + ## ref: https://github.com/bitnami/bitnami-docker-mariadb/blob/master/README.md#creating-a-database-user-on-first-run + ## + db: + name: bitnami_wordpress + user: bn_wordpress + ## If the password is not specified, mariadb will generates a random password + ## + # password: ## MariaDB admin password ## ref: https://github.com/bitnami/bitnami-docker-mariadb/blob/master/README.md#setting-the-root-password-on-first-run ## - # mariadbRootPassword: - - ## Create a database - ## ref: https://github.com/bitnami/bitnami-docker-mariadb/blob/master/README.md#creating-a-database-on-first-run - ## - mariadbDatabase: bitnami_wordpress - - ## Create a database user - ## ref: https://github.com/bitnami/bitnami-docker-mariadb/blob/master/README.md#creating-a-database-user-on-first-run - ## - mariadbUser: bn_wordpress - - ## Password for mariadbUser - ## ref: https://github.com/bitnami/bitnami-docker-mariadb/blob/master/README.md#creating-a-database-user-on-first-run - ## - # mariadbPassword: + # rootUser: + # password: ## Enable persistence using Persistent Volume Claims ## ref: http://kubernetes.io/docs/user-guide/persistent-volumes/ ## - persistence: - enabled: true - ## mariadb data Persistent Volume Storage Class - ## If defined, storageClassName: - ## If set to "-", storageClassName: "", which disables dynamic provisioning - ## If undefined (the default) or set to null, no storageClassName spec is - ## set, choosing the default provisioner. (gp2 on AWS, standard on - ## GKE, AWS & OpenStack) - ## - # storageClass: "-" - accessMode: ReadWriteOnce - size: 8Gi + master: + persistence: + enabled: true + ## mariadb data Persistent Volume Storage Class + ## If defined, storageClassName: + ## If set to "-", storageClassName: "", which disables dynamic provisioning + ## If undefined (the default) or set to null, no storageClassName spec is + ## set, choosing the default provisioner. (gp2 on AWS, standard on + ## GKE, AWS & OpenStack) + ## + # storageClass: "-" + accessMode: ReadWriteOnce + size: 8Gi ## Kubernetes configuration ## For minikube, set this to NodePort, elsewhere use LoadBalancer or ClusterIP