-
Notifications
You must be signed in to change notification settings - Fork 850
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
Support helm3 in make install
#360
Conversation
Codecov Report
@@ Coverage Diff @@
## master #360 +/- ##
=======================================
Coverage 61.00% 61.00%
=======================================
Files 56 56
Lines 3347 3347
=======================================
Hits 2042 2042
Misses 1145 1145
Partials 160 160 Continue to review full report at Codecov.
|
@@ -98,7 +100,7 @@ run: generate fmt vet manifests | |||
# Install CRDs into a cluster | |||
install: manifests | |||
kubectl apply -f manifests/crd.yaml | |||
helm install helm/chaos-mesh --name=chaos-mesh --namespace=chaos-testing | |||
bash -c '[[ `helm version --client --short` == "Client: v2"* ]] && helm install helm/chaos-mesh --name=chaos-mesh --namespace=chaos-testing || helm install chaos-mesh helm/chaos-mesh --namespace=chaos-testing;' |
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 see you have defined HELM_INSTALL
, why don't you use it at here?
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.
Cleaned up. I was trying different way for conditional script in Makefile.
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.
LGTM
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.
LGTM
/merge |
Your auto merge job has been accepted, waiting for 369 |
/run-all-tests |
What problem does this PR solve?
Errors running
make install
when helm version 3 is installedWhat is changed and how does it work?
Add support for helm 3
Check List
Tests
make install
Does this PR introduce a user-facing change?: