-
Notifications
You must be signed in to change notification settings - Fork 525
[GEP-28] Initial gardenadm
skaffolding and introduction of new component
#10729
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
Conversation
|
GitGuardian id | GitGuardian status | Secret | Commit | Filename | |
---|---|---|---|---|---|
- | - | Generic High Entropy Secret | f40adca | pkg/gardenadm/cmd/token/create/options.go | View secret |
🛠 Guidelines to remediate hardcoded secrets
- Understand the implications of revoking this secret by investigating where it is used in your code.
- Replace and store your secret safely. Learn here the best practices.
- Revoke and rotate this secret.
- If possible, rewrite git history. Rewriting git history is not a trivial act. You might completely break other contributing developers' workflow and you risk accidentally deleting legitimate data.
To avoid such incidents in the future consider
- following these best practices for managing and storing secrets including API keys and other credentials
- install secret detection on pre-commit to catch secret before it leaves your machine and ease remediation.
🦉 GitGuardian detects secrets in your source code to help developers and security teams secure the modern development process. You are seeing this because you or someone else with access to this repository has authorized GitGuardian to scan your pull request.
/assign |
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.
Had a joint review with @Kostov6
Minor suggestions and questions
/assign |
This file has been deliberately moved into its own package since it imports k8s.io/component-base/version/verflag which automatically registers the `--version` flag as soon as the packages is (transitively) imported. In order to prevent this from happening accidentally, it's safer to keep it in its own package.
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.
Thanks for creating the initial gardenadm
framework. Looks good already. I have only a few minor nits.
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
LGTM label has been added. Git tree hash: 07b38cb4142657a88b6d1d095985cebfe9bcde6b
|
[APPROVALNOTIFIER] This PR is APPROVED This pull-request has been approved by: ScheererJ 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 |
/retest |
How to categorize this PR?
/area ops-productivity open-source
/kind enhancement
What this PR does / why we need it:
This PR introduces the
gardenadm
component with its few commands proposed in GEP-28.The commands are not yet implemented at all, this will follow in subsequent PRs. The goal of this PR is to just prepare the boilerplate and prepare the initial skaffolding.
Which issue(s) this PR fixes:
Part of #2906
Special notes for your reviewer:
/cc @ScheererJ
You can test it like this:
Release note: