Skip to content

Commit

Permalink
Add values for clear image in chart (#306)
Browse files Browse the repository at this point in the history
Add values for cleaner image in chart
  • Loading branch information
tamalsaha authored Sep 26, 2018
1 parent 683a841 commit 5ec3251
Show file tree
Hide file tree
Showing 3 changed files with 8 additions and 1 deletion.
3 changes: 3 additions & 0 deletions chart/kubedb/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -49,6 +49,9 @@ The following table lists the configurable parameters of the KubeDB chart and th
| `kubedb.registry` | Docker registry used to pull Kubedb operator image | `kubedb` |
| `kubedb.repository` | Kubedb operator container image | `operator` |
| `kubedb.tag` | Kubedb operator container image tag | `0.9.0-beta.0` |
| `cleaner.registry` | Docker registry used to pull Webhook cleaner image | `appcode` |
| `cleaner.repository` | Webhook cleaner container image | `kubectl` |
| `cleaner.tag` | Webhook cleaner container image tag | `v1.11` |
| `imagePullSecrets` | Specify image pull secrets | `nil` (does not add image pull secrets to deployed pods) |
| `imagePullPolicy` | Image pull policy | `IfNotPresent` |
| `criticalAddon` | If true, installs KubeDB operator as critical addon | `false` |
Expand Down
2 changes: 1 addition & 1 deletion chart/kubedb/templates/cleaner.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -18,7 +18,7 @@ spec:
serviceAccountName: {{ template "kubedb.serviceAccountName" . }}
containers:
- name: busybox
image: appscode/kubectl:v1.11
image: {{ .Values.cleaner.registry }}/{{ .Values.cleaner.repository }}:{{ .Values.cleaner.tag }}
command:
- sh
- -c
Expand Down
4 changes: 4 additions & 0 deletions chart/kubedb/values.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -8,6 +8,10 @@ kubedb:
registry: kubedb
repository: operator
tag: 0.9.0-beta.0
cleaner:
registry: appcode
repository: kubectl
tag: v1.11
## Optionally specify an array of imagePullSecrets.
## Secrets must be manually created in the namespace.
## ref: https://kubernetes.io/docs/concepts/containers/images/#specifying-imagepullsecrets-on-a-pod
Expand Down

0 comments on commit 5ec3251

Please sign in to comment.