-
Notifications
You must be signed in to change notification settings - Fork 2.7k
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
✨ (kubebuilder) new config image job for kube-rbac-proxy image #29351
✨ (kubebuilder) new config image job for kube-rbac-proxy image #29351
Conversation
575a238
to
c0313c4
Compare
- --env-passthrough=PULL_BASE_REF | ||
- --with-git-dir | ||
- --gcb-config=build/cloudbuild_kube-rbac-proxy.yaml | ||
- . |
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.
suggestion: instead of using --gcb-config here, probably you want to create a new directory in https://github.com/kubernetes-sigs/kubebuilder/tree/kube-rbac-proxy-releases with a proper cloudbuild, and point to that directory
eg.:
args:
....
- images/
And add a new cloudbuild.yaml inside this directory (see https://github.com/kubernetes/ingress-nginx/blob/main/cloudbuild.yaml). In this case if you want to test different combinations of cloudbuild.yaml later you won't need to change the one that is already working.
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.
ok I see it here: https://github.com/kubernetes-sigs/kubebuilder/pull/3362/files
let me continue the discussion there
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.
So, I understand that is right. Am I right?
See that I am doing like : https://github.com/kubernetes/test-infra/blob/3b85f96f30d6f1ce48639ccbdbde396cc3c8b183/config/jobs/image-pushing/k8s-staging-kustomize.yaml#LL28C1-L38C18
Note that for Kubebuilder, we do not use docker to build the image.
So, I understand that when we merge this one, we should see a new trigger created in the GCP, such as we have now:
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.
+1 for this suggestion, but not blocking
put a hold in case
f9b62dd
to
7baae2b
Compare
Hi @rikatz, I did the changes could we get this one merged, and then we try it out to see if it will work? |
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.
/lgtm
/approve
[APPROVALNOTIFIER] This PR is APPROVED This pull-request has been approved by: BenTheElder, camilamacedo86 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:
Approvers can indicate their approval by writing |
/hold |
/hold cancel |
@camilamacedo86: Updated the
In response to this:
Instructions for interacting with me using PR comments are available here. If you have questions or suggestions related to my behavior, please file an issue against the kubernetes/test-infra repository. |
Description
Creating a job to trigger the build of the image gcr.io/kubebuilder/kube-rbac-proxy in the new registry.
More info: kubernetes-sigs/kubebuilder#3362
Motivation: kubernetes-sigs/kubebuilder#3230
Closes: https://github.com/kubernetes/test-infra/pull/28803/files