Skip to content

Commit

Permalink
Merge pull request #2 from CodeTogether-Inc/hide-clients-endpoint
Browse files Browse the repository at this point in the history
Optionally hide clients endpoint
  • Loading branch information
wgalanciak authored Jan 9, 2024
2 parents 958f098 + c0f1bce commit 60cb0fc
Show file tree
Hide file tree
Showing 2 changed files with 7 additions and 0 deletions.
5 changes: 5 additions & 0 deletions charts/live/templates/deployment.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -61,6 +61,11 @@ spec:
{{- end }}
{{- end }}

{{- if eq .Values.codetogether.noclients "true" }}
- name: CT_NOCLIENTS
value: "true"
{{- end }}

{{- if eq .Values.codetogether.mode "locator-central" }}
- name: CT_LOCATOR
value: {{ .Values.codetogether.url | quote }}
Expand Down
2 changes: 2 additions & 0 deletions charts/live/values.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -63,6 +63,8 @@ codetogether:
# HTTPS is required. If your cert is not a fully-rooted (trusted cert), set
# to true to allow more tolerance from clients
trustAllCerts: "true"
# Optionally do not expose /clients endpoint by setting to 'true'
noclients: "false"
# Set a customized TZ for CodeTogether container (default is UTC)
# https://nodatime.org/TimeZones
timeZone:
Expand Down

0 comments on commit 60cb0fc

Please sign in to comment.