MariaDB: fixes imagePullPolicy problem in 1.5 #307 (#309)

This commit is contained in:
Eirikur S. Hrafnsson
2016-12-19 13:59:52 -08:00
committed by Vic Iglesias
parent 5390b767af
commit 2b3d13bf2d
4 changed files with 8 additions and 8 deletions
+1 -1
View File
@@ -1,5 +1,5 @@
name: mariadb
version: 0.5.5
version: 0.5.6
description: Chart for MariaDB
keywords:
- mariadb
+1 -1
View File
@@ -48,7 +48,7 @@ The following tables lists the configurable parameters of the MariaDB chart and
| Parameter | Description | Default |
| ----------------------- | ---------------------------------- | ---------------------------------------------------------- |
| `image` | MariaDB image | `bitnami/mariadb:{VERSION}` |
| `imagePullPolicy` | Image pull policy. | `Always` if `imageTag` is `latest`, else `IfNotPresent`. |
| `imagePullPolicy` | Image pull policy. | `IfNotPresent` |
| `mariadbRootPassword` | Password for the `root` user. | `nil` |
| `mariadbUser` | Username of new user to create. | `nil` |
| `mariadbPassword` | Password for the new user. | `nil` |
+2 -1
View File
@@ -18,6 +18,7 @@ spec:
{
"name": "copy-custom-config",
"image": "{{ .Values.image }}",
"imagePullPolicy": {{ .Values.imagePullPolicy | quote }},
"command": ["sh", "-c", "mkdir -p /bitnami/mariadb/conf && cp -n /bitnami/mariadb_config/my.cnf /bitnami/mariadb/conf/my_custom.cnf"],
"volumeMounts": [
{
@@ -35,7 +36,7 @@ spec:
containers:
- name: {{ template "fullname" . }}
image: "{{ .Values.image }}"
imagePullPolicy: {{ default "" .Values.imagePullPolicy | quote }}
imagePullPolicy: {{ .Values.imagePullPolicy | quote }}
env:
- name: MARIADB_ROOT_PASSWORD
valueFrom:
+4 -5
View File
@@ -4,11 +4,10 @@
## Default: none
image: bitnami/mariadb:10.1.19-r2
## Specify a imagePullPolicy
## Default to 'Always' if imageTag is 'latest', else set to 'IfNotPresent'
## ref: http://kubernetes.io/docs/user-guide/images/#pre-pulling-images
##
# imagePullPolicy:
## Specify an imagePullPolicy (Required)
## It's recommended to change this to 'Always' if the image tag is 'latest'
## ref: http://kubernetes.io/docs/user-guide/images/#updating-images
imagePullPolicy: IfNotPresent
## Specify password for root user
## ref: https://github.com/bitnami/bitnami-docker-mariadb/blob/master/README.md#setting-the-root-password-on-first-run