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

Commit

Permalink
Merge pull request #15 from Pure-AdamuKaapan/SSLFix
Browse files Browse the repository at this point in the history
Fixed location of 'host' in ingress rules
  • Loading branch information
Pure-AdamuKaapan authored Oct 8, 2019
2 parents 51bf0c4 + 6c9b689 commit 8fe434a
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 8fe434a

Please sign in to comment.