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

fix the template of inception and goinception #710

Merged
merged 2 commits into from
Apr 16, 2020
Merged

Conversation

lxkaka
Copy link
Contributor

@lxkaka lxkaka commented Apr 15, 2020

  • inception 和 goinception 的 template 有点问题,因为 values 里没有定义 volumeMounts 会导致生成的 deployment 里其实没有把 configMap 挂载到 pod, 这样 configMap 就没法使用了
  • 现在修复的方式是修改 with 使用的变量,并且动态匹配 volume 的 name

@codecov
Copy link

codecov bot commented Apr 15, 2020

Codecov Report

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

Impacted file tree graph

@@           Coverage Diff           @@
##           master     #710   +/-   ##
=======================================
  Coverage   81.14%   81.14%           
=======================================
  Files          78       78           
  Lines       10532    10532           
=======================================
  Hits         8546     8546           
  Misses       1986     1986           

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 7e4f2ce...7215108. Read the comment docs.

@LeoQuote
Copy link
Collaborator

唉,我好像审之前关于chart的pr的时候没仔细审,这个volume和volumemount麻烦都挪到templates里面吧,放在values里面给用户定义完全没意义。

@lxkaka
Copy link
Contributor Author

lxkaka commented Apr 16, 2020

都放到 templates 也可以

@LeoQuote LeoQuote self-requested a review April 16, 2020 04:13
Copy link
Collaborator

@LeoQuote LeoQuote left a comment

Choose a reason for hiding this comment

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

LGTM

@LeoQuote LeoQuote added enhancement New feature or request ease of use labels Apr 16, 2020
@LeoQuote LeoQuote merged commit 9a04c0b into hhyo:master Apr 16, 2020
@LeoQuote
Copy link
Collaborator

你测试没问题吧, 我直接合了

@lxkaka
Copy link
Contributor Author

lxkaka commented Apr 16, 2020

没问题的

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
ease of use enhancement New feature or request
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants