2017-09-22 19:14:04 +03:00
|
|
|
## Bitnami WordPress image version
|
|
|
|
## ref: https://hub.docker.com/r/bitnami/wordpress/tags/
|
|
|
|
##
|
2017-11-08 23:56:08 +03:00
|
|
|
image: bitnami/wordpress:4.8.3-r0
|
2017-09-22 19:14:04 +03:00
|
|
|
|
|
|
|
## Specify a imagePullPolicy
|
|
|
|
## ref: http://kubernetes.io/docs/user-guide/images/#pre-pulling-images
|
|
|
|
##
|
|
|
|
imagePullPolicy: IfNotPresent
|
|
|
|
|
|
|
|
## User of the application
|
|
|
|
## ref: https://github.com/bitnami/bitnami-docker-wordpress#environment-variables
|
|
|
|
##
|
|
|
|
wordpressUsername: user
|
|
|
|
|
|
|
|
## Application password
|
|
|
|
## Defaults to a random 10-character alphanumeric string if not set
|
|
|
|
## ref: https://github.com/bitnami/bitnami-docker-wordpress#environment-variables
|
|
|
|
##
|
|
|
|
# wordpressPassword:
|
|
|
|
|
|
|
|
## Admin email
|
|
|
|
## ref: https://github.com/bitnami/bitnami-docker-wordpress#environment-variables
|
|
|
|
##
|
|
|
|
wordpressEmail: user@example.com
|
|
|
|
|
|
|
|
## First name
|
|
|
|
## ref: https://github.com/bitnami/bitnami-docker-wordpress#environment-variables
|
|
|
|
##
|
|
|
|
wordpressFirstName: FirstName
|
|
|
|
|
|
|
|
## Last name
|
|
|
|
## ref: https://github.com/bitnami/bitnami-docker-wordpress#environment-variables
|
|
|
|
##
|
|
|
|
wordpressLastName: LastName
|
|
|
|
|
|
|
|
## Blog name
|
|
|
|
## ref: https://github.com/bitnami/bitnami-docker-wordpress#environment-variables
|
|
|
|
##
|
|
|
|
wordpressBlogName: User's Blog!
|
|
|
|
|
|
|
|
## Set to `yes` to allow the container to be started with blank passwords
|
|
|
|
## ref: https://github.com/bitnami/bitnami-docker-wordpress#environment-variables
|
|
|
|
allowEmptyPassword: yes
|
|
|
|
|
|
|
|
## SMTP mail delivery configuration
|
|
|
|
## ref: https://github.com/bitnami/bitnami-docker-wordpress/#smtp-configuration
|
|
|
|
##
|
|
|
|
# smtpHost:
|
|
|
|
# smtpPort:
|
|
|
|
# smtpUser:
|
|
|
|
# smtpPassword:
|
|
|
|
# smtpUsername:
|
|
|
|
# smtpProtocol:
|
|
|
|
|
2017-11-08 23:56:08 +03:00
|
|
|
mysql:
|
2017-12-07 03:22:28 +03:00
|
|
|
## Whether to fulfill the dependency on MySQL using an embedded (on-cluster)
|
|
|
|
## MariaDB database _instead of Azure Database for MySQL. This option is
|
|
|
|
## available to enable local or no-cost evaluation of this chart.
|
2017-11-08 23:56:08 +03:00
|
|
|
embeddedMaria: false
|
2017-12-07 03:22:28 +03:00
|
|
|
azure:
|
|
|
|
## The Azure region in which to deploy Azure Database for MySQL
|
|
|
|
location: eastus
|
|
|
|
## The plan to request for Azure Database for MySQL
|
|
|
|
servicePlan: standard100
|
2017-11-08 23:56:08 +03:00
|
|
|
|
|
|
|
##
|
|
|
|
## MariaDB chart configuration
|
|
|
|
## ALL OF THE FOLLOWING CONFIGURATION IS APPLICABLE ONLY IF mysql.embeddedMaria
|
|
|
|
## is set to true
|
|
|
|
##
|
|
|
|
mariadb:
|
|
|
|
## 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:
|
|
|
|
|
|
|
|
## 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: <storageClass>
|
|
|
|
## 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
|
|
|
|
|
2017-09-22 19:14:04 +03:00
|
|
|
## Kubernetes configuration
|
|
|
|
## For minikube, set this to NodePort, elsewhere use LoadBalancer
|
|
|
|
##
|
|
|
|
serviceType: LoadBalancer
|
|
|
|
|
|
|
|
## Allow health checks to be pointed at the https port
|
|
|
|
healthcheckHttps: false
|
|
|
|
|
|
|
|
## Configure ingress resource that allow you to access the
|
|
|
|
## Wordpress instalation. Set up the URL
|
|
|
|
## ref: http://kubernetes.io/docs/user-guide/ingress/
|
|
|
|
##
|
|
|
|
ingress:
|
2017-11-08 23:56:08 +03:00
|
|
|
## Set to true to enable ingress record generation
|
|
|
|
enabled: false
|
2017-09-22 19:14:04 +03:00
|
|
|
|
2017-11-08 23:56:08 +03:00
|
|
|
## The list of hostnames to be covered with this ingress record.
|
|
|
|
## Most likely this will be just one host, but in the event more hosts are needed, this is an array
|
|
|
|
hosts:
|
|
|
|
- name: wordpress.local
|
|
|
|
|
|
|
|
## Set this to true in order to enable TLS on the ingress record
|
|
|
|
## A side effect of this will be that the backend wordpress service will be connected at port 443
|
|
|
|
tls: false
|
|
|
|
|
|
|
|
## If TLS is set to true, you must declare what secret will store the key/certificate for TLS
|
|
|
|
tlsSecret: wordpress.local-tls
|
2017-09-22 19:14:04 +03:00
|
|
|
|
2017-11-08 23:56:08 +03:00
|
|
|
## Ingress annotations done as key:value pairs
|
|
|
|
## If you're using kube-lego, you will want to add:
|
|
|
|
## kubernetes.io/tls-acme: true
|
2017-09-22 19:14:04 +03:00
|
|
|
##
|
2017-11-08 23:56:08 +03:00
|
|
|
## For a full list of possible ingress annotations, please see
|
|
|
|
## ref: https://github.com/kubernetes/ingress-nginx/blob/master/docs/annotations.md
|
|
|
|
##
|
|
|
|
## If tls is set to true, annotation ingress.kubernetes.io/secure-backends: "true" will automatically be set
|
|
|
|
annotations:
|
|
|
|
# kubernetes.io/ingress.class: nginx
|
|
|
|
# kubernetes.io/tls-acme: true
|
|
|
|
|
|
|
|
secrets:
|
|
|
|
## If you're providing your own certificates, please use this to add the certificates as secrets
|
|
|
|
## key and certificate should start with -----BEGIN CERTIFICATE----- or
|
|
|
|
## -----BEGIN RSA PRIVATE KEY-----
|
|
|
|
##
|
|
|
|
## name should line up with a tlsSecret set further up
|
|
|
|
## If you're using kube-lego, this is unneeded, as it will create the secret for you if it is not set
|
|
|
|
##
|
|
|
|
## It is also possible to create and manage the certificates outside of this helm chart
|
|
|
|
## Please see README.md for more information
|
|
|
|
# - name: wordpress.local-tls
|
|
|
|
# key:
|
|
|
|
# certificate:
|
2017-09-22 19:14:04 +03:00
|
|
|
|
|
|
|
## Enable persistence using Persistent Volume Claims
|
|
|
|
## ref: http://kubernetes.io/docs/user-guide/persistent-volumes/
|
|
|
|
##
|
|
|
|
persistence:
|
|
|
|
enabled: true
|
|
|
|
## wordpress data Persistent Volume Storage Class
|
|
|
|
## If defined, storageClassName: <storageClass>
|
|
|
|
## 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: 10Gi
|
|
|
|
|
|
|
|
## Configure resource requests and limits
|
|
|
|
## ref: http://kubernetes.io/docs/user-guide/compute-resources/
|
|
|
|
##
|
|
|
|
resources:
|
|
|
|
requests:
|
|
|
|
memory: 512Mi
|
|
|
|
cpu: 300m
|
2017-11-08 23:56:08 +03:00
|
|
|
|
|
|
|
## Node labels for pod assignment
|
|
|
|
## Ref: https://kubernetes.io/docs/user-guide/node-selection/
|
|
|
|
##
|
|
|
|
nodeSelector: {}
|