Skip to content

feat(chart): per-controller argocd ClusterRole; tpl env + envFrom values#6427

Open
krancour wants to merge 1 commit into
mainfrom
krancour/chart-improvements
Open

feat(chart): per-controller argocd ClusterRole; tpl env + envFrom values#6427
krancour wants to merge 1 commit into
mainfrom
krancour/chart-improvements

Conversation

@krancour

@krancour krancour commented Jun 8, 2026

Copy link
Copy Markdown
Member

Intended for use downstream:

  • The kargo-controller-argocd ClusterRole is now per-controller — name suffixed via the controller fullname helper, gated on argocd.dataPlane.kargoController.install rather than the data-plane-wide argocd.dataPlane.install. With no controller.id set the rendered name remains kargo-controller-argocd, preserving today's shape; the per-controller CRB's roleRef updates accordingly.

  • tpl applied to the rendered env and envFrom lists across api, controller, management-controller, kubernetes-webhooks-server, external-webhooks-server, dex-server, and garbage-collector. Operators can now reference helper output (e.g., kargo.controller.fullname) in injected env/envFrom entries; previously those rendered as literal text.

`kargo-controller-argocd` ClusterRole is now per-controller -- name
suffixed via the controller fullname helper, gated on
`argocd.dataPlane.kargoController.install` rather than the data-plane-wide
`argocd.dataPlane.install`. Lets the argocd CR be emitted as part of a
per-agent manifest set in topologies that manage the argo CD data plane
per-agent. With no `controller.id` set, the rendered name remains
`kargo-controller-argocd`, preserving the single-controller shape. The
per-controller CRB's roleRef updates accordingly.

Also: `tpl` applied to rendered `env` and `envFrom` lists across api,
controller, management-controller, kubernetes-webhooks-server,
external-webhooks-server, dex-server, and garbage-collector. Operators
can now reference helper output (e.g., `kargo.controller.fullname`) in
injected env/envFrom entries; previously those rendered as literal text.

Co-Authored-By: Claude Opus 4.7 <noreply@anthropic.com>
Signed-off-by: Kent Rancourt <kent.rancourt@gmail.com>
@krancour krancour added this to the v1.11.0 milestone Jun 8, 2026
@krancour krancour self-assigned this Jun 8, 2026
@krancour krancour requested a review from a team as a code owner June 8, 2026 03:48
@krancour krancour added kind/enhancement An entirely new feature priority/normal This is the priority for most work area/chart Affects the Helm chart labels Jun 8, 2026
@netlify

netlify Bot commented Jun 8, 2026

Copy link
Copy Markdown

Deploy Preview for docs-kargo-io ready!

Name Link
🔨 Latest commit 5d7e512
🔍 Latest deploy log https://app.netlify.com/projects/docs-kargo-io/deploys/6a263b954ff55b0008fc066d
😎 Deploy Preview https://deploy-preview-6427.docs.kargo.io
📱 Preview on mobile
Toggle QR Code...

QR Code

Use your smartphone camera to open QR code link.

To edit notification comments on pull requests, go to your Netlify project configuration.

@codecov

codecov Bot commented Jun 8, 2026

Copy link
Copy Markdown

Codecov Report

✅ All modified and coverable lines are covered by tests.
✅ Project coverage is 58.34%. Comparing base (f791a1f) to head (5d7e512).

Additional details and impacted files
@@           Coverage Diff           @@
##             main    #6427   +/-   ##
=======================================
  Coverage   58.34%   58.34%           
=======================================
  Files         500      500           
  Lines       41993    41993           
=======================================
  Hits        24500    24500           
  Misses      16024    16024           
  Partials     1469     1469           

☔ View full report in Codecov by Harness.
📢 Have feedback on the report? Share it here.

🚀 New features to boost your workflow:
  • ❄️ Test Analytics: Detect flaky tests, report on failures, and find test suite problems.
  • 📦 JS Bundle Analysis: Save yourself from yourself by tracking and limiting bundle sizes in JS merges.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

area/chart Affects the Helm chart kind/enhancement An entirely new feature priority/normal This is the priority for most work

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant