Skip to content

Also run controller-gen on the controller directory to get rbac#892

Merged
metal3-io-bot merged 1 commit intometal3-io:masterfrom
asalkeld:fix-controller-gen
Jun 10, 2021
Merged

Also run controller-gen on the controller directory to get rbac#892
metal3-io-bot merged 1 commit intometal3-io:masterfrom
asalkeld:fix-controller-gen

Conversation

@asalkeld
Copy link
Copy Markdown
Contributor

@asalkeld asalkeld commented May 24, 2021

The RBAC manifests are built from the controller (not api) code, so we have to run the make manifests commands at least on both the API module and the main module.

@metal3-io-bot metal3-io-bot requested a review from zaneb May 24, 2021 21:34
@metal3-io-bot metal3-io-bot added the size/XS Denotes a PR that changes 0-9 lines, ignoring generated files. label May 24, 2021
Copy link
Copy Markdown
Member

@zaneb zaneb left a comment

Choose a reason for hiding this comment

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

/lgtm

Comment thread Makefile Outdated
Comment thread Makefile
.PHONY: generate
generate: tools/bin/controller-gen ## Generate code
cd apis; ../$< object:headerFile="../hack/boilerplate.go.txt" paths="./..."
$< object:headerFile="hack/boilerplate.go.txt" paths="./..."
Copy link
Copy Markdown
Member

Choose a reason for hiding this comment

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

Out of curiousity, do we need both generate and manifests, or might just manifests suffice (at least for now)?

Copy link
Copy Markdown
Contributor Author

Choose a reason for hiding this comment

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

this is to just make sure that if we add something in another dir, it's not going confuse the hell out of someone for hours.

@metal3-io-bot metal3-io-bot added the lgtm Indicates that a PR is ready to be merged. label May 24, 2021
@metal3-io-bot metal3-io-bot removed the lgtm Indicates that a PR is ready to be merged. label May 24, 2021
@zaneb
Copy link
Copy Markdown
Member

zaneb commented May 24, 2021

/lgtm

@metal3-io-bot metal3-io-bot added the lgtm Indicates that a PR is ready to be merged. label May 24, 2021
@zaneb
Copy link
Copy Markdown
Member

zaneb commented Jun 2, 2021

/test-integration
/assign @maelk

@zaneb
Copy link
Copy Markdown
Member

zaneb commented Jun 9, 2021

@kashifest this is a follow-up to fix a mistake I made in #888, could you take a look?

@kashifest
Copy link
Copy Markdown
Member

/lgtm
@asalkeld would you please add some text in the PR description
I will run a centos run just to be sure everything is in order.
/test-centos-integration

@zaneb
Copy link
Copy Markdown
Member

zaneb commented Jun 10, 2021

Thanks @kashifest. I updated the description so we should be good to go.
/approve

@metal3-io-bot
Copy link
Copy Markdown
Contributor

[APPROVALNOTIFIER] This PR is APPROVED

This pull-request has been approved by: zaneb

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

The pull request process is described here

Details Needs approval from an approver in each of these files:

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

@metal3-io-bot metal3-io-bot added the approved Indicates a PR has been approved by an approver from all required OWNERS files. label Jun 10, 2021
@metal3-io-bot metal3-io-bot merged commit a93cb9c into metal3-io:master Jun 10, 2021
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. lgtm Indicates that a PR is ready to be merged. size/XS Denotes a PR that changes 0-9 lines, ignoring generated files.

Projects

None yet

Development

Successfully merging this pull request may close these issues.

5 participants