SSH not working due missing security capability in CRI-O environment #176

Merged
volker.raschek merged 1 commits from master into master 2021-07-01 15:02:57 +00:00
volker.raschek commented 2021-06-12 14:34:30 +00:00 (Migrated from gitea.com)

This patch add the SYS_CHROOT capability if the securityContext is
undefined. Otherwise the SSH Server does not work correctly as described
in the issue #161.

Fixes: #161

This patch add the SYS_CHROOT capability if the securityContext is undefined. Otherwise the SSH Server does not work correctly as described in the issue #161. Fixes: #161
justusbunsi commented 2021-06-17 05:22:47 +00:00 (Migrated from gitea.com)
WIP as per https://gitea.com/gitea/helm-chart/issues/161#issuecomment-440630
justusbunsi commented 2021-06-17 20:04:59 +00:00 (Migrated from gitea.com)

(in values.yaml)

 # only usable with rootless image due to image design
securityContext:.... 

Is SYS_CHROOTnecessary for both image variants? If so, could you pleass extend this comment so that users don't get confused?

Maybe something like ...except for clusters using cri-o where SYS_CHROOT needs to be set. ?

(in values.yaml) ``` # only usable with rootless image due to image design securityContext:.... ``` Is `SYS_CHROOT`necessary for both image variants? If so, could you pleass extend this comment so that users don't get confused? Maybe something like `...except for clusters using cri-o where SYS_CHROOT needs to be set`. ?
justusbunsi commented 2021-06-29 20:49:59 +00:00 (Migrated from gitea.com)

@volker.raschek Please update your branch to the latest master and have a look at that comment.

@volker.raschek Please update your branch to the latest master and have a look at [that comment](https://gitea.com/gitea/helm-chart/issues/176#issuecomment-440777).
techknowlogick (Migrated from gitea.com) approved these changes 2021-06-30 17:52:21 +00:00
justusbunsi (Migrated from gitea.com) approved these changes 2021-06-30 18:11:03 +00:00
justusbunsi (Migrated from gitea.com) left a comment

LGTM. Thanks for your effort.

LGTM. Thanks for your effort.
luhahn (Migrated from gitea.com) approved these changes 2021-07-01 13:29:12 +00:00
Sign in to join this conversation.
No description provided.