Hacktoberfest 2026: những issue maintainer đã đánh dấu cho tháng Mười, đang mở và phù hợp người mới. Xem issue Hacktoberfest

monitoring: the inner HelmRelease pins the outer render's _cluster values, so a platform OIDC change waits for the next outer upgrade

Đang mở
#4,686 0 bình luận 1 reaction 0 người được giao Xem trên GitHub

Maintainer thường phản hồi trong vòng 2 ngày

Chưa có ai nhận issue này.

Đánh giá

Độ khó
3/5
Thời gian dự kiến
1-2 ngày
Mức phù hợp với người mới
68/100
Loại issue
Lỗi
Độ rõ ràng
Đặc tả rõ ràng
Mức độ hoạt động
Sôi nổi
Công nghệ
helm, kubernetes, yaml
Lĩnh vực
infrastructure

Hướng nghiên cứu

Start with packages/extra/monitoring/templates/helmrelease.yaml and trace how its inline values interact with valuesFrom: cozystack-values. Then inspect other packages/extra/* charts that wrap an inner HelmRelease for the same pattern. Done means platform-injected keys such as _cluster are not pinned in inline values, leaving valuesFrom authoritative.

Do mô hình lập chỉ mục viết ra từ nội dung của issue.

Mô tả

area/monitoring kind/bug triage/accepted

packages/extra/monitoring/templates/helmrelease.yaml renders the inner monitoring-system HelmRelease with both valuesFrom: cozystack-values and values: {{ .Values | toYaml }}. .Values includes the _cluster block the outer release saw at render time, and Flux gives inline values precedence over valuesFrom. So when the platform changes a cluster value after the outer release rendered, for example turning on platform OIDC (oidc-enabled), the inner release keeps installing with the stale copy until the outer release upgrades again.

Seen in e2e run 36927951323: a Monitoring in mode: System was applied while the tenant's values were still on their first revision. The inner release failed for 15 minutes with spec.oidc.mode: System requires the platform-level OIDC feature (authentication.oidc.enabled) and recovered only when the outer install timed out and re-rendered. The e2e suite in #4678 works around it by waiting for oidc-enabled: "true" before applying.

Fix shape: leave _cluster (and any other platform-injected key) out of the inline values so valuesFrom: cozystack-values stays authoritative, and check the other packages/extra/* charts that wrap an inner HelmRelease the same way.

Ngôn ngữ chính
Go
Star
2.2k
Fork
209
Merge trung bình
3 ngày 12 giờ
Pull request đã merge (30 ngày)
230

Chuẩn bị môi trường

Bắt đầu từ đâu

  1. Đọc hết issue, rồi đọc hướng dẫn đóng góp của dự án.
  2. Bình luận trên issue rằng bạn sẽ nhận — tránh hai người làm cùng một việc.
  3. Fork repository và làm thay đổi trên một nhánh.
  4. Mở pull request có tham chiếu số hiệu của issue.

Issue khác của cozystack/cozystack

Tất cả issue của cozystack/cozystack

Issue tương tự

Thêm issue về Go

Nhận issue mới trong hộp thư của bạn

Bản tóm tắt ngắn những issue GitHub phù hợp với người mới.