Skip to content

adding reconcilers for a service account #51

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Open
wants to merge 4 commits into
base: main
Choose a base branch
from

Conversation

dhoover103
Copy link

a fix for issue #15

adds new reconcilers for a service account, role, and role binding

dhoover103 added 2 commits May 8, 2025 11:58
… to create role/rolebinding/serviceaccount to controller, added service account to the deployment, and fixed syntax errors on the role and rolebinding reconsilers
@exe-prow-github-app exe-prow-github-app bot added the do-not-merge/work-in-progress Indicates that a PR should not merge because it is a work in progress. label May 8, 2025
@exe-prow-github-app exe-prow-github-app bot added the approved Indicates a PR has been approved by an approver from all required OWNERS files. label May 8, 2025
@dhoover103
Copy link
Author

I seem to be having an issue with the permissions to create the role and role binding, but I'm not sure what's causing it at the moment

Copy link
Collaborator

@acornett21 acornett21 left a comment

Choose a reason for hiding this comment

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

This is a great start, as mentioned when we spoke the RBACs don't need to be edited manually just update the below marker in the controller filed to include serviceaccount

// +kubebuilder:rbac:groups=core,resources=pods;services;serviceaccounts,verbs=update;create;get;list;watch

After that run make manifests and the files needed to be checked in will be generated.

…r go style, and added rbac changes to the rbac generation code
@dhoover103 dhoover103 marked this pull request as ready for review May 9, 2025 17:03
@exe-prow-github-app exe-prow-github-app bot removed the do-not-merge/work-in-progress Indicates that a PR should not merge because it is a work in progress. label May 9, 2025
@exe-prow-github-app exe-prow-github-app bot requested a review from makon57 May 9, 2025 17:03
@exe-prow-github-app
Copy link
Contributor

[APPROVALNOTIFIER] This PR is APPROVED

This pull-request has been approved by: acornett21, dhoover103

The full list of commands accepted by this bot can be found here.

The pull request process is described here

Needs approval from an approver in each of these files:
  • OWNERS [acornett21,dhoover103]

Approvers can indicate their approval by writing /approve in a comment
Approvers can cancel approval by writing /approve cancel in a comment

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
approved Indicates a PR has been approved by an approver from all required OWNERS files.
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants