-
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
prow/config/secret: extract SecretAgent to a separate package #10482
prow/config/secret: extract SecretAgent to a separate package #10482
Conversation
Hi @ibrasho. 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 Once the patch is verified, the new status will be reflected by the 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/test-infra repository. |
Also, |
/ok-to-test |
/assign |
b3d7f1a
to
9527a76
Compare
/lgtm |
LGTM label has been added. Git tree hash: fa46cede096ac0bc00c1be94298efa844427cbbb
|
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.
/hold
Feel free to accept some my requested changes or reject them and leave a /hold cancel
@@ -23,15 +23,16 @@ import ( | |||
"os" | |||
"strings" | |||
|
|||
"github.com/sirupsen/logrus" |
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.
What tool is doing this (moving this import section?)
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 have a file watcher that runs goimports
on save. Also, a habit of organizing import in stdlib, external, internal groups. I think I moved this one manually.
[APPROVALNOTIFIER] This PR is APPROVED This pull-request has been approved by: fejta, ibrasho 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 |
Signed-off-by: Ibrahim AshShohail <me@ibrasho.com>
9527a76
to
205be8c
Compare
/lgtm |
LGTM label has been added. Git tree hash: 629f161d082a878c378f3d6adcc80aa837e637ff
|
@@ -26,6 +26,7 @@ import ( | |||
|
|||
"k8s.io/test-infra/pkg/flagutil" | |||
"k8s.io/test-infra/prow/config" | |||
"k8s.io/test-infra/prow/config/secret" | |||
prowflagutil "k8s.io/test-infra/prow/flagutil" | |||
_ "k8s.io/test-infra/prow/hook" |
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.
@cjwagner @stevekuznetsov any idea why we need this?
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.
Because we need to import all plugins to actually load the plugin config. If you don't import the plugins we fail validation on plugin config loading as we don't find the plugin names registered.
/hold cancel |
As per @fejta request, this PR extracts
SecretAgent
fromprow/config
into a newprow/config/secret
package.