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
7 changes: 7 additions & 0 deletions helm/huly/templates/configmap.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -53,6 +53,13 @@ data:
GITHUB_URL: "{{ $proto }}://{{ .Values.domain }}/_github"
{{- end }}

{{- if .Values.observability.otlpEndpoint }}
OTEL_EXPORTER_OTLP_ENDPOINT: {{ .Values.observability.otlpEndpoint | quote }}
{{- end }}
{{- if .Values.observability.otlpHeaders }}
OTEL_EXPORTER_OTLP_HEADERS: {{ .Values.observability.otlpHeaders | quote }}
{{- end }}

{{- if .Values.aibot.enabled }}
AI_URL: "{{ $proto }}://{{ .Values.domain }}/_aibot"
AI_BOT_URL: "http://aibot:4010"
Expand Down
9 changes: 9 additions & 0 deletions helm/huly/templates/fulltext/deployment.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -32,12 +32,21 @@ spec:
{{- include "huly.envSecret" (dict "name" "SERVER_SECRET" "key" "SERVER_SECRET" "root" .) | nindent 12 }}
{{- include "huly.envSecret" (dict "name" "DB_URL" "key" "CR_DB_URL" "root" .) | nindent 12 }}
{{- include "huly.envSecret" (dict "name" "STORAGE_CONFIG" "key" "STORAGE_CONFIG" "root" .) | nindent 12 }}
{{- if .Values.fulltext.dbUrl }}
- name: FULLTEXT_DB_URL
value: {{ .Values.fulltext.dbUrl | quote }}
{{- else }}
{{- include "huly.envConfig" (dict "name" "FULLTEXT_DB_URL" "key" "ELASTIC_URL" "root" .) | nindent 12 }}
{{- end }}
{{- include "huly.envConfig" (dict "name" "ELASTIC_INDEX_NAME" "key" "ELASTIC_INDEX_NAME" "root" .) | nindent 12 }}
{{- include "huly.envConfig" (dict "name" "REKONI_URL" "key" "REKONI_URL_INTERNAL" "root" .) | nindent 12 }}
{{- include "huly.envConfig" (dict "name" "ACCOUNTS_URL" "key" "ACCOUNTS_URL_INTERNAL" "root" .) | nindent 12 }}
{{- include "huly.envConfig" (dict "name" "STATS_URL" "key" "STATS_URL_INTERNAL" "root" .) | nindent 12 }}
{{- include "huly.envConfig" (dict "name" "QUEUE_CONFIG" "key" "QUEUE_CONFIG" "root" .) | nindent 12 }}
{{- if .Values.fulltext.backend }}
- name: FULLTEXT_BACKEND
value: {{ .Values.fulltext.backend | quote }}
{{- end }}
readinessProbe:
tcpSocket:
port: 4700
Expand Down
17 changes: 17 additions & 0 deletions helm/huly/values.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -106,6 +106,18 @@ appSettings:
# Desktop update channel
desktopChannel: "selfhost"

# ──────────────────────────────────────────────────────────────
# Observability — OpenTelemetry trace export
# ──────────────────────────────────────────────────────────────
observability:
# Set to enable OTLP trace export from Huly services.
# Example: http://openobserve.openobserve.svc:5080/api/default
otlpEndpoint: ""
# Extra headers for OTLP exporter (e.g. auth).
# Format: "Header1=Value1,Header2=Value2"
# Example: "Authorization=Basic dXNlcjpwYXNz"
otlpHeaders: ""

# ──────────────────────────────────────────────────────────────
# Global pod settings (applied to all services)
# ──────────────────────────────────────────────────────────────
Expand Down Expand Up @@ -209,6 +221,11 @@ workspace:

fulltext:
replicas: 1
# Search backend: "elastic" (default), "opensearch", or "typesense"
backend: ""
# Override FULLTEXT_DB_URL (defaults to ELASTIC_URL).
# Required for typesense: e.g. "http://typesense:8108?apiKey=xyz"
dbUrl: ""
resources:
limits:
memory: 512Mi
Expand Down
Loading