Skip to content

fix(cronjob): change sidecar to cronstable for nonroot compatible (#733)#871

Open
antoinetran wants to merge 1 commit into
nextcloud:mainfrom
antoinetran:feature/issue733-cronsidecar-nonroot
Open

fix(cronjob): change sidecar to cronstable for nonroot compatible (#733)#871
antoinetran wants to merge 1 commit into
nextcloud:mainfrom
antoinetran:feature/issue733-cronsidecar-nonroot

Conversation

@antoinetran

Copy link
Copy Markdown
Contributor

Description of the change

In shared Kubernetes environment which disable root containers, the cron as sidecar cannot work because cron implementation from alpine requires root. This change will replace to cronstable which is docker compliant and does not need root to work.

Benefits

Can work in restricted Kubernetes environment:

  • with non root policy
  • without PV as readwrite many, so impossible to use cronjob as Kubernetes cronjob

Possible drawbacks

Adds another image, but small footprint (~40MiB for alpine flavor)

Applicable issues

Additional information

Checklist

…xtcloud#733)

Signed-off-by: antoinetran <antoinetran@users.noreply.github.com>
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

Successfully merging this pull request may close these issues.

nextcloud-cron does not work in OpenShift

1 participant