Skip to content

helm chart postgres #45

Open
Open
@alexisdondon

Description

@alexisdondon

What about adding two fields handle by bitnami:

persistentVolumeClaimRetentionPolicy:
whenDeleted: {{ .Values.primary.persistentVolumeClaimRetentionPolicy.whenDeleted }}

If Delete then he delete the pvc if Retain he kept it the user should then decide the behaviour?

and the other field:

{{- if and .Values.primary.persistence.enabled .Values.primary.persistence.existingClaim }}
- name: data
persistentVolumeClaim:
claimName: {{ tpl .Values.primary.persistence.existingClaim $ }}

if user put an existingClaim it could restart on a previous existing one.

It's not full user experence but add some behaviour

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions