-
-
Notifications
You must be signed in to change notification settings - Fork 15
fix: clean balancer #249
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
fix: clean balancer #249
Conversation
5fd17cc
to
53507ac
Compare
The file |
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.
Hi @osamamagdy ! Love the steps forward!
Here are my 2 cents. @bendehaan can you please have a look at them and see if you agree ? (Eg balancer things in deployment and helm chart, while namespaced things need to undergo exactly this transformation to all things config.json). And then maybe extract more from code (hardcoded) for the namespaced objects and move to the config.json?)
helm/wrongsecrets-ctf-party/templates/wrongsecrets-balancer/deployment.yaml
Show resolved
Hide resolved
helm/wrongsecrets-ctf-party/templates/wrongsecrets-balancer/deployment.yaml
Outdated
Show resolved
Hide resolved
helm/wrongsecrets-ctf-party/templates/wrongsecrets-balancer/deployment.yaml
Show resolved
Hide resolved
We could specifically set - id: check-yaml
exclude: ^helm/wrongsecrets-ctf-party/templates/|^test.tmp.yaml)
- id: check-yaml
include: ^test.tmp.yaml
with:
- --allow-multiple-documents |
Signed-off-by: osamamagdy <[email protected]>
53507ac
to
bb5dba6
Compare
@bendehaan I applied those changes but I gues it won't take effect until you merge it first |
@osamamagdy made some changes to the pre-commit config, should work now :) |
e93db11
to
5517382
Compare
5517382
to
ebaf779
Compare
Signed-off-by: osamamagdy <[email protected]>
ebaf779
to
e20976f
Compare
Can you please update with master, resolve teh conflicts so we can do the final review please? |
@commjoen Done |
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.
Nice progress! Could you add the two test files to gitignore? You don't have to delete them, but that way they won't clutter the public repository.
8284bff
to
b2c5e75
Compare
@bendehaan If there are no other issues with this PR, I will delete them completely before merging (not needed with closing the PR). |
Signed-off-by: osamamagdy <[email protected]>
b2c5e75
to
2a269f8
Compare
@bendehaan I deleted the two tests files |
Thank you for submitting a pull request to the WrongSecrets Party!
What kind of changes does this PR include?
It is a partial fix to Cleanup helm chart #86
Checklist:
Description:
helm template
andhelm install --dry-run
which will benpm run template
andnpm run dry-run
respectively.test-values.yaml
file to try how values can be overridden by other values different than the originalvalues.yaml
test.tmp.yaml
which is the generated k8s manifests by helm to detect any changes I can make by mistake in the future ( we don't want to change the generated manifests during the clean-up process)securityContext
from the balancer deployment in both the container specs and pod specs (taken from values files)