Skip to content

Commit

Permalink
Rename gateway to istio_gateway
Browse files Browse the repository at this point in the history
  • Loading branch information
yciabaud committed Mar 22, 2019
1 parent 4e561e2 commit 0cd7ca4
Show file tree
Hide file tree
Showing 3 changed files with 8 additions and 8 deletions.
Original file line number Diff line number Diff line change
@@ -1,25 +1,25 @@
{{- if .Values.gateway -}}
{{- if .Values.gateway.enabled -}}
{{- if .Values.istio_gateway -}}
{{- if .Values.istio_gateway.enabled -}}
apiVersion: networking.istio.io/v1alpha3
kind: Gateway
metadata:
name: {{ include "common.fullname" . }}
{{- with .Values.gateway.annotations }}
{{- with .Values.istio_gateway.annotations }}
annotations:
{{ toYaml . | indent 4 }}
{{- end }}
labels:
{{ include "common.labels.standard" . | indent 4 }}
{{- with .Values.gateway.labels }}
{{- with .Values.istio_gateway.labels }}
{{ toYaml .| indent 4 }}
{{- end }}
spec:
selector:
{{- with .Values.gateway.selector }}
{{- with .Values.istio_gateway.selector }}
{{ toYaml .| indent 4 }}
{{- end }}
servers:
{{- range $server := .Values.gateway.servers }}
{{- range $server := .Values.istio_gateway.servers }}
- hosts:
{{- range $host := $server.hosts }}
- {{ $host }}
Expand Down
2 changes: 1 addition & 1 deletion incubator/monochart/values.example.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -65,7 +65,7 @@ deployment:
# iam.amazonaws.com/role: role-arn
labels: {}

gateway:
istio_gateway:
enabled: true
selector:
istio: istio-gateway
Expand Down
2 changes: 1 addition & 1 deletion incubator/monochart/values.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -327,7 +327,7 @@ ingress:
# - domain.com

# Istio gateway
gateway:
istio_gateway:
enabled: false
# selector:
# istio: istio-gateway
Expand Down

0 comments on commit 0cd7ca4

Please sign in to comment.