-
Notifications
You must be signed in to change notification settings - Fork 407
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
Support for Federated Storage via yaml #3411
base: develop
Are you sure you want to change the base?
Conversation
Signed-off-by: Will <wgonzalez@kubecost.com>
|
GitGuardian id | GitGuardian status | Secret | Commit | Filename | |
---|---|---|---|---|---|
7414 | Triggered | Google API Key | db78bfa | cost-analyzer/templates/cost-analyzer-deployment-template.yaml | View secret |
7414 | Triggered | Google API Key | db78bfa | cost-analyzer/templates/_helpers.tpl | 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 secrets safely. Learn here the best practices.
- Revoke and rotate these secrets.
- 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.
@chipzoller I ended up closing the original PR I created, mainly because I messed up the merge conflict. I know you mentioned having this under |
Signed-off-by: Will <156370195+williamkubecost@users.noreply.github.com>
Signed-off-by: Will <156370195+williamkubecost@users.noreply.github.com>
…storage-json' into williamg/federated-storage-json
Signed-off-by: Will <156370195+williamkubecost@users.noreply.github.com>
@williamkubecost Nice progress! When you test with the following values.txt, what does the I believe that a |
I was able to test it with the values you provided, it seems like it worked without issue. In regards to have multiple cloud providers, I really only have them there as an example for each major provider 😄 |
What does this PR change?
Allows support for specifying federated storage via YAML values. Also removes previous merge conflict.
Does this PR rely on any other PRs?
I do not believe so.
How does this PR impact users? (This is the kind of thing that goes in release notes!)
Many customers rely on automation in the form of IaC and CI/CD pipelines to deploy their applications.
It can be a burden to manage and maintain a secret using that approach, including updating values, base64 encoding, deploying, etc.
Links to Issues or tickets this PR addresses or fixes
Closes #3216
What risks are associated with merging this PR? What is required to fully test this PR?
I don't believe there is a real risk, I added a new value for users to configure. I did not modify any pre-existing values.
How was this PR tested?
values.yaml
file similar to below:Have you made an update to documentation? If so, please provide the corresponding PR.
No, but I'm open to discussion about this if we feel it's needed!