diff --git a/stable/ghost/Chart.yaml b/stable/ghost/Chart.yaml index 66e9d7a48f..3e66956a5c 100644 --- a/stable/ghost/Chart.yaml +++ b/stable/ghost/Chart.yaml @@ -1,5 +1,5 @@ name: ghost -version: 3.1.8 +version: 4.0.0 appVersion: 1.24.2 description: A simple, powerful publishing platform that allows you to share your stories with the world diff --git a/stable/ghost/README.md b/stable/ghost/README.md index 1b510e7504..4fc286d05c 100644 --- a/stable/ghost/README.md +++ b/stable/ghost/README.md @@ -66,10 +66,10 @@ The following table lists the configurable parameters of the Ghost chart and the | `externalDatabase.password` | Password for the above username | `nil` | | `externalDatabase.database` | Name of the existing database | `bitnami_ghost` | | `mariadb.enabled` | Whether or not to install MariaDB (disable if using external) | `true` | -| `mariadb.mariadbRootPassword` | MariaDB admin password | `nil` | -| `mariadb.mariadbDatabase` | MariaDB Database name to create | `bitnami_ghost` | -| `mariadb.mariadbUser` | MariaDB Database user to create | `bn_ghost` | -| `mariadb.mariadbPassword` | MariaDB Password for user | _random 10 character long alphanumeric string_ | +| `mariadb.rootUser.password` | MariaDB admin password | `nil` | +| `mariadb.db.name` | MariaDB Database name to create | `bitnami_ghost` | +| `mariadb.db.user` | MariaDB Database user to create | `bn_ghost` | +| `mariadb.db.password` | MariaDB Password for user | _random 10 character long alphanumeric string_ | | `serviceType` | Kubernetes Service type | `LoadBalancer` | | `persistence.enabled` | Enable persistence using PVC | `true` | | `persistence.storageClass` | PVC Storage Class for Ghost volume | `nil` (uses alpha storage annotation) | diff --git a/stable/ghost/requirements.lock b/stable/ghost/requirements.lock index a8fcd68eb8..69fe3c798e 100644 --- a/stable/ghost/requirements.lock +++ b/stable/ghost/requirements.lock @@ -1,6 +1,6 @@ dependencies: - name: mariadb repository: https://kubernetes-charts.storage.googleapis.com/ - version: 2.1.1 -digest: sha256:b8e3e6de1e41b1af5cad8decf6f3345af26d850c11dcbb2e2efa4d118c51a573 -generated: 2018-05-11T15:39:45.730914147+02:00 + version: 4.2.2 +digest: sha256:8a53e73537f5a2d9073c3b1173b9c6b814c2baeb2e8e31485e2ad52172c0b296 +generated: 2018-06-11T13:06:19.37824158+02:00 diff --git a/stable/ghost/requirements.yaml b/stable/ghost/requirements.yaml index ca466c0e51..d3d9bf6c26 100644 --- a/stable/ghost/requirements.yaml +++ b/stable/ghost/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/stable/ghost/templates/deployment.yaml b/stable/ghost/templates/deployment.yaml index 77dcbfca3c..6c6798ce47 100644 --- a/stable/ghost/templates/deployment.yaml +++ b/stable/ghost/templates/deployment.yaml @@ -50,13 +50,13 @@ spec: value: "3306" - name: GHOST_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: GHOST_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/stable/ghost/values.yaml b/stable/ghost/values.yaml index b073b6ddb6..24aadadac4 100644 --- a/stable/ghost/values.yaml +++ b/stable/ghost/values.yaml @@ -95,44 +95,45 @@ externalDatabase: ## MariaDB chart configuration ## mariadb: - ## Whether to use the database specified as a requirement or not. For example, to configure the chart with an existing database server. + ## 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_ghost + user: bn_ghost + ## 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_ghost - - ## 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_ghost - - ## Password for mariadbUser - ## ref: https://github.com/bitnami/bitnami-docker-mariadb/blob/master/README.md#creating-a-database-user-on-first-run - ## - # mariadbPassword: + # root: + # 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