Thanks to visit codestin.com
Credit goes to github.com

Skip to content

Conversation

@jacobweinstock
Copy link
Member

Description

This is needed so that Tink Server can read the WorkflowRuleSets. Updated the formatting of all ClusterRole rules so that they use the same yaml formatting.

Why is this needed

Fixes: #

How Has This Been Tested?

How are existing users impacted? What migration steps/scripts do we need?

Checklist:

I have:

  • updated the documentation and/or roadmap (if required)
  • added unit or e2e tests
  • provided instructions on how to upgrade

This is needed so that Tink Server can
read the WorkflowRuleSets. Updated the
formatting of all ClusterRole rules
so that they use the same yaml formatting.

Signed-off-by: Jacob Weinstock <[email protected]>
@jacobweinstock jacobweinstock requested a review from Copilot June 4, 2025 20:13
Copy link
Contributor

Copilot AI left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Pull Request Overview

This PR updates the ClusterRole YAML for Tinkerbell to use a consistent inline array formatting and adds a new rule to allow Tink Server to read WorkflowRuleSets.

  • Updated formatting for rules to use inline YAML arrays.
  • Reorganized resource rules for clarity.
  • Added read access for WorkflowRuleSets.
Comments suppressed due to low confidence (1)

helm/tinkerbell/templates/role.yaml:14

  • The addition of the 'create' verb for workflows appears to extend permissions beyond read access; please verify if this change is intended given the PR’s focus on read access for WorkflowRuleSets.
verbs: ["get", "list", "patch", "update", "watch", "delete", "create"]

@codecov
Copy link

codecov bot commented Jun 4, 2025

Codecov Report

All modified and coverable lines are covered by tests ✅

Project coverage is 46.15%. Comparing base (2d5f5a6) to head (7537806).
Report is 2 commits behind head on main.

Additional details and impacted files
@@            Coverage Diff             @@
##             main     #193      +/-   ##
==========================================
+ Coverage   46.10%   46.15%   +0.04%     
==========================================
  Files         100      100              
  Lines        8439     8439              
==========================================
+ Hits         3891     3895       +4     
+ Misses       4309     4306       -3     
+ Partials      239      238       -1     

☔ View full report in Codecov by Sentry.
📢 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.

@jacobweinstock jacobweinstock added ready-to-merge Signal Mergify to merge the PR helm-chart labels Jun 4, 2025
@mergify mergify bot merged commit d8800dc into tinkerbell:main Jun 4, 2025
12 checks passed
@jacobweinstock jacobweinstock deleted the auto-enrollment-helm-perms branch August 20, 2025 15:39
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

helm-chart ready-to-merge Signal Mergify to merge the PR

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant