Add image name as parameter. (#778)

* Add image name as parameter.

With this parameter we can use another Traefik image.

Signed-off-by: Nicolas Lamirault <nicolas.lamirault@gmail.com>

* [stable/traefik] add missing space

* [stable/traefik] bump chart version to 1.1.2-h
This commit is contained in:
Nicolas Lamirault
2017-03-16 16:36:46 -07:00
committed by Lachlan Evenson
parent 2d0bbfad9e
commit 613a777e09
4 changed files with 4 additions and 2 deletions
+1 -1
View File
@@ -1,7 +1,7 @@
apiVersion: v1
name: traefik
# Lock step with the Traefik version, appended with -a, -b, etc. to denote versions of the chart
version: 1.1.2-g
version: 1.1.2-h
description: A Traefik based Kubernetes ingress controller with Let's Encrypt support
keywords:
- traefik
+1
View File
@@ -68,6 +68,7 @@ The following tables lists the configurable parameters of the Traefik chart and
| Parameter | Description | Default |
| ------------------------------- | -------------------------------------------------------------------- | ----------------------------------------- |
| `image` | Traefik image name | `traefik` |
| `imageTag` | The version of the official Traefik image to use | `v1.1.2` |
| `serviceType` | A valid Kubernetes service type | `LoadBalancer` |
| `replicas` | The number of replicas to run; __NOTE:__ Full Traefik clustering with leader election is not yet supported, which can affect any configured Let's Encrypt setup; see Clustering section | `1` |
+1 -1
View File
@@ -22,7 +22,7 @@ spec:
spec:
terminationGracePeriodSeconds: 60
containers:
- image: traefik:{{ .Values.imageTag }}
- image: {{ .Values.image }}:{{ .Values.imageTag }}
name: {{ template "fullname" . }}
resources:
requests:
+1
View File
@@ -1,4 +1,5 @@
# Default values for Traefik
image: traefik
imageTag: v1.1.2
serviceType: LoadBalancer
replicas: 1