[stable/cerebro] template initimage (#9929)

Signed-off-by: David J. M. Karlsen <david@davidkarlsen.com>
This commit is contained in:
David J. M. Karlsen
2018-12-12 04:38:55 -08:00
committed by Kubernetes Prow Robot
parent fabfaff8da
commit dfaee2c8e5
4 changed files with 12 additions and 2 deletions
+1 -1
View File
@@ -6,7 +6,7 @@ sources:
- https://github.com/lmenezes/cerebro-docker
- https://github.com/lmenezes/cerebro
name: cerebro
version: 0.4.0
version: 0.5.0
maintainers:
- name: davidkarlsen
email: david@davidkarlsen.com
+3
View File
@@ -43,6 +43,9 @@ The following table lists the configurable parameters of the cerebro chart and t
| `image.repository` | The image to run | `lmenezes/cerebro` |
| `image.tag` | The image tag to pull | `0.8.1` |
| `image.pullPolicy` | Image pull policy | `IfNotPresent` |
| `init.image.repository` | The image to run | `docker.io/busybox` |
| `init.image.tag` | The image tag to pull | `musl` |
| `init.image.pullPolicy` | Image pull policy | `IfNotPresent` |
| `service.type` | Type of Service | `ClusterIP` |
| `service.port` | Port for kubernetes service | `80` |
| `service.annotations` | Annotations to add to the service | `{}` |
+2 -1
View File
@@ -24,7 +24,8 @@ spec:
spec:
initContainers:
- name: chown-db
image: docker.io/busybox:musl
image: {{ .Values.init.image.repository }}:{{ .Values.init.image.tag }}
imagePullPolicy: {{ .Values.init.image.pullPolicy }}
command: ["chown", "1000:1000", "/var/db/cerebro"]
volumeMounts:
- name: db
+6
View File
@@ -8,6 +8,12 @@ image:
tag: 0.8.1
pullPolicy: IfNotPresent
init:
image:
repository: docker.io/busybox
tag: musl
pullPolicy: IfNotPresent
service:
type: ClusterIP
port: 80