[stable/eventrouter] allow sink configuration (#6360)

* Allow configuring the sink

* Set namespace for deployment, serviceaccount and configmap

* [stable/eventrouter] Release 0.1.1
This commit is contained in:
Guilherme Garnier
2018-06-27 10:31:21 -07:00
committed by k8s-ci-robot
parent e738f99d0b
commit 1ff575fceb
6 changed files with 13 additions and 7 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.0
version: 0.1.1
appVersion: 0.2
home: https://github.com/heptiolabs/eventrouter
sources:
+2 -1
View File
@@ -21,4 +21,5 @@ The following table lists the configurable parameters of the eventrouter chart a
| `serviceAccount.name` | Service account to be used. If not set and serviceAccount.create is `true`, a name is generated using the fullname template | `` |
| `serviceAccount.create` | If true, create a new service account | `true` |
| `tolerations` | List of node taints to tolerate | `[]` |
| `nodeSelector` | node labels for pod assignment | `{}` |
| `nodeSelector` | Node labels for pod assignment | `{}` |
| `sink` | Sink to send the events to | `glog` |
+4 -3
View File
@@ -3,10 +3,11 @@ kind: ConfigMap
metadata:
name: {{ template "eventrouter.fullname" . }}
labels: {{ include "eventrouter.labels" . | indent 4 }}
namespace: {{ .Release.Namespace }}
data:
apiVersion: v1
data:
config.json: |-
config.json: |-
{
"sink": "glog"
}
"sink": {{ .Values.sink }}
}
+3 -2
View File
@@ -3,17 +3,18 @@ kind: Deployment
metadata:
labels: {{ include "eventrouter.labels" . | indent 4 }}
name: {{ template "eventrouter.fullname" . }}
namespace: {{ .Release.Namespace }}
spec:
replicas: {{ .Values.replicaCount }}
selector:
matchLabels:
app: {{ template "eventrouter.name" . }}
release: {{ .Release.Name }}
release: {{ .Release.Name }}
template:
metadata:
labels:
app: {{ template "eventrouter.name" . }}
release: {{ .Release.Name }}
release: {{ .Release.Name }}
spec:
containers:
- name: {{ .Chart.Name }}
@@ -4,4 +4,5 @@ kind: ServiceAccount
metadata:
labels: {{ include "eventrouter.labels" . | indent 4 }}
name: {{ template "eventrouter.serviceAccountName" . }}
namespace: {{ .Release.Namespace }}
{{- end }}
+2
View File
@@ -26,3 +26,5 @@ rbac:
tolerations: []
nodeSelector: {}
sink: glog