concourse-chart icon indicating copy to clipboard operation
concourse-chart copied to clipboard

specify PersistentVolume selector in postgres.persistence

Open x3nb63 opened this issue 5 years ago • 2 comments

My cluster has a staticdisk StorageClass where the volumes do not get created by a provisioner.

I normally handle this by writing PersistentVolume and PersistentVolumeClaim specs manually, where the claim has a selector that finds the volume by label, like:

apiVersion: v1
kind: PersistentVolumeClaim
metadata:
  name: ci-data
  namespace: ci
...
spec:
  storageClassName: staticdisk
  selector:
    matchLabels:
      name: "ci-data"
...

This would work with your chart too, if I could add a selector to the claim that it generates. (the volume itself would remain my problem / outside the scope of the chart)

As far as I tried its not possible right now.

x3nb63 avatar Oct 15 '20 09:10 x3nb63

This appears fixed in https://github.com/concourse/concourse-chart/commit/b6bb57cb88692e9276a3c9298748551ad24cd03b and should be safe to close.

pipeworks-asmith avatar Sep 21 '21 00:09 pipeworks-asmith

i'll verify, just give me a week or more cause I read v7.5.0 should be taken with caution

x3nb63 avatar Sep 23 '21 08:09 x3nb63