Skip to content

Add PVC and volumeMounts for deployment#49

Merged
nepalez merged 2 commits intoimgproxy:v0.8.0from
phoenix-bjoern:feature/persistence
Sep 27, 2021
Merged

Add PVC and volumeMounts for deployment#49
nepalez merged 2 commits intoimgproxy:v0.8.0from
phoenix-bjoern:feature/persistence

Conversation

@phoenix-bjoern
Copy link
Contributor

This is a follow up on issue #2. The PR allows to serve files from localy attached volume (e.g. NFS shares or RWX).
The PR provides configurations for persistence. When enabled a PVC will be created. Also an existing PVC can be used instead. The PVC will get defined as a volume in the imgproxy deployment and the PV will be mounted at the specified mountPath.

It makes sense to configure IMGPROXY_LOCAL_FILESYSTEM_ROOT separately in the values.yaml:

features:
    security:
      allowedSources: "local://"
    custom:
      IMGPROXY_LOCAL_FILESYSTEM_ROOT: "/images"

@nepalez nepalez self-requested a review September 24, 2021 18:20
@nepalez nepalez self-assigned this Sep 24, 2021
@nepalez
Copy link
Contributor

nepalez commented Sep 24, 2021

@phoenix-bjoern Thank you! Will look at it on the weekend

@nepalez nepalez changed the base branch from master to v0.8.0 September 27, 2021 10:59
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.

2 participants