Allow to add annotations to router service in helm chart (#1338)

This commit is contained in:
Prabhu Jayakumar
2019-10-02 14:48:36 +08:00
committed by Ta-Ching Chen
parent c61442ee76
commit f12880fb5c
5 changed files with 15 additions and 0 deletions
+4
View File
@@ -6,6 +6,10 @@ metadata:
svc: router
application: fission-router
chart: "{{ .Chart.Name }}-{{ .Chart.Version }}"
{{- if .Values.router.svcAnnotations }}
annotations:
{{ toYaml .Values.router.svcAnnotations | indent 4 }}
{{- end }}
spec:
type: {{ .Values.routerServiceType }}
ports: