Skip to content

This issue was moved to a discussion.

You can continue the conversation there. Go to discussion →

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

[NEW RUNNER] - Invalid value: true: Privileged containers are not allowed #133

Closed
roshvinkunnummal opened this issue Sep 21, 2022 · 1 comment
Labels
enhancement New feature or request new-runners New deployment of runners

Comments

@roshvinkunnummal
Copy link

Is your feature request related to a problem? Please describe

i tried runner deployment with https://github.com/some-natalie/kubernoodles/blob/main/deployments/ghes/rootless-ubuntu-focal.yml and getting below error

2022-09-21T15:44:16Z ERROR actions-runner-controller.runner Failed to create pod resource {"runner": "actions-runner-system/rootless-ubuntu-focal-mbc22-vgbds", "error": "pods "rootless-ubuntu-focal-mbc22-vgbds" is forbidden: PodSecurityPolicy: unable to admit pod: [spec.containers[0].securityContext.privileged: Invalid value: true: Privileged containers are not allowed]"}
github.com/actions-runner-controller/actions-runner-controller/controllers.(*RunnerReconciler).Reconcile

is there any way to run DiD without privileged mode . or any other image / solution

@roshvinkunnummal roshvinkunnummal added enhancement New feature or request new-runners New deployment of runners labels Sep 21, 2022
@some-natalie
Copy link
Owner

is there any way to run DiD without privileged mode

No. D-in-D requires privileged mode. This pull request has a great discussion on the differences needed and security provided by rootless versus privileged containers.

Hope that helps!

Repository owner locked and limited conversation to collaborators Sep 21, 2022
@some-natalie some-natalie converted this issue into discussion #134 Sep 21, 2022

This issue was moved to a discussion.

You can continue the conversation there. Go to discussion →

Labels
enhancement New feature or request new-runners New deployment of runners
Projects
None yet
Development

No branches or pull requests

2 participants