Skip to content

Commit

Permalink
tenant id in chart
Browse files Browse the repository at this point in the history
  • Loading branch information
adityathebe committed May 13, 2024
1 parent 22d3739 commit 3f065b2
Show file tree
Hide file tree
Showing 2 changed files with 8 additions and 0 deletions.
4 changes: 4 additions & 0 deletions chart/templates/deployment.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -90,6 +90,10 @@ spec:
- name: UPSTREAM_PAGE_SIZE
value: '{{ .Values.upstream.pageSize }}'
{{- end}}
{{- if .Values.tenant.id}}
- name: OTEL_LABELS
value: '{{ .Values.tenant.id }}'
{{- end}}
resources:
{{- toYaml .Values.resources | nindent 12 }}
volumeMounts:
Expand Down
4 changes: 4 additions & 0 deletions chart/values.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -30,6 +30,10 @@ configAnalysisRetentionDays: 60
scrapeRuleConfigMaps:
- config-db-rules

# tenant details to be used in the traces
tenant:
id: ""

db:
runMigrations: true
embedded:
Expand Down

0 comments on commit 3f065b2

Please sign in to comment.