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

Support helm3 in make install #360

Merged
merged 3 commits into from
Mar 23, 2020
Merged

Support helm3 in make install #360

merged 3 commits into from
Mar 23, 2020

Conversation

yujunz
Copy link
Contributor

@yujunz yujunz commented Mar 22, 2020

What problem does this PR solve?

Errors running make install when helm version 3 is installed

What is changed and how does it work?

Add support for helm 3

Check List

Tests

  • Manual test

make install

Does this PR introduce a user-facing change?:

NONE

@codecov-io
Copy link

codecov-io commented Mar 22, 2020

Codecov Report

Merging #360 into master will not change coverage by %.
The diff coverage is n/a.

Impacted file tree graph

@@           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.

Legend - Click here to learn more
Δ = absolute <relative> (impact), ø = not affected, ? = missing data
Powered by Codecov. Last update f2712fa...512ec03. Read the comment docs.

@@ -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;'
Copy link
Member

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?

Copy link
Contributor Author

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.

Copy link
Member

@cwen0 cwen0 left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

LGTM

Copy link
Member

@YangKeao YangKeao left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

LGTM

@YangKeao
Copy link
Member

/merge

@sre-bot
Copy link
Contributor

sre-bot commented Mar 23, 2020

Your auto merge job has been accepted, waiting for 369

@sre-bot
Copy link
Contributor

sre-bot commented Mar 23, 2020

/run-all-tests

@sre-bot sre-bot merged commit e419815 into chaos-mesh:master Mar 23, 2020
@yujunz yujunz deleted the helm3 branch March 23, 2020 09:04
vincent178 pushed a commit to vincent178/chaos-mesh that referenced this pull request Mar 23, 2020
sjwsl pushed a commit to sjwsl/chaos-mesh that referenced this pull request May 6, 2021
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.

5 participants