Skip to content

Commit 897a5ca

Browse files
committed
Add tenant id, shorten api/v1 mapping
GitOrigin-RevId: cec8f6175cf28d1d3a7561ec7bc6bc208037d740
1 parent a9b86f3 commit 897a5ca

File tree

3 files changed

+4
-1
lines changed

3 files changed

+4
-1
lines changed

helm/wirequery/charts/wirequery-backend/templates/deployment.yaml

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -71,6 +71,8 @@ spec:
7171
value: {{ .Values.settings.dbUrl }}
7272
- name: WIREQUERY_ADMIN_ENABLED
7373
value: {{ .Values.settings.adminEnabled | quote }}
74+
- name: WIREQUERY_TENANT_ID
75+
value: {{ .Values.settings.tenantId | quote }}
7476
resources:
7577
{{- toYaml .Values.resources | nindent 12 }}
7678
{{- with .Values.nodeSelector }}

helm/wirequery/templates/ingress.yaml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -42,7 +42,7 @@ spec:
4242
- host: {{ .host | quote }}
4343
http:
4444
paths:
45-
{{ range $path := list "/graphql" "/subscriptions" "/api/v1/recordings" }}
45+
{{ range $path := list "/graphql" "/subscriptions" "/api/v1" }}
4646
- path: {{ $path }}
4747
{{- if semverCompare ">=1.18-0" $.Capabilities.KubeVersion.GitVersion }}
4848
pathType: Prefix

helm/wirequery/values.yaml

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -29,6 +29,7 @@ wirequery-backend:
2929
dbPassword: wirequery-multitenant
3030
dbUrl: "jdbc:postgresql://wirequery-postgresql:5432/wirequery"
3131
adminEnabled: "true"
32+
tenantId: ""
3233

3334
replicaCount: 1
3435
image:

0 commit comments

Comments
 (0)