-
Notifications
You must be signed in to change notification settings - Fork 182
feat: create helm chart for zarf-agent #3678
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
base: main
Are you sure you want to change the base?
Conversation
✅ Deploy Preview for zarf-docs canceled.
|
5333787
to
3a462f7
Compare
Codecov ReportAll modified and coverable lines are covered by tests ✅ 🚀 New features to boost your workflow:
|
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 believe we're missing a baseline values.yaml
for the chart (living beside the Chart.yaml
) that would serve as a default values definition that agent-values.yaml
could then overlay at the Zarf component level.
I'm not sure there's a need to have any other default values outside of the ones provided by |
Speaking strictly from a helm chart correctness perspective - the current state will fail |
Yeah, I agree. There should definitely be a baseline |
Signed-off-by: Jeff Rescignano <[email protected]>
Co-authored-by: Brandt Keller <[email protected]> Signed-off-by: Jeff Rescignano <[email protected]> Signed-off-by: Jeff Rescignano <[email protected]>
Signed-off-by: Jeff Rescignano <[email protected]>
Signed-off-by: Jeff Rescignano <[email protected]>
8d2b3fe
to
b6a9413
Compare
Just realized upgrade testing on this is going to be broken it was using a zarf-generated helm chart before, so the updated release name annotations won't match. The only solution I can think is to patch the existing resources before deploy, but that's hacky and would have to live in the codebase forever, so I don't like that approach. I'm open to ideas on how to solve this more elegantly. |
Upgrade testing is where we expected this to potentially get hairy. I will look at this for my next task and see if anything stands out (likely tomorrow). |
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.
Possible path forward - appreciate your patience.
- name: zarf-agent | ||
releaseName: zarf-agent |
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.
Bit of a hack - but if we modify this - given that the raw chart name has not changed since creation and that the hasher logic is quite old as well link then we should have quite substantial backwards compatibility AND it should function now.
releaseName: zarf-agent | |
releaseName: zarf-d2db14ef40305397791454e883b26fc94ad9615d |
I say we start here to begin - test other E2E functionality while continuing to get feedback on this as the solution.
Description
Converts the zarf-agent manifests to a helm chart, allowing users to customize various values such as affinity and tolerations on the deployment.
Related Issue
Fixes #3620
Checklist before merging