Skip to content

Commit

Permalink
Merge pull request #201 from inviqa/feature/istio-additional-gateways
Browse files Browse the repository at this point in the history
Allow additional istio gateways to be specified
  • Loading branch information
g-foster2020 authored Jan 13, 2020
2 parents 7534ed4 + 03002e2 commit 237d202
Show file tree
Hide file tree
Showing 3 changed files with 9 additions and 1 deletion.
2 changes: 2 additions & 0 deletions src/_base/harness/attributes/docker-base.yml
Original file line number Diff line number Diff line change
Expand Up @@ -45,6 +45,8 @@ attributes:
nginx:
environment:
FPM_HOST: localhost
istio:
additionalGateways: []
qa:
services:
php-base:
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -11,6 +11,9 @@ spec:
- {{ index .Values.docker.services "php-base" "environment" "APP_HOST" }}
gateways:
- istio-system/{{ .Release.Namespace }}-gateway
{{- range $key, $value := .Values.istio.additionalGateways }}
- {{ $value | quote }}
{{- end }}
http:
- route:
- destination:
Expand Down
5 changes: 4 additions & 1 deletion src/_base/helm/app/values.yaml.twig
Original file line number Diff line number Diff line change
Expand Up @@ -27,5 +27,8 @@ resources:
persistence:
{{ to_nice_yaml(@('pipeline.base.persistence'), 2, 2) | raw }}

ingress: "standard" # standard or istio
resourcePrefix: {{ @('pipeline.base.resourcePrefix') | json_encode | raw }}

ingress: "standard" # standard or istio
istio:
{{ to_nice_yaml(@('pipeline.base.istio'), 2, 2) | raw }}

0 comments on commit 237d202

Please sign in to comment.