Skip to content
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

why privileged: true #24

Open
trondhindenes opened this issue Dec 22, 2023 · 1 comment
Open

why privileged: true #24

trondhindenes opened this issue Dec 22, 2023 · 1 comment
Assignees

Comments

@trondhindenes
Copy link

I'm noticing that the statefulset runs with privileged: true without explaining the reasoning for it, or allowing users to set it to false. I would expect that to be documented if it's a hard requirement for Octopus to work

@MJRichardson MJRichardson self-assigned this Jan 10, 2024
@MJRichardson
Copy link
Contributor

@trondhindenes priviledged: true is to allow docker-in-docker, for running execution containers on the built-in worker.

It can be disabled by setting enabledDockerInDocker to false, e.g.

octopus:
  enableDockerInDocker: false

Perhaps this should be false by default?

We're working on some changes to make it much easier to run Octopus tasks on a k8s cluster. Once these are done, I think we may disable the built-in worker for self-hosted k8s installations.

There is a comment in the values file. Do you think there is a better place to document this?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants