Skip to content

trait patch volumes位置不对 #3693

Answered by FogDong
achanceofsunshine asked this question in Q&A
Discussion options

You must be logged in to vote

Hi,我们默认的内置 storage trait 会将 storage patch 到 deployment 格式的资源中,你这边使用的是一个自定义资源,所以期望 patch 的地方会和你想象的不一致。
如果你希望 storage trait 可以 patch 到任意地方,可以在社区中提个 issue。

另外,我注意到你的 CR 叫 ComponentWork,里面主要做的工作是同时创建 deployment 和 service,实际上你使用 webservice 能做到同样的效果。

Replies: 1 comment 1 reply

Comment options

You must be logged in to vote
1 reply
@achanceofsunshine
Comment options

Answer selected by achanceofsunshine
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Q&A
Labels
None yet
2 participants