Skip to content
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
6 changes: 4 additions & 2 deletions helm/huly/templates/configmap.yaml
Original file line number Diff line number Diff line change
@@ -1,5 +1,7 @@
{{- $proto := ternary "https" "http" (and .Values.ingress.enabled .Values.ingress.tls.enabled) -}}
{{- $wsProto := ternary "wss" "ws" (and .Values.ingress.enabled .Values.ingress.tls.enabled) -}}
{{- /* TLS is terminated at the ingress OR an external gateway (Gateway API, etc.) */ -}}
{{- $tlsEnabled := .Values.tls.enabled | default (and .Values.ingress.enabled .Values.ingress.tls.enabled) -}}
{{- $proto := ternary "https" "http" $tlsEnabled -}}
{{- $wsProto := ternary "wss" "ws" $tlsEnabled -}}

{{- /* Resolve infra endpoints: built-in pod name or external URL */ -}}
{{- $elasticUrl := ternary "http://elastic:9200" .Values.external.elastic .Values.elastic.enabled -}}
Expand Down
9 changes: 9 additions & 0 deletions helm/huly/values.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -81,6 +81,15 @@ storage:
# bucketPrefix: prefix prepended to per-workspace bucket names (only used if rootBucket is empty)
bucketPrefix: "" # e.g. huly-

# ──────────────────────────────────────────────────────────────
# TLS — controls https/wss URLs in the ConfigMap
# Set tls.enabled=true when TLS is terminated at an external gateway
# (Gateway API, LoadBalancer, etc.) even if ingress.enabled=false.
# Defaults to ingress.tls.enabled for backward compatibility.
# ──────────────────────────────────────────────────────────────
tls:
enabled: ""

# ──────────────────────────────────────────────────────────────
# Ingress
# ──────────────────────────────────────────────────────────────
Expand Down