Skip to content
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

ensure prow-build can operate secret manager secrets #7416

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

Conversation

dargudear-google
Copy link

No description provided.

@k8s-ci-robot k8s-ci-robot added do-not-merge/work-in-progress Indicates that a PR should not merge because it is a work in progress. cncf-cla: yes Indicates the PR's author has signed the CNCF CLA. labels Oct 16, 2024
@k8s-ci-robot
Copy link
Contributor

Welcome @dargudear-google!

It looks like this is your first PR to kubernetes/k8s.io 🎉. Please refer to our pull request process documentation to help your PR have a smooth ride to approval.

You will be prompted by a bot to use commands during the review process. Do not be afraid to follow the prompts! It is okay to experiment. Here is the bot commands documentation.

You can also check if kubernetes/k8s.io has its own contribution guidelines.

You may want to refer to our testing guide if you run into trouble with your tests not passing.

If you are having difficulty getting your pull request seen, please follow the recommended escalation practices. Also, for tips and tricks in the contribution process you may want to read the Kubernetes contributor cheat sheet. We want to make sure your contribution gets all the attention it needs!

Thank you, and welcome to Kubernetes. 😃

@k8s-ci-robot
Copy link
Contributor

Hi @dargudear-google. Thanks for your PR.

I'm waiting for a kubernetes member to verify that this patch is reasonable to test. If it is, they should reply with /ok-to-test on its own line. Until that is done, I will not automatically test new commits in this PR, but the usual testing commands by org members will still work. Regular contributors should join the org to skip this step.

Once the patch is verified, the new status will be reflected by the ok-to-test label.

I understand the commands that are listed here.

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-sigs/prow repository.

@k8s-ci-robot k8s-ci-robot added needs-ok-to-test Indicates a PR that requires an org member to verify it is safe to test. area/bash Bash scripts, testing them, writing less of them, code in infra/gcp/ area/infra Infrastructure management, infrastructure design, code in infra/ area/infra/gcp Issues or PRs related to Kubernetes GCP infrastructure area/prow Setting up or working with prow in general, prow.k8s.io, prow build clusters labels Oct 16, 2024
@k8s-ci-robot k8s-ci-robot requested review from dims and xmcqueen October 16, 2024 11:09
@k8s-ci-robot k8s-ci-robot added area/terraform Terraform modules, testing them, writing more of them, code in infra/gcp/clusters/ sig/k8s-infra Categorizes an issue or PR as relevant to SIG K8s Infra. sig/testing Categorizes an issue or PR as relevant to SIG Testing. size/S Denotes a PR that changes 10-29 lines, ignoring generated files. labels Oct 16, 2024
@dargudear-google dargudear-google marked this pull request as ready for review October 25, 2024 04:26
@k8s-ci-robot k8s-ci-robot removed the do-not-merge/work-in-progress Indicates that a PR should not merge because it is a work in progress. label Oct 25, 2024
@ameukam
Copy link
Member

ameukam commented Oct 28, 2024

/ok-to-test

@k8s-ci-robot k8s-ci-robot added ok-to-test Indicates a non-member PR verified by an org member that is safe to test. and removed needs-ok-to-test Indicates a PR that requires an org member to verify it is safe to test. labels Oct 28, 2024
@k8s-ci-robot k8s-ci-robot added size/XS Denotes a PR that changes 0-9 lines, ignoring generated files. and removed size/S Denotes a PR that changes 10-29 lines, ignoring generated files. labels Oct 28, 2024
@ameukam
Copy link
Member

ameukam commented Oct 28, 2024

/approve
/hold

Until we figure out how to do properly cleanup secrets with boskos.

@k8s-ci-robot k8s-ci-robot added the do-not-merge/hold Indicates that a PR should not merge because someone has issued a /hold command. label Oct 28, 2024
@k8s-ci-robot
Copy link
Contributor

[APPROVALNOTIFIER] This PR is APPROVED

This pull-request has been approved by: ameukam, dargudear-google

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 /approve in a comment
Approvers can cancel approval by writing /approve cancel in a comment

@k8s-ci-robot k8s-ci-robot added the approved Indicates a PR has been approved by an approver from all required OWNERS files. label Oct 28, 2024
@dargudear-google
Copy link
Author

/approve /hold

Until we figure out how to do properly cleanup secrets with boskos.

can't we use https://github.com/kubernetes/test-infra/pull/33669/files ?

@ameukam
Copy link
Member

ameukam commented Oct 28, 2024

/approve /hold
Until we figure out how to do properly cleanup secrets with boskos.

can't we use kubernetes/test-infra#33669 (files) ?

AFAIK the janitor is now located here: https://github.com/kubernetes-sigs/boskos/tree/master/cmd/janitor. Not sure which one is used. cc @BenTheElder

@dargudear-google
Copy link
Author

/approve /hold
Until we figure out how to do properly cleanup secrets with boskos.

can't we use kubernetes/test-infra#33669 (files) ?

AFAIK the janitor is now located here: https://github.com/kubernetes-sigs/boskos/tree/master/cmd/janitor. Not sure which one is used. cc @BenTheElder

May be I'll make one more PR ready for https://github.com/kubernetes-sigs/boskos/tree/master/cmd/janitor. We can submit both the PRs.

@BenTheElder
Copy link
Member

Not sure which one is used. cc @BenTheElder

I'm not up to speed on the boskos deployments either, not since the migration, dims and mahamed have been taking care of boskos for a while now. Should catch back up but haven't yet ...

@dargudear-google
Copy link
Author

Not sure which one is used. cc @BenTheElder

I'm not up to speed on the boskos deployments either, not since the migration, dims and mahamed have been taking care of boskos for a while now. Should catch back up but haven't yet ...

@dims @ameukam Do we know which one to use ?

@dargudear-google
Copy link
Author

I have created one PR for other repo also kubernetes-sigs/boskos#208.

@dargudear-google
Copy link
Author

kubernetes-sigs/boskos#208 has been merged.

@dargudear-google
Copy link
Author

Hi @ameukam , I have a query.

with the existing permissions, I am able to create the cluster using gcloud container clusters create on boskos project but not able to create clusterrole in the created cluster.
Getting below error

"[email protected]" cannot create resource "clusterroles" in API group \
"rbac.authorization.k8s.io" at the cluster scope: requires one of ["container.clusterRoles.create"] permission(s).

Can I add one additional role as container.clusterAdmin ?

@ameukam
Copy link
Member

ameukam commented Dec 6, 2024

@dargudear-google why do we need a ClusterRole ?
BTW this is on hold until the 1.32 release and the lift of code thaw.

@dargudear-google
Copy link
Author

The prow job executes e2e tests, which involves installing csi driver which requires some clusterroles to be created.
I think for now, I can use kind cluster in tests and we can hold on clusterrole.

On the 1.32 release hold, how long do we need to wait ?

@ameukam
Copy link
Member

ameukam commented Dec 9, 2024

If 1.32 is not delayed, it's safe to assume we can merge this next week or early January.

@ameukam
Copy link
Member

ameukam commented Dec 12, 2024

/lgtm

@k8s-ci-robot k8s-ci-robot added the lgtm "Looks good to me", indicates that a PR is ready to be merged. label Dec 12, 2024
@dargudear-google
Copy link
Author

can we remove /hold label from the PR ?

@ameukam
Copy link
Member

ameukam commented Dec 12, 2024

can we remove /hold label from the PR ?

I'll leave this to @BenTheElder

@k8s-ci-robot
Copy link
Contributor

New changes are detected. LGTM label has been removed.

@k8s-ci-robot k8s-ci-robot removed the lgtm "Looks good to me", indicates that a PR is ready to be merged. label Dec 12, 2024
@BenTheElder
Copy link
Member

I need someone to coordinate this with deploying it and with rolling out the new boskos and watching for if it beeaks, that will have to be one of @kubernetes/sig-k8s-infra-leads currently

I have to finish some things related to 1.32 before I'm OOO for most of the rest of the year, can anyone else pick this up? cc also @xmudrii

if not I'll try to work it in.

@xmudrii
Copy link
Member

xmudrii commented Dec 16, 2024

@BenTheElder I can pick this up and give it a try. I'll get back to this later today.

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. area/bash Bash scripts, testing them, writing less of them, code in infra/gcp/ area/infra/gcp Issues or PRs related to Kubernetes GCP infrastructure area/infra Infrastructure management, infrastructure design, code in infra/ area/prow Setting up or working with prow in general, prow.k8s.io, prow build clusters area/terraform Terraform modules, testing them, writing more of them, code in infra/gcp/clusters/ cncf-cla: yes Indicates the PR's author has signed the CNCF CLA. do-not-merge/hold Indicates that a PR should not merge because someone has issued a /hold command. ok-to-test Indicates a non-member PR verified by an org member that is safe to test. sig/k8s-infra Categorizes an issue or PR as relevant to SIG K8s Infra. sig/testing Categorizes an issue or PR as relevant to SIG Testing. 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