-
Notifications
You must be signed in to change notification settings - Fork 65
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: Use -f with yaml of helm patch #1026
Conversation
Signed-off-by: Mykola Morhun <mmorhun@redhat.com>
@cccs-eric do you have any concerns/suggestions? |
|
||
let command = `helm upgrade --install che --force --namespace ${flags.chenamespace} ${setOptions.join(' ')} ${multiUserFlag} ${tlsFlag} ${destDir}` | ||
let command = `helm upgrade --install che --force --namespace ${flags.chenamespace} ${setOptions.join(' ')} ${multiUserFlag} ${tlsFlag} ${patchFlags} ${destDir}` |
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.
should patchFlags
be at the very end ?
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.
Usage:
helm upgrade [RELEASE] [CHART] [flags]
flags
can be set at the end, or before (like chectl
is doing). Both will work. In this case ${destDir}
is the CHART
parameter. If you want to follow helm's documented usage, you will need to shuffle more than that parameter.
@mmorhun
So when you say
it is not true since the |
At least we should be clear in flags descriptions. |
Signed-off-by: Mykola Morhun <mmorhun@redhat.com>
[APPROVALNOTIFIER] This PR is NOT APPROVED This pull-request has been approved by: AndrienkoAleksandr, mmorhun, tolusha The full list of commands accepted by this bot can be found here.
Needs approval from an approver in each of these files:
Approvers can indicate their approval by writing |
/retest |
/test v5-chectl-e2e-olm-installer |
/retest |
Signed-off-by: Mykola Morhun mmorhun@redhat.com
What does this PR do?
Passes file provided by
--helm-patch-yaml
flag as avalues.yaml
parameter for Helm Chart.Provided command line arguments oc chectl take precedence over the patch values.
Screenshot/screencast of this PR
N/A
What issues does this PR fix or reference?
eclipse-che/che#18459
How to test this PR?
helm-patch.yaml
file with some corrections, for example:PR Checklist
As the author of this Pull Request I made sure that:
What issues does this PR fix or reference
andHow to test this PR
completedReviewers
Reviewers, please comment how you tested the PR when approving it.