Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

helm chart postgres #45

Open
alexisdondon opened this issue Sep 24, 2023 · 0 comments
Open

helm chart postgres #45

alexisdondon opened this issue Sep 24, 2023 · 0 comments

Comments

@alexisdondon
Copy link
Contributor

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

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

No branches or pull requests

1 participant