-
Notifications
You must be signed in to change notification settings - Fork 805
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/daemonset psp #3350
Fix/daemonset psp #3350
Conversation
[REVIEW NOTIFICATION] This pull request has been approved by:
To complete the pull request process, please ask the reviewers in the list to review by filling The full list of commands accepted by this bot can be found here. Reviewer can indicate their review by submitting an approval review. |
Welcome @stephen-harris! |
Signed-off-by: Stephen Harris <stephen.harris1@kaluza.com>
Signed-off-by: Stephen Harris <stephen.harris1@kaluza.com>
Signed-off-by: Stephen Harris <stephen.harris1@kaluza.com>
e202294
to
bd68014
Compare
Welcome @stephen-harris ! Thanks for your contribution! |
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!
/cc @xlgao-zju @YangKeao |
@STRRL: GitHub didn't allow me to request PR reviews from the following users: xlgao-zju. Note that only chaos-mesh members and repo collaborators can review this PR, and authors cannot review their own PRs. In response to this:
Instructions for interacting with me using PR comments are available here. If you have questions or suggestions related to my behavior, please file an issue against the kubernetes/test-infra repository. |
@@ -88,15 +88,15 @@ spec: | |||
- IPC_LOCK | |||
{{- end }} | |||
allowedHostPaths: | |||
- pathPrefix: {{ .Values.chaosDaemon.socketPath }} | |||
- pathPrefix: {{ .Values.chaosDaemon.socketPath | dir }} |
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.
it would be better if we set allowedHostPaths
according to this block of code:
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.
Hi @stephen-harris , please take a look ❤️
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.
@xlgao-zju I've moved the logic to a helper and used it in both the daemonset and psp
Signed-off-by: YangKeao <yangkeao@chunibyo.icu> Co-authored-by: Ti Chi Robot <ti-community-prow-bot@tidb.io> Signed-off-by: Stephen Harris <stephen.harris1@kaluza.com>
…os-mesh#3359) * add a comment to the flag size of memory size in the dashboard Signed-off-by: FingerLeader <wanxfinger@gmail.com> * update CHANGELOG.md Signed-off-by: FingerLeader <wanxfinger@gmail.com> Signed-off-by: Stephen Harris <stephen.harris1@kaluza.com>
* update api Signed-off-by: xiang <xiang13225080@163.com> * generate byteman rule file for mysql Signed-off-by: xiang <xiang13225080@163.com> * minor fix Signed-off-by: xiang <xiang13225080@163.com> * add integration test Signed-off-by: xiang <xiang13225080@163.com> * fix ci Signed-off-by: xiang <xiang13225080@163.com> * address comment Signed-off-by: xiang <xiang13225080@163.com> * update comment Signed-off-by: xiang <xiang13225080@163.com> Co-authored-by: Zhou Zhiqiang <im@strrl.dev> Co-authored-by: Ti Chi Robot <ti-community-prow-bot@tidb.io> Signed-off-by: Stephen Harris <stephen.harris1@kaluza.com>
* chore: artifact hub annotations Signed-off-by: STRRL <im@strrl.dev> * chore: append changelog Signed-off-by: STRRL <im@strrl.dev> * chore: also append maintainers and license Signed-off-by: STRRL <im@strrl.dev> Co-authored-by: YangKeao <yangkeao@chunibyo.icu> Co-authored-by: Ti Chi Robot <ti-community-prow-bot@tidb.io> Signed-off-by: Stephen Harris <stephen.harris1@kaluza.com>
Signed-off-by: STRRL <im@strrl.dev> Co-authored-by: Yue Yang <g1enyy0ung@gmail.com> Signed-off-by: Stephen Harris <stephen.harris1@kaluza.com>
Signed-off-by: Yue Yang <g1enyy0ung@gmail.com> Signed-off-by: Stephen Harris <stephen.harris1@kaluza.com>
* removed global log from pkg/dashboard/store Signed-off-by: Daivik <daivikdave229@gmail.com> * Add logger to pkg/dashboard/store Signed-off-by: Daivik <daivikdave229@gmail.com> * chore: update changelog chaos-mesh#2880 Signed-off-by: Daivik <daivikdave229@gmail.com> Co-authored-by: STRRL <im@strrl.dev> Co-authored-by: Ti Chi Robot <ti-community-prow-bot@tidb.io> Signed-off-by: Stephen Harris <stephen.harris1@kaluza.com>
Signed-off-by: xianglingao <xianglingao@tencent.com> Signed-off-by: Stephen Harris <stephen.harris1@kaluza.com>
* renamed all occurances of chaos testing to chaos-mesh Signed-off-by: kkulgawczuk <29754364+krystian-kulgawczuk@users.noreply.github.com> * added namespace refactore to changed section Signed-off-by: kkulgawczuk <29754364+krystian-kulgawczuk@users.noreply.github.com> * rename namespace in hidden directories Signed-off-by: kkulgawczuk <29754364+krystian-kulgawczuk@users.noreply.github.com> * chore: update snap file Signed-off-by: STRRL <im@strrl.dev> Co-authored-by: STRRL <im@strrl.dev> Signed-off-by: Stephen Harris <stephen.harris1@kaluza.com>
* remove not used globalCacheReader Signed-off-by: nio <nioshield@gmail.com> * remove not used globalCacheReader Signed-off-by: nio <nioshield@gmail.com> * fix changlog error Signed-off-by: nio <nioshield@gmail.com> Co-authored-by: Ti Chi Robot <ti-community-prow-bot@tidb.io> Signed-off-by: Stephen Harris <stephen.harris1@kaluza.com>
Signed-off-by: Stephen Harris <stephen.harris1@kaluza.com>
7b666a8
to
de1e494
Compare
@stephen-harris: PR needs rebase. Instructions for interacting with me using PR comments are available here. If you have questions or suggestions related to my behavior, please file an issue against the kubernetes/test-infra repository. |
Going to re-open this PR since I've messed up the branch |
What problem does this PR solve?
Close #3321
What's changed and how it works?
Relaxed the
allowedHostPaths
to allow the entire socket path directory to be mounted and to always allow/lib/modules
to be mounted, as these are required by the chaos-daemon daemonset.Related changes
chaos-mesh/website
Dashboard UI
Checklist
CHANGELOG
CHANGELOG.md
Tests
Side effects
Release note
DCO
If you find the DCO check fails, please run commands like below (Depends on the actual situations. For example, if the failed commit isn't the most recent) to fix it: