Skip to content

Commit 051b274

Browse files
committed
Update HTTPRoute and RuleSet with missing fields
- Add some fields to the HTTPRoute and RuleSet resources needed to ensure ArgoCD's sync status is healthy. - Bumps the chart to version 0.2.4 Issue: LFXV2-511 Signed-off-by: Trevor Bramwell <[email protected]>
1 parent 1da3144 commit 051b274

File tree

3 files changed

+10
-3
lines changed

3 files changed

+10
-3
lines changed

charts/lfx-v2-access-check/Chart.yaml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -5,5 +5,5 @@ apiVersion: v2
55
name: lfx-v2-access-check
66
description: LFX Platform V2 Access Check Service chart
77
type: application
8-
version: 0.2.3
8+
version: 0.2.4
99
appVersion: "0.1.0"

charts/lfx-v2-access-check/templates/httproute.yaml

Lines changed: 7 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -9,7 +9,9 @@ metadata:
99
namespace: {{ .Release.Namespace }}
1010
spec:
1111
parentRefs:
12-
- name: {{ .Values.traefik.gateway.name }}
12+
- group: gateway.networking.k8s.io
13+
kind: Gateway
14+
name: {{ .Values.traefik.gateway.name }}
1315
namespace: {{ .Values.traefik.gateway.namespace }}
1416
hostnames:
1517
- "lfx-api.{{ .Values.lfx.domain }}"
@@ -33,6 +35,9 @@ spec:
3335
name: heimdall
3436
{{- end }}
3537
backendRefs:
36-
- name: lfx-v2-access-check
38+
- group: ""
39+
kind: Service
40+
name: lfx-v2-access-check
3741
port: {{ .Values.app.port | int }}
42+
weight: 1
3843
{{- end }}

charts/lfx-v2-access-check/templates/ruleset.yaml

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -10,6 +10,7 @@ metadata:
1010
spec:
1111
rules:
1212
- id: "rule:lfx-v2-access-check:access-check"
13+
allow_encoded_slashes: "off"
1314
match:
1415
methods:
1516
- POST
@@ -23,6 +24,7 @@ spec:
2324
values:
2425
aud: {{ .Values.app.audience }}
2526
- id: "rule:lfx-v2-access-check:openapi"
27+
allow_encoded_slashes: "off"
2628
match:
2729
methods:
2830
- GET

0 commit comments

Comments
 (0)