mirror of
https://github.com/helm/charts.git
synced 2026-08-23 22:37:45 +00:00
[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:
committed by
k8s-ci-robot
parent
48f8a87dc8
commit
10eedf054b
@@ -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:
|
||||
|
||||
@@ -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 | `[]` |
|
||||
|
||||
@@ -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 }}
|
||||
|
||||
@@ -28,3 +28,7 @@ tolerations: []
|
||||
nodeSelector: {}
|
||||
|
||||
sink: glog
|
||||
|
||||
podAnnotations: {}
|
||||
|
||||
containerPorts: []
|
||||
|
||||
Reference in New Issue
Block a user