Skip to content

Commit

Permalink
Merge pull request #42 from RocketChat/ingress-update
Browse files Browse the repository at this point in the history
Chore: stop using default hostname for ingress
  • Loading branch information
r0zbot authored Jan 24, 2022
2 parents 8a29d73 + d6d6e4b commit 9bd03e1
Show file tree
Hide file tree
Showing 2 changed files with 7 additions and 4 deletions.
7 changes: 5 additions & 2 deletions rocketchat/templates/ingress.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -30,11 +30,14 @@ spec:
{{- end }}
{{- end }}
rules:
- host: {{ .Values.host }}
-
{{- if .Values.host }}
host: {{ .Values.host }}
{{- end }}
http:
paths:
- path: {{ $ingress.path }}
pathType: Prefix
pathType: {{ if $ingress.pathType }} {{ $ingress.pathType }} {{ else }} {{ print "Prefix" }} {{ end }}
backend:
service:
name: {{ template "rocketchat.fullname" . }}
Expand Down
4 changes: 2 additions & 2 deletions rocketchat/values.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -12,8 +12,8 @@ imagePullSecrets: []
microservices: false

## Host for the application
##
host: rocketchat.example.com
## set it to a domain pointing to your loadbalancer
# host:

replicaCount: 1
minAvailable: 1
Expand Down

0 comments on commit 9bd03e1

Please sign in to comment.