Skip to content
Merged
Show file tree
Hide file tree
Changes from 1 commit
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
2 changes: 1 addition & 1 deletion charts/lfx-v2-query-service/Chart.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -5,5 +5,5 @@ apiVersion: v2
name: lfx-v2-query-service
description: LFX Platform V2 Query Service chart
type: application
version: 0.4.6
version: 0.4.7
appVersion: "latest"
12 changes: 9 additions & 3 deletions charts/lfx-v2-query-service/templates/httproute.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,9 @@ metadata:
namespace: {{ .Values.lfx.namespace }}
spec:
parentRefs:
- name: {{ .Values.traefik.gateway.name }}
- group: gateway.networking.k8s.io
kind: Gateway
name: {{ .Values.traefik.gateway.name }}
namespace: {{ .Values.traefik.gateway.namespace }}
hostnames:
- "lfx-api.{{ .Values.lfx.domain }}"
Expand All @@ -34,7 +36,9 @@ spec:
{{- end }}
{{- end }}
backendRefs:
- name: lfx-v2-query-service
- group: ""
kind: Service
name: lfx-v2-query-service
port: {{ .Values.service.port }}
# Main application endpoints (with authentication only)
- matches:
Expand All @@ -56,5 +60,7 @@ spec:
name: heimdall
{{- end }}
backendRefs:
- name: lfx-v2-query-service
- group: ""
kind: Service
name: lfx-v2-query-service
port: {{ .Values.service.port }}
5 changes: 5 additions & 0 deletions charts/lfx-v2-query-service/templates/ruleset.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -9,6 +9,7 @@ metadata:
spec:
rules:
- id: "rule:lfx:lfx-v2-query-service:openapi:get"
allow_encoded_slashes: "off"
match:
methods:
- GET
Expand All @@ -29,6 +30,7 @@ spec:
values:
aud: lfx-v2-query-service
- id: "rule:lfx:lfx-v2-query-service"
allow_encoded_slashes: "off"
match:
methods:
- GET
Expand All @@ -46,6 +48,7 @@ spec:
values:
aud: lfx-v2-query-service
- id: "rule:lfx:lfx-v2-query-service:resources-count"
allow_encoded_slashes: "off"
match:
methods:
- GET
Expand All @@ -63,6 +66,7 @@ spec:
values:
aud: lfx-v2-query-service
- id: "rule:lfx:lfx-v2-query-service:org-search"
allow_encoded_slashes: "off"
match:
methods:
- GET
Expand All @@ -79,6 +83,7 @@ spec:
values:
aud: lfx-v2-query-service
- id: "rule:lfx:lfx-v2-query-service:org-suggest"
allow_encoded_slashes: "off"
match:
methods:
- GET
Expand Down