Merged
fix(cube): init guest envd access token for ExecSync (#69) #288
fix(cube): init guest envd access token for ExecSync (#69) #288
Merged
zhoudong01Add on 7 hours ago
zhoudong01
zhoudong01
7 hours ago

Summary

  • After Cube create/resume, POST guest envd /init with an access token (annotation cube.dev/envd-access-token or generated).
  • Persist the token on CubePodState and send X-Access-Token on ExecSync so node-local processes cannot get an unauthenticated root shell on :49983.

Test plan

likedislike
Pull Request has been successfully merged by openeuler-ci-bot.
(Thank you for zhoudong01's contribution.)
zhoudong01zhoudong01
7 hours ago Created pull request, commit 6fe88329
openeuler-ci-botopeneuler-ci-botCollaborators
7 hours ago Set weibaohui,yangzhao_kl,jimmieme,duguhaotian,wonleing,zmr_2020,gaodaweiky,lu-wei-army,feijianqiang,zhaoyifan28 as approver
openeuler-ci-botopeneuler-ci-botCollaborators
7 hours ago Added label: sig/sig-CloudNative
openeuler-ci-bot
openeuler-ci-botCollaborators
7 hours ago Comments:

Welcome To openEuler Community

Hey @zhoudong01 , thanks for your contribution to the community.

Bot Usage Manual

I'm the Bot here serving you. You can find the instructions on how to interact with me at Here . That means you can comment below every pull request or issue to trigger Bot Commands. You can self-configure the PR merge rules for this repository. For more details, please refer to Here.

Contact Guide

If you have any questions, please contact the SIG: sig-CloudNative ,
and any of the maintainers: @duguhaotian, @feijianqiang, @gaodaweiky, @jimmieme, @lu-wei-army, @weibaohui, @wonleing, @yangzhao_kl, @zhaoyifan28, @zmr_2020 ,
and any of the committers: @feijianqiang, @fly_1997, @zhourenjianz .

likedislike
openeuler-ci-botopeneuler-ci-botCollaborators
7 hours ago Added label: openeuler-cla/yes
51 messages are collapsed here。 See more
openeuler-bot
openeuler-botCollaborators
33 minutes ago Comments:
likedislike
zhourenjian
zhourenjianCollaborators
28 minutes ago Comments:

/lgtm
/approve

likedislike
openeuler-ci-botopeneuler-ci-botCollaborators
28 minutes ago Added label: approvedlgtm
openeuler-ci-bot
openeuler-ci-botCollaborators
28 minutes ago Comments:

Review Code Feedback

  • The label lgtm, approved was added to this pull request. It means that zhourenjianz reviewed the code changes. 👋
Tips
  • If this pull request is not merged while all conditions are met, comment /check-pr to try again. 😄
likedislike
openeuler-ci-botopeneuler-ci-botCollaborators
28 minutes ago Merged pull request, merge node SHA: ad0370cafb45c278b6c10e883fde51094636c896