From f453d2e83502dff7b3cdb5e4f92cc83fd82ca6c6 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Javier=20J=2E=20Salmer=C3=B3n-Garc=C3=ADa?= Date: Tue, 12 Jun 2018 10:47:27 +0200 Subject: [PATCH] [stable/prestashop] Set dependencies to the latest version (#6046) --- stable/prestashop/Chart.yaml | 2 +- stable/prestashop/README.md | 8 ++-- stable/prestashop/requirements.lock | 6 +-- stable/prestashop/requirements.yaml | 2 +- stable/prestashop/templates/deployment.yaml | 4 +- stable/prestashop/values.yaml | 50 ++++++++++----------- 6 files changed, 36 insertions(+), 36 deletions(-) diff --git a/stable/prestashop/Chart.yaml b/stable/prestashop/Chart.yaml index 55da5efab2..265c1864ac 100644 --- a/stable/prestashop/Chart.yaml +++ b/stable/prestashop/Chart.yaml @@ -1,5 +1,5 @@ name: prestashop -version: 1.0.8 +version: 2.0.0 appVersion: 1.7.3-3 description: A popular open source ecommerce solution. Professional tools are easily accessible to increase online sales including instant guest checkout, abandoned diff --git a/stable/prestashop/README.md b/stable/prestashop/README.md index 425f3580c7..745d13c1f8 100644 --- a/stable/prestashop/README.md +++ b/stable/prestashop/README.md @@ -71,10 +71,10 @@ The following table lists the configurable parameters of the PrestaShop chart an | `externalDatabase.password` | Password for the above username | `nil` | | `externalDatabase.database` | Name of the existing database | `bitnami_prestashop` | | `mariadb.enabled` | Whether to use the MariaDB chart | `true` | -| `mariadb.mariadbDatabase` | Database name to create | `bitnami_prestashop` | -| `mariadb.mariadbUser` | Database user to create | `bn_prestashop` | -| `mariadb.mariadbPassword` | Password for the database | `nil` | -| `mariadb.mariadbRootPassword` | MariaDB admin password | `nil` | +| `mariadb.db.name` | Database name to create | `bitnami_prestashop` | +| `mariadb.db.user` | Database user to create | `bn_prestashop` | +| `mariadb.db.password` | Password for the database | `nil` | +| `mariadb.rootUser.password` | MariaDB admin password | `nil` | | `serviceType` | Kubernetes Service type | `LoadBalancer` | | `persistence.enabled` | Enable persistence using PVC | `true` | | `persistence.apache.storageClass` | PVC Storage Class for Apache volume | `nil` (uses alpha storage class annotation) | diff --git a/stable/prestashop/requirements.lock b/stable/prestashop/requirements.lock index 73ab161874..5858b44e7b 100644 --- a/stable/prestashop/requirements.lock +++ b/stable/prestashop/requirements.lock @@ -1,6 +1,6 @@ dependencies: - name: mariadb repository: https://kubernetes-charts.storage.googleapis.com/ - version: 0.7.0 -digest: sha256:f59f68030aa5c50b9e776b813804875fac911f91c2aa384e991f37a795c5ae34 -generated: 2018-05-24T18:07:27.111407018+02:00 + version: 4.2.2 +digest: sha256:b75f19f70f8a102eeda32e04c0c99dd8e635de3f3ee27e28c6f93054276e9dc1 +generated: 2018-06-11T15:57:44.62475904+02:00 diff --git a/stable/prestashop/requirements.yaml b/stable/prestashop/requirements.yaml index 7c0c6a88a9..4ea7e0e5cc 100644 --- a/stable/prestashop/requirements.yaml +++ b/stable/prestashop/requirements.yaml @@ -1,5 +1,5 @@ dependencies: - name: mariadb - version: 0.7.0 + version: 4.x.x repository: https://kubernetes-charts.storage.googleapis.com/ condition: mariadb.enabled diff --git a/stable/prestashop/templates/deployment.yaml b/stable/prestashop/templates/deployment.yaml index 8f5c104f84..c15f4655c3 100644 --- a/stable/prestashop/templates/deployment.yaml +++ b/stable/prestashop/templates/deployment.yaml @@ -33,9 +33,9 @@ spec: - name: MARIADB_PORT_NUMBER value: "3306" - name: PRESTASHOP_DATABASE_NAME - value: {{ .Values.mariadb.mariadbDatabase | quote }} + value: {{ .Values.mariadb.db.name | quote }} - name: PRESTASHOP_DATABASE_USER - value: {{ .Values.mariadb.mariadbUser | quote }} + value: {{ .Values.mariadb.db.user | quote }} - name: PRESTASHOP_DATABASE_PASSWORD valueFrom: secretKeyRef: diff --git a/stable/prestashop/values.yaml b/stable/prestashop/values.yaml index e6ae0df646..671db99be8 100644 --- a/stable/prestashop/values.yaml +++ b/stable/prestashop/values.yaml @@ -92,42 +92,42 @@ externalDatabase: mariadb: ## 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 - ## ref: https://github.com/bitnami/bitnami-docker-mariadb/blob/master/README.md#creating-a-database-on-first-run - ## - mariadbDatabase: bitnami_prestashop - - ## Create a database user + ## 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 ## - mariadbUser: bn_prestashop - - ## Password for mariadbUser - ## ref: https://github.com/bitnami/bitnami-docker-mariadb/blob/master/README.md#creating-a-database-user-on-first-run - ## - # mariadbPassword: + db: + name: bitnami_prestashop + user: bn_prestashop + ## 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: + # 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