Skip to content

Commit

Permalink
refs: helm#8747 - added image value and fixed deployment template (he…
Browse files Browse the repository at this point in the history
…lm#8978)

Signed-off-by: Daniele Piaggesi <[email protected]>
  • Loading branch information
g0blin79 authored and k8s-ci-robot committed Dec 17, 2018
1 parent 2315d3f commit 7a79bfc
Show file tree
Hide file tree
Showing 4 changed files with 8 additions and 2 deletions.
2 changes: 1 addition & 1 deletion stable/percona/Chart.yaml
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
name: percona
version: 0.3.3
version: 0.3.4
appVersion: 5.7.17
description: free, fully compatible, enhanced, open source drop-in replacement for
MySQL
Expand Down
1 change: 1 addition & 0 deletions stable/percona/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -48,6 +48,7 @@ The following table lists the configurable parameters of the Percona chart and t

| Parameter | Description | Default |
| ----------------------- | ---------------------------------- | ---------------------------------------------------------- |
| `image` | `percona` image. | Percona official image on Docker Hub |
| `imageTag` | `percona` image tag. | Most recent release |
| `imagePullPolicy` | Image pull policy | `IfNotPresent` |
| `perconaRootPassword` | Password for the `root` user. | `nil` |
Expand Down
2 changes: 1 addition & 1 deletion stable/percona/templates/deployment.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -26,7 +26,7 @@ spec:
mountPath: /var/lib/mysql
containers:
- name: {{ template "percona.fullname" . }}
image: "mysql:{{ .Values.imageTag }}"
image: "{{ .Values.image }}:{{ .Values.imageTag }}"
imagePullPolicy: {{ .Values.imagePullPolicy | quote }}
resources:
{{ toYaml .Values.resources | indent 10 }}
Expand Down
5 changes: 5 additions & 0 deletions stable/percona/values.yaml
Original file line number Diff line number Diff line change
@@ -1,3 +1,8 @@
## percona image
## ref: https://hub.docker.com/_/percona/
##
image: "percona"

## percona image version
## ref: https://hub.docker.com/r/library/percona/tags/
##
Expand Down

0 comments on commit 7a79bfc

Please sign in to comment.