UNCLASSIFIED

Project 'platform-one/big-bang/umbrella' was moved to 'platform-one/big-bang/bigbang'. Please update any links and bookmarks that may still have the old path.
gateway.yaml 605 Bytes
Newer Older
1 2 3 4 5 6
{{- if .Values.gateway }}
{{- required "`gateway` value has been deprecated.  Please use the new format in the `gateways` value." "" }}
{{- end }}

{{- range $name, $values := .Values.gateways }}
---
Josh Wolf's avatar
Josh Wolf committed
7 8 9
apiVersion: networking.istio.io/v1beta1
kind: Gateway
metadata:
10 11
  name: {{ $name }}
  namespace: {{ $.Release.Namespace }}
Josh Wolf's avatar
Josh Wolf committed
12 13
spec:
  selector:
14
    {{- $values.selector | default (dict) | toYaml | nindent 4 }}
Josh Wolf's avatar
Josh Wolf committed
15
  servers:
16 17 18
  - hosts:
    - "*"
    port:
Josh Wolf's avatar
Josh Wolf committed
19
      name: http
20
      number: 8080
21
      protocol: HTTP
Josh Wolf's avatar
Josh Wolf committed
22 23
    tls:
      httpsRedirect: true
24 25
    {{- tpl (toYaml $values.servers) $ | nindent 2 }}
{{- end }}