Skip to content

Commit 7e3a729

Browse files
authored
Merge pull request #28 from linuxfoundation/bramwelt/argocd-diffs
Add Fields to Fix ArgoCD Sync
2 parents fe7df5b + 8271198 commit 7e3a729

File tree

3 files changed

+16
-3
lines changed

3 files changed

+16
-3
lines changed

charts/lfx-v2-project-service/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-project-service
66
description: LFX Platform V2 Project Service chart
77
type: application
8-
version: 0.4.5
8+
version: 0.4.6
99
appVersion: "latest"

charts/lfx-v2-project-service/templates/httproute.yaml

Lines changed: 7 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -8,7 +8,9 @@ metadata:
88
namespace: {{ .Values.lfx.namespace }}
99
spec:
1010
parentRefs:
11-
- name: {{ .Values.traefik.gateway.name }}
11+
- group: gateway.networking.k8s.io
12+
kind: Gateway
13+
name: {{ .Values.traefik.gateway.name }}
1214
namespace: {{ .Values.traefik.gateway.namespace }}
1315
hostnames:
1416
- "lfx-api.{{ .Values.lfx.domain }}"
@@ -33,5 +35,8 @@ spec:
3335
name: heimdall-forward-body
3436
{{- end }}
3537
backendRefs:
36-
- name: lfx-v2-project-service
38+
- group: ""
39+
kind: Service
40+
name: lfx-v2-project-service
3741
port: {{ .Values.service.port }}
42+
weight: 1

charts/lfx-v2-project-service/templates/ruleset.yaml

Lines changed: 8 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -9,6 +9,7 @@ metadata:
99
spec:
1010
rules:
1111
- id: "rule:lfx:lfx-v2-project-service:openapi:get"
12+
allow_encoded_slashes: "off"
1213
match:
1314
methods:
1415
- GET
@@ -29,6 +30,7 @@ spec:
2930
values:
3031
aud: {{ .Values.app.audience }}
3132
- id: "rule:lfx:lfx-v2-project-service:projects:create"
33+
allow_encoded_slashes: "off"
3234
match:
3335
methods:
3436
- POST
@@ -63,6 +65,7 @@ spec:
6365
# It is not meant to be used by applications, it should only be used
6466
# in local development, therefore the authorizer allows all requests.
6567
- id: "rule:lfx:lfx-v2-project-service:projects:list"
68+
allow_encoded_slashes: "off"
6669
match:
6770
methods:
6871
- GET
@@ -81,6 +84,7 @@ spec:
8184
aud: {{ .Values.app.audience }}
8285

8386
- id: "rule:lfx:lfx-v2-project-service:projects:project:get"
87+
allow_encoded_slashes: "off"
8488
match:
8589
methods:
8690
- GET
@@ -111,6 +115,7 @@ spec:
111115
aud: {{ .Values.app.audience }}
112116

113117
- id: "rule:lfx:lfx-v2-project-service:projects:update"
118+
allow_encoded_slashes: "off"
114119
match:
115120
methods:
116121
- PUT
@@ -141,6 +146,7 @@ spec:
141146
aud: {{ .Values.app.audience }}
142147

143148
- id: "rule:lfx:lfx-v2-project-service:projects:delete"
149+
allow_encoded_slashes: "off"
144150
match:
145151
methods:
146152
- DELETE
@@ -171,6 +177,7 @@ spec:
171177
aud: {{ .Values.app.audience }}
172178

173179
- id: "rule:lfx:lfx-v2-project-service:project_settings:get"
180+
allow_encoded_slashes: "off"
174181
match:
175182
methods:
176183
- GET
@@ -201,6 +208,7 @@ spec:
201208
aud: {{ .Values.app.audience }}
202209

203210
- id: "rule:lfx:lfx-v2-project-service:project_settings:update"
211+
allow_encoded_slashes: "off"
204212
match:
205213
methods:
206214
- PUT

0 commit comments

Comments
 (0)