-
Notifications
You must be signed in to change notification settings - Fork 269
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: after #465 (remove before <?php, indent of extraVolumes and podLabels) #476
Conversation
@DanishVaid could you verify, that this patch solves that problem? |
3775486
to
ccb18af
Compare
@wrenix thanks for popping back in to fix this quickly 💙 |
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'll approve the workflow run after the comments are addressed, but thanks again for quickly taking note of the bug :)
Also, before I forget, you can test it by adding a custom config and then doing a helm template .
from the helm chart directory of your nextcloud fork's patch branch. If you want to specify custom values, you can use --values myvalues.file.yaml
and if you want to specify a directory to write the rendered templates out to for checking, you can use --output-dir mytestdir
.
you are correct, after a second look i start to cleanup more - so i split it again and make more with #478. i know for |
…xtraVolumes) Signed-off-by: WrenIX <[email protected]>
Hmm, I'm trying to test but seeing an odd error during chart rendering (shown below). I don't think this is tied to your change. Seeing if I can figure out what it is
|
@DanishVaid i am really interestest in your value.yaml / environment. it look like it has nothing todo with this or #465 - that looks like an subchart problem (where you enable both, mariadb and postgresql at the same time? that does not look like the problem here, it is an recusive template part down to the sub-sub-chart and there the access to .Chart.Name) But maybe i use a |
Signed-off-by: WrenIX <[email protected]>
No worry, i take another look and find another bug (see podLabel commit), so thanks to get me spending timd to reviewe my own changes again xD PS: if you like, you could review #478 also - there i refactory the main logic for defaultConfigs (in hopefull a better way, that such nindent in php by using helm wrong could not happen again so easy) ... |
That's fair. Since helm template didn't catch it, perhaps you should also install kind and ct locally? I added a PR here, #479, for updating the contributing docs
Chart testing is set up here: https://github.com/nextcloud/helm/blob/main/.github/workflows/lint-test.yaml We could potentially add a
I'd review a PR for that, but perhaps it needs more discussion as we have a few conflicting options, for instance mysql vs postgresql vs sqlite for the database. We'd maybe need a couple of test values files, and I'm not sure off the top of my head how that works if there's multiple. We'd need to do some testing. We could add more steps to test different configurations, but there is also this PR for helm tests: |
I'm testing this fix locally and will report back after that. |
dimissing stale review as this isn't ready for approval yet, but all changes were fixed
ok, this appears to be working from testing on my end :) Here's Argo CD ApplicationSet I used to test: |
Fixes:
with
using.Values
(e.g. podLabels)Additional information
Checklist
Chart.yaml
according to semver.