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

Add annotations in helm chart #204

Merged
merged 2 commits into from
Feb 9, 2020
Merged

Conversation

yeya24
Copy link
Contributor

@yeya24 yeya24 commented Feb 8, 2020

Signed-off-by: yeya24 [email protected]

What problem does this PR solve?

Fixes #200

What is changed and how does it work?

Check List

Tests

  • Unit test
  • E2E test
  • Manual test (add detailed scripts or steps below)
  • No code

Code changes

  • Has Go code change
  • Has CI related scripts change
  • Has Terraform scripts change

Side effects

  • Breaking backward compatibility

Related changes

  • Need to update the documentation

Does this PR introduce a user-facing change?:

NONE

@Yisaer
Copy link
Contributor

Yisaer commented Feb 8, 2020

Thanks for contributing. I think the job for pre-install and post-delete in helm chart templates may also need to expose the pod annotation configuration. The rest LGTM. @yeya24

Copy link
Contributor

@zhouqiang-cl zhouqiang-cl left a comment

Choose a reason for hiding this comment

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

Thank you for your contribution 😝

@zhouqiang-cl
Copy link
Contributor

/ok-to-test

@codecov-io
Copy link

codecov-io commented Feb 8, 2020

Codecov Report

Merging #204 into master will not change coverage.
The diff coverage is n/a.

Impacted file tree graph

@@           Coverage Diff           @@
##           master     #204   +/-   ##
=======================================
  Coverage   43.64%   43.64%           
=======================================
  Files          18       18           
  Lines         685      685           
=======================================
  Hits          299      299           
  Misses        353      353           
  Partials       33       33

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 38a9c60...b26ac91. Read the comment docs.

@yeya24
Copy link
Contributor Author

yeya24 commented Feb 8, 2020

Thanks for contributing. I think the job for pre-install and post-delete in helm chart templates may also need to expose the pod annotation configuration. The rest LGTM. @yeya24

Thanks for your review, do you mean that I need to add a new section in helm values.yaml to expose the annotations for the jobs? So what else fields I need to add in this section?

@Yisaer
Copy link
Contributor

Yisaer commented Feb 8, 2020

Thanks for contributing. I think the job for pre-install and post-delete in helm chart templates may also need to expose the pod annotation configuration. The rest LGTM. @yeya24

Thanks for your review, do you mean that I need to add a new section in helm values.yaml to expose the annotations for the jobs? So what else fields I need to add in this section?

Yes, we need to ensure the pod created by the job won't be injected sidecar with Istio. That's why we also need to annotate both two jobs. @yeya24

helm/chaos-mesh/values.yaml Outdated Show resolved Hide resolved
Yisaer
Yisaer previously approved these changes Feb 8, 2020
Copy link
Contributor

@Yisaer Yisaer left a comment

Choose a reason for hiding this comment

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

LGTM

@Yisaer Yisaer requested a review from zhouqiang-cl February 8, 2020 07:57
@zhouqiang-cl
Copy link
Contributor

@yeya24 have you test it, LGTM

Signed-off-by: yeya24 <[email protected]>

seperate pre-jobs and post-jobs

Signed-off-by: yeya24 <[email protected]>
Copy link
Contributor

@zhouqiang-cl zhouqiang-cl left a comment

Choose a reason for hiding this comment

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

@yeya24 has already test @Yisaer PTAL

@Yisaer Yisaer merged commit c3a1d7c into chaos-mesh:master Feb 9, 2020
@yeya24 yeya24 deleted the add-annotation branch February 9, 2020 15:05
sjwsl pushed a commit to sjwsl/chaos-mesh that referenced this pull request May 6, 2021
Signed-off-by: yeya24 <[email protected]>

add annotations in helm chart

Co-authored-by: zhouqiang <[email protected]>
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.

Expose annotation setting in helm chart
4 participants