diff --git a/charts/lfx-v2-query-service/Chart.yaml b/charts/lfx-v2-query-service/Chart.yaml index de059f5..6cd383a 100644 --- a/charts/lfx-v2-query-service/Chart.yaml +++ b/charts/lfx-v2-query-service/Chart.yaml @@ -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" diff --git a/charts/lfx-v2-query-service/templates/httproute.yaml b/charts/lfx-v2-query-service/templates/httproute.yaml index fd26cd0..7e99066 100644 --- a/charts/lfx-v2-query-service/templates/httproute.yaml +++ b/charts/lfx-v2-query-service/templates/httproute.yaml @@ -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 }}" @@ -34,8 +36,11 @@ spec: {{- end }} {{- end }} backendRefs: - - name: lfx-v2-query-service + - group: "" + kind: Service + name: lfx-v2-query-service port: {{ .Values.service.port }} + weight: 1 # Main application endpoints (with authentication only) - matches: - path: @@ -56,5 +61,8 @@ spec: name: heimdall {{- end }} backendRefs: - - name: lfx-v2-query-service + - group: "" + kind: Service + name: lfx-v2-query-service port: {{ .Values.service.port }} + weight: 1 diff --git a/charts/lfx-v2-query-service/templates/ruleset.yaml b/charts/lfx-v2-query-service/templates/ruleset.yaml index 2b1c1ba..b0d3ce8 100644 --- a/charts/lfx-v2-query-service/templates/ruleset.yaml +++ b/charts/lfx-v2-query-service/templates/ruleset.yaml @@ -9,6 +9,7 @@ metadata: spec: rules: - id: "rule:lfx:lfx-v2-query-service:openapi:get" + allow_encoded_slashes: "off" match: methods: - GET @@ -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 @@ -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 @@ -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 @@ -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