This repository was archived by the owner on May 27, 2019. It is now read-only.
File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change @@ -6,6 +6,9 @@ metadata:
66 heritage : deis
77 annotations :
88 component.deis.io/version : {{ .Values.docker_tag }}
9+ {{- range $key, $value := .Values.deployment_annotations }}
10+ {{ $key }}: {{ $value }}
11+ {{- end }}
912{{- if not (empty .Values.platform_domain) }}
1013 router.deis.io/nginx.platformDomain : {{ .Values.platform_domain }}
1114{{- end }}
Original file line number Diff line number Diff line change @@ -2,6 +2,12 @@ apiVersion: v1
22kind : Service
33metadata :
44 name : deis-router
5+ {{- if .Values.service_annotations }}
6+ annotations :
7+ {{- range $key, $value := .Values.service_annotations }}
8+ {{ $key }}: {{ $value }}
9+ {{- end }}
10+ {{- end }}
511 labels :
612 heritage : deis
713spec :
Original file line number Diff line number Diff line change @@ -5,3 +5,13 @@ platform_domain: ""
55dhparam : " "
66# limits_cpu: "100m"
77# limits_memory: "50Mi"
8+
9+ # Any custom router annotations(https://github.com/deis/router#annotations)
10+ # which need to be applied can be specified as key-value pairs under "deployment_annotations"
11+ deployment_annotations :
12+ # <example-key>: <example-value>
13+
14+ # Any custom annotations for k8s services like http://kubernetes.io/docs/user-guide/services/#ssl-support-on-aws
15+ # which need to be applied can be specified as key-value pairs under "service_annotations"
16+ service_annotations :
17+ # <example-key>: <example-value>
You can’t perform that action at this time.
0 commit comments