Skip to content
This repository has been archived by the owner on Feb 2, 2023. It is now read-only.

Commit

Permalink
Fixed location of 'host' in ingress rules
Browse files Browse the repository at this point in the history
  • Loading branch information
Pure-AdamuKaapan committed Oct 4, 2019
1 parent 51bf0c4 commit 6c9b689
Show file tree
Hide file tree
Showing 9 changed files with 54 additions and 54 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -25,12 +25,12 @@ spec:
{{- end }}

rules:
- http:
{{- if $domainName }}
host: {{ $domainName }}
{{ else }}
# host: ## Not specified because global.PublicAddress is an IP address
{{ end -}}
- {{- if $domainName }}
host: {{ $domainName }}
{{ else }}
# host: ## Not specified because global.PublicAddress is an IP address
{{ end -}}
http:
paths:
- path: /api/?(.*)
backend:
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -25,12 +25,12 @@ spec:
{{- end }}

rules:
- http:
{{- if $domainName }}
host: {{ $domainName }}
{{ else }}
# host: ## Not specified because global.PublicAddress is an IP address
{{ end -}}
- {{- if $domainName }}
host: {{ $domainName }}
{{ else }}
# host: ## Not specified because global.PublicAddress is an IP address
{{ end -}}
http:
paths:
- path: /auth/api-token(/?.*)
backend:
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -23,12 +23,12 @@ spec:
{{- end }}

rules:
- http:
{{- if $domainName }}
host: {{ $domainName }}
{{ else }}
# host: ## Not specified because global.PublicAddress is an IP address
{{ end -}}
- {{- if $domainName }}
host: {{ $domainName }}
{{ else }}
# host: ## Not specified because global.PublicAddress is an IP address
{{ end -}}
http:
paths:
- path: /auth/?(.*)
backend:
Expand Down
12 changes: 6 additions & 6 deletions deploy/helm/pure1-unplugged/charts/dex/templates/ingress.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -21,12 +21,12 @@ spec:
{{- end }}

rules:
- http:
{{- if $domainName }}
host: {{ $domainName }}
{{ else }}
# host: ## Not specified because global.PublicAddress is an IP address
{{ end -}}
- {{- if $domainName }}
host: {{ $domainName }}
{{ else }}
# host: ## Not specified because global.PublicAddress is an IP address
{{ end -}}
http:
paths:
- path: /dex
backend:
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -27,12 +27,12 @@ spec:
{{- end }}

rules:
- http:
{{- if $domainName }}
host: {{ $domainName }}
{{ else }}
# host: ## Not specified because global.PublicAddress is an IP address
{{ end -}}
- {{- if $domainName }}
host: {{ $domainName }}
{{ else }}
# host: ## Not specified because global.PublicAddress is an IP address
{{ end -}}
http:
paths:
- path: /swagger/?(.*)
backend:
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -24,12 +24,12 @@ spec:
{{- end }}

rules:
- http:
{{- if $domainName }}
host: {{ $domainName }}
{{ else }}
# host: ## Not specified because global.PublicAddress is an IP address
{{ end -}}
- {{- if $domainName }}
host: {{ $domainName }}
{{ else }}
# host: ## Not specified because global.PublicAddress is an IP address
{{ end -}}
http:
paths:
- path: /
backend:
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -23,12 +23,12 @@ spec:
{{- end }}

rules:
- http:
{{- if $domainName }}
host: {{ $domainName }}
{{ else }}
# host: ## Not specified because global.PublicAddress is an IP address
{{ end -}}
- {{- if $domainName }}
host: {{ $domainName }}
{{ else }}
# host: ## Not specified because global.PublicAddress is an IP address
{{ end -}}
http:
paths:
- path: /login
backend:
Expand Down
12 changes: 6 additions & 6 deletions deploy/helm/pure1-unplugged/templates/elasticsearch-ingress.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -24,12 +24,12 @@ spec:
{{- end }}

rules:
- http:
{{- if $domainName }}
host: {{ $domainName }}
{{ else }}
# host: ## Not specified because global.PublicAddress is an IP address
{{ end -}}
- {{- if $domainName }}
host: {{ $domainName }}
{{ else }}
# host: ## Not specified because global.PublicAddress is an IP address
{{ end -}}
http:
paths:
- path: /elasticsearch/?(.*)
backend:
Expand Down
12 changes: 6 additions & 6 deletions deploy/helm/pure1-unplugged/templates/kibana-ingress.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -24,12 +24,12 @@ spec:
{{- end }}

rules:
- http:
{{- if $domainName }}
host: {{ $domainName }}
{{ else }}
# host: ## Not specified because global.PublicAddress is an IP address
{{ end -}}
- {{- if $domainName }}
host: {{ $domainName }}
{{ else }}
# host: ## Not specified because global.PublicAddress is an IP address
{{ end -}}
http:
paths:
- path: /kibana/?(.*)
backend:
Expand Down

0 comments on commit 6c9b689

Please sign in to comment.