Skip to content

Conversation

@RegentOfOrigin
Copy link
Contributor

The current chart asserts that only a single init container is needed for rclone. This can be adapted for most purposes so long as the specified image contains an entrypoint at /init/init.sh and is meant to be run as an initContainer and not a sidecar container (https://kubernetes.io/docs/concepts/workloads/pods/init-containers/#api-for-sidecar-containers).

There are useful tools that operate on plex's metadata files, bundles, or database that would be best run as sidecar containers (see above), which are functionally init containers with restart policies.

This pull request adds support for additional init containers through an "extraInitContainers" argument that is semantically identical to the existing extraContainers argument.

@RegentOfOrigin RegentOfOrigin requested a review from a team March 2, 2025 21:45
Copy link
Member

@cilindrox cilindrox left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

LGTM - thanks @RegentOfOrigin

@cilindrox cilindrox requested a review from MarshallAsch March 3, 2025 14:51
@cilindrox
Copy link
Member

cc @MarshallAsch for a quick spot check

@cilindrox cilindrox self-assigned this Mar 3, 2025
Copy link
Member

@MarshallAsch MarshallAsch left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

needs a minor version bump of the chart version and its good. (we can do that tho after merging)

@cilindrox cilindrox added the chart: minor Minor version bump label Mar 3, 2025
@cilindrox cilindrox merged commit 717d4e1 into plexinc:master Mar 3, 2025
0 of 2 checks passed
@cilindrox
Copy link
Member

thanks @RegentOfOrigin

@RegentOfOrigin
Copy link
Contributor Author

Awesome, thank you so much!

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

chart: minor Minor version bump enhancement

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants