struggles trying to switch helmRelease persistent storage #4803
Unanswered
dallinbeutler
asked this question in
Q&A
Replies: 1 comment 2 replies
-
update: also tried version postRenderers:
# Instruct helm-controller to use built-in "kustomize" post renderer.
- kustomize:
# Array of inline strategic merge patch definitions as YAML object.
# Note, this is a YAML object and not a string, to avoid syntax
# indention errors.
patches:
- target:
kind: PersistentVolumeClaim
version: v1
name: nats
patch: |-
- op: add
path: "/storageClassName"
value: default-storage
- target:
kind: PersistentVolumeClaim
version: v1
name: nats
patch: |-
- op: add
path: "/volumeName"
value: nats |
Beta Was this translation helpful? Give feedback.
2 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
-
I'm using flux provisioned through eksctl.
I can't seem to get HelmRelease to to provision PVCs based on my existing PVs that are in EBS specified in their own yamls:
The patch doesn't seem to apply anything.
I tried a fuzzy regex of
.*nats.*
on themetadata.name
patch instead of label but that didn't work either. am I missing something?I used advice in #2744 for reference
All I really want is to spin up a cluster using the volumes I already dynamically created/modified last time i spun up flux. Is there an easier way perhaps?
Really appreciate the help, I've been banging my head on this!
Beta Was this translation helpful? Give feedback.
All reactions