Skip to content

Commit b2f511f

Browse files
Super Usercursoragent
authored 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 32cbbf4 commit b2f511f

1 file changed

Lines changed: 7 additions & 1 deletion

File tree

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

Lines changed: 7 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -4,7 +4,8 @@ metadata:
44
name: caching-helm
55
name: caching-helm
66
repo: oci://quay.io/konflux-ci/caching
7-
version: 0.1.1775+d865e45
7+
# TODO(KFLUXVNGD-1174): bump after caching #1056 chart is on quay
8+
version: 0.1.1836+6dabb5a
89
valuesInline:
910
squid:
1011
enabled: true
@@ -28,6 +29,11 @@ valuesInline:
2829
auth:
2930
enabled: true
3031
secretName: artifact-registry-credentials
32+
subFilters:
33+
- location: '^/repository/[^/]+/config\.json$'
34+
filters:
35+
- string: '"auth-required":true'
36+
replacement: '"auth-required":false'
3137
cache:
3238
allowList:
3339
# Cache all traffic to nexus repositories

0 commit comments

Comments
 (0)