-
Notifications
You must be signed in to change notification settings - Fork 25
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
chore: add fleet networking rules #203
Conversation
APIGroups: []string{""}, | ||
Resources: []string{"events"}, | ||
} | ||
FleetNetworkRule = rbacv1.PolicyRule{ |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
@ryanzhang-oss , I did not add work api here because we are reusing module path the origin upstream sigs.k8s.io/work-api
instead of like go.goms.io/work-api
?
https://github.com/Azure/k8s-work-api/blob/v0.1.0/go.mod
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
sure, I will add that later.
Makefile
Outdated
else | ||
HUB_AGENT_IMAGE_VERSION ?= $(TAG) | ||
MEMBER_AGENT_IMAGE_VERSION ?= $(TAG) | ||
REFRESH_TOKEN_IMAGE_VERSION ?= $(TAG) |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
I don't think we have the case to publish images with different versions at the same time.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
not her but might be needed in the publish CI
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
it seems that we didn't change the publish image Action?
APIGroups: []string{""}, | ||
Resources: []string{"events"}, | ||
} | ||
FleetNetworkRule = rbacv1.PolicyRule{ |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
sure, I will add that later.
Makefile
Outdated
else | ||
HUB_AGENT_IMAGE_VERSION ?= $(TAG) | ||
MEMBER_AGENT_IMAGE_VERSION ?= $(TAG) | ||
REFRESH_TOKEN_IMAGE_VERSION ?= $(TAG) |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
not her but might be needed in the publish CI
Makefile
Outdated
@@ -1,11 +1,15 @@ | |||
REGISTRY ?= ghcr.io | |||
KIND_IMAGE ?= kindest/node:v1.23.3 | |||
ifndef TAG | |||
HUB_AGENT_IMAGE_VERSION ?= $(shell git rev-parse --short=7 HEAD) | |||
else |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
do we need an else here?
it seems that the below needs to be set in any case
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Removed else
cb08336
to
380b311
Compare
Description of your changes
I have:
make reviewable
to ensure this PR is ready for review.How has this code been tested
Special notes for your reviewer