Skip to content

Commit e4eaf62

Browse files
Super Usercursoragent
andcommitted
feat(KFLUXVNGD-1174): enable Cargo config.json auth-required rewrite
Configure nginx.subFilters on staging artifact-registry proxies to rewrite "auth-required":true to false on config.json responses. Updates the live squid monolith path (stone-stg-rh01) and ring-1 independent component. Bump staging squid caching-helm to 0.1.1836+6dabb5a. Chart version must be updated again after konflux-ci/caching #1056 publishes (see TODO on version). Depends on caching #1056 merge before subFilters render in nginx. Jira-Url: https://redhat.atlassian.net/browse/KFLUXVNGD-1174 Co-authored-by: Cursor <cursoragent@cursor.com>
1 parent 981f8b3 commit e4eaf62

1 file changed

Lines changed: 8 additions & 1 deletion

File tree

components/squid/staging/caching-helm-generator.yaml

Lines changed: 8 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -4,7 +4,7 @@ metadata:
44
name: caching-helm
55
name: caching-helm
66
repo: oci://quay.io/konflux-ci/caching
7-
version: 0.1.1775+d865e45
7+
version: 0.1.1889+ca96506
88
valuesInline:
99
squid:
1010
enabled: true
@@ -28,6 +28,13 @@ valuesInline:
2828
auth:
2929
enabled: true
3030
secretName: artifact-registry-credentials
31+
subFilters:
32+
- location: '^/repository/cargo-proxy/config\.json$'
33+
types:
34+
- application/json
35+
filters:
36+
- string: '"auth-required":true'
37+
replacement: '"auth-required":false'
3138
cache:
3239
allowList:
3340
# Cache all traffic to nexus repositories

0 commit comments

Comments
 (0)