Skip to content

Stop failing on single helmfile part missing specified env#885

Merged
yxxhero merged 2 commits into
mainfrom
fix-missing-env-error-on-helmfile-part
Jun 10, 2023
Merged

Stop failing on single helmfile part missing specified env#885
yxxhero merged 2 commits into
mainfrom
fix-missing-env-error-on-helmfile-part

Conversation

@mumoshu

@mumoshu mumoshu commented Jun 5, 2023

Copy link
Copy Markdown
Contributor

This fixes helmfile to not fail in cases like #807 (comment).
I consider this a bug in our validation logic that it was too strict!

The first commit f9f4972 is there for making it easy to update the test snapshots.

Ref #807

@mumoshu mumoshu force-pushed the fix-missing-env-error-on-helmfile-part branch from c25e59a to 3182a99 Compare June 5, 2023 23:55
@mumoshu

mumoshu commented Jun 5, 2023

Copy link
Copy Markdown
Contributor Author

Please hold on! This resulted in a run like helmfile -e invalid template actually no longer failing.

@yxxhero yxxhero marked this pull request as draft June 6, 2023 00:18
@mumoshu mumoshu force-pushed the fix-missing-env-error-on-helmfile-part branch from 3182a99 to 7740446 Compare June 7, 2023 23:05
@yxxhero yxxhero force-pushed the fix-missing-env-error-on-helmfile-part branch from 7740446 to 918acae Compare June 7, 2023 23:58
@mumoshu mumoshu force-pushed the fix-missing-env-error-on-helmfile-part branch from 918acae to 6f4e0f9 Compare June 8, 2023 21:52
@mumoshu mumoshu force-pushed the fix-missing-env-error-on-helmfile-part branch from 44d09b9 to f9f4972 Compare June 8, 2023 23:05
@yxxhero yxxhero marked this pull request as ready for review June 8, 2023 23:21
@yxxhero

yxxhero commented Jun 9, 2023

Copy link
Copy Markdown
Member

is ready for reviewing? @mumoshu

@mumoshu

mumoshu commented Jun 9, 2023

Copy link
Copy Markdown
Contributor Author

@yxxhero Yeah! I'd love your review ☺️

@yxxhero

yxxhero commented Jun 9, 2023

Copy link
Copy Markdown
Member

@mumoshu ok. please review my PR: databus23/helm-diff#469

Comment thread pkg/state/create.go
@yxxhero yxxhero merged commit 1f1c817 into main Jun 10, 2023
@yxxhero yxxhero deleted the fix-missing-env-error-on-helmfile-part branch June 10, 2023 10:49
@github-actions github-actions Bot locked as resolved and limited conversation to collaborators Jun 12, 2023
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants