mirror of
https://github.com/helm/charts.git
synced 2026-08-23 22:37:45 +00:00
[stable/cerebro] template initimage (#9929)
Signed-off-by: David J. M. Karlsen <david@davidkarlsen.com>
This commit is contained in:
committed by
Kubernetes Prow Robot
parent
fabfaff8da
commit
dfaee2c8e5
@@ -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
|
||||
|
||||
@@ -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 | `{}` |
|
||||
|
||||
@@ -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
|
||||
|
||||
@@ -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
|
||||
|
||||
Reference in New Issue
Block a user