[stable/eventrouter] Add new configs (#6454)

* [stable/eventrouter] fix ConfigMap value

* [stable/eventrouter] add support to podAnnotations

* [stable/eventrouter] add support to containerPorts

* [stable/eventrouter] Bump chart to 0.2.0
This commit is contained in:
Guilherme Garnier
2018-07-03 22:34:22 -07:00
committed by k8s-ci-robot
parent 48f8a87dc8
commit 10eedf054b
5 changed files with 16 additions and 2 deletions
+1 -1
View File
@@ -1,7 +1,7 @@
apiVersion: v1
description: A Helm chart for eventruter (https://github.com/heptiolabs/eventrouter)
name: eventrouter
version: 0.1.1
version: 0.2.0
appVersion: 0.2
home: https://github.com/heptiolabs/eventrouter
sources:
+2
View File
@@ -23,3 +23,5 @@ The following table lists the configurable parameters of the eventrouter chart a
| `tolerations` | List of node taints to tolerate | `[]` |
| `nodeSelector` | Node labels for pod assignment | `{}` |
| `sink` | Sink to send the events to | `glog` |
| `podAnnotations` | Annotations for pod metadata | `{}` |
| `containerPorts` | List of ports for the container | `[]` |
+1 -1
View File
@@ -9,5 +9,5 @@ apiVersion: v1
data:
config.json: |-
{
"sink": {{ .Values.sink }}
"sink": "{{ .Values.sink }}"
}
@@ -15,6 +15,10 @@ spec:
labels:
app: {{ template "eventrouter.name" . }}
release: {{ .Release.Name }}
{{- if .Values.podAnnotations }}
annotations:
{{ toYaml .Values.podAnnotations | indent 8 }}
{{- end }}
spec:
containers:
- name: {{ .Chart.Name }}
@@ -23,6 +27,10 @@ spec:
volumeMounts:
- name: config-volume
mountPath: /etc/eventrouter
{{- if .Values.containerPorts }}
ports:
{{ toYaml .Values.containerPorts | indent 10 }}
{{- end }}
resources:
{{ toYaml .Values.resources | indent 10 }}
{{- if .Values.nodeSelector }}
+4
View File
@@ -28,3 +28,7 @@ tolerations: []
nodeSelector: {}
sink: glog
podAnnotations: {}
containerPorts: []