Skip to content

Commit

Permalink
example: added publicURL to values and update prosody service port
Browse files Browse the repository at this point in the history
  • Loading branch information
kachar authored and sapkra committed Mar 31, 2021
1 parent 5608d0a commit 61f6824
Show file tree
Hide file tree
Showing 4 changed files with 4 additions and 3 deletions.
2 changes: 1 addition & 1 deletion examples/helm/charts/prosody/templates/ingress.yaml
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{{- if .Values.ingress.enabled -}}
{{- $fullName := include "prosody.fullname" . -}}
{{- $svcPort := .Values.service.port -}}
{{- $svcPort := index .Values.service.ports "bosh-insecure" -}}
{{- if semverCompare ">=1.14-0" .Capabilities.KubeVersion.GitVersion -}}
apiVersion: networking.k8s.io/v1beta1
{{- else -}}
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -11,5 +11,5 @@ spec:
- name: wget
image: busybox
command: ['wget']
args: ['{{ include "prosody.fullname" . }}:{{ .Values.service.port }}']
args: ['{{ include "prosody.fullname" . }}:{{ index .Values.service.ports "bosh-insecure" }}']
restartPolicy: Never
2 changes: 1 addition & 1 deletion examples/helm/templates/_helpers.tpl
Original file line number Diff line number Diff line change
Expand Up @@ -91,7 +91,7 @@ Create the name of the service account to use

{{- define "jitsi-meet.publicURL" -}}
{{- if .Values.publicURL }}
{{ .Values.pulicURL }}
{{- .Values.publicURL -}}
{{- else -}}
{{- if .Values.web.ingress.tls -}}https://{{- else -}}http://{{- end -}}
{{- if .Values.web.ingress.tls -}}
Expand Down
1 change: 1 addition & 0 deletions examples/helm/values.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -11,6 +11,7 @@ fullnameOverride: ""

enableAuth: false
enableGuests: true
publicURL: ""

tz: Europe/Amsterdam

Expand Down

0 comments on commit 61f6824

Please sign in to comment.