Skip to content
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

feat(directives): support multi file write for helm-template #2619

Merged
merged 6 commits into from
Oct 2, 2024

Conversation

hiddeco
Copy link
Contributor

@hiddeco hiddeco commented Oct 1, 2024

Helm-related part for #2596.

This makes the directive behave the same as helm template when passing a directory (non .yaml or .yml) as output path. Writing each manifests to <outPath>/<chartName>/<pathInChart>, or <outPath>/<releaseName>/<pathInChart> when useReleaseName is configured.

Copy link

netlify bot commented Oct 1, 2024

Deploy Preview for docs-kargo-akuity-io ready!

Name Link
🔨 Latest commit dd4113c
🔍 Latest deploy log https://app.netlify.com/sites/docs-kargo-akuity-io/deploys/66fd410f475eb80008f090e4
😎 Deploy Preview https://deploy-preview-2619.kargo.akuity.io
📱 Preview on mobile
Toggle QR Code...

QR Code

Use your smartphone camera to open QR code link.

To edit notification comments on pull requests, go to your Netlify site configuration.

@hiddeco hiddeco force-pushed the helm-write-multi-files branch from e15a593 to fbdcead Compare October 2, 2024 12:11
Copy link

codecov bot commented Oct 2, 2024

Codecov Report

Attention: Patch coverage is 69.86301% with 22 lines in your changes missing coverage. Please review.

Project coverage is 51.03%. Comparing base (519542c) to head (dd4113c).
Report is 1 commits behind head on main.

Files with missing lines Patch % Lines
internal/directives/helm_template_runner.go 69.86% 12 Missing and 10 partials ⚠️
Additional details and impacted files
@@            Coverage Diff             @@
##             main    #2619      +/-   ##
==========================================
+ Coverage   50.97%   51.03%   +0.05%     
==========================================
  Files         282      282              
  Lines       21039    21099      +60     
==========================================
+ Hits        10724    10767      +43     
- Misses       9643     9652       +9     
- Partials      672      680       +8     

☔ View full report in Codecov by Sentry.
📢 Have feedback on the report? Share it here.

@hiddeco hiddeco force-pushed the helm-write-multi-files branch from d71b4dc to dd4113c Compare October 2, 2024 12:48
@hiddeco hiddeco marked this pull request as ready for review October 2, 2024 12:50
@hiddeco hiddeco requested a review from a team as a code owner October 2, 2024 12:50
@krancour krancour added this pull request to the merge queue Oct 2, 2024
Merged via the queue into akuity:main with commit 79bbc2b Oct 2, 2024
18 checks passed
@hiddeco hiddeco deleted the helm-write-multi-files branch October 2, 2024 13:48
github-actions bot pushed a commit that referenced this pull request Oct 2, 2024
Signed-off-by: Hidde Beydals <[email protected]>
(cherry picked from commit 79bbc2b)
@akuitybot
Copy link

Successfully created backport PR for release-0.9:

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants