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:
+3
View File
@@ -49,6 +49,9 @@ enableIstio: false
router:
svcAddressMaxRetries: 5
svcAddressUpdateTimeout: 30s
## Add annotations for router
# svcAnnotations:
# cloud.google.com/load-balancer-type: Internal
roundTrip:
## If true, router will disable the HTTP keep-alive which result in performance degradation.
## But it ensures that router can redirect new coming requests to new function pods.