Skip to content
This repository has been archived by the owner on Jan 18, 2024. It is now read-only.

charts/timescaledb-single: allow to use existing pvc for persistent volumes #585

Open
wants to merge 1 commit into
base: main
Choose a base branch
from

Conversation

joschiwald
Copy link
Contributor

@joschiwald joschiwald commented Mar 4, 2023

What this PR does / why we need it

This PR will add the option to use existing persisitent volume claims for the persistent volumes. This is useful in environments where your admin already created the persistent volume for you and you are not allowed to use dynamic volume provisioning.

Which issue this PR fixes

Special notes for your reviewer

Tested with these values:

values.yaml
persistentVolumes:
  data:
    enabled: true
    existingClaim: data-pvc
  wal:
    enabled: true

  tablespaces:
    example1:
      existingClaim: example1-pvc
      subPath: "tse1"
    example2:
      annotations: {}
      accessModes:
        - ReadWriteOnce
      existingClaim: ""
      size: 5Gi
      subPath: ""
      storageClass: gp2

Checklist

@joschiwald joschiwald requested a review from a team as a code owner March 4, 2023 14:33
@joschiwald joschiwald force-pushed the persistence_existing_claim branch from 574915c to c082299 Compare March 11, 2023 16:47
@YarekTyshchenko
Copy link

This would be a useful feature, what is required to push this through?

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

Successfully merging this pull request may close these issues.

2 participants