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

Explicitly sets helm resource policy to keep #473

Closed
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion charts/nextcloud/Chart.yaml
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
apiVersion: v2
name: nextcloud
version: 4.5.6
version: 4.5.7
appVersion: 27.1.4
description: A file sharing server that puts the control and security of your own data back into your hands.
keywords:
Expand Down
1 change: 1 addition & 0 deletions charts/nextcloud/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -254,6 +254,7 @@ Is there a missing parameter for one of the Bitnami helm charts listed above? Pl

The [Nextcloud](https://hub.docker.com/_/nextcloud/) image stores the nextcloud data and configurations at the `/var/www/html` paths of the container.
Persistent Volume Claims are used to keep the data across deployments. This is known to work with GKE, EKS, K3s, and minikube.
If the helm chart is uninstalled, nextcloud and it's sub-charts will *not* delete their PVCs. They will need to be manually deleted if desired.


| Parameter | Description | Default |
Expand Down
1 change: 1 addition & 0 deletions charts/nextcloud/templates/nextcloud-data-pvc.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -12,6 +12,7 @@ metadata:
app.kubernetes.io/component: app
{{- if .Values.persistence.nextcloudData.annotations }}
annotations:
helm.sh/resource-policy: keep
{{ toYaml .Values.persistence.nextcloudData.annotations | indent 4 }}
{{- end }}
spec:
Expand Down
1 change: 1 addition & 0 deletions charts/nextcloud/templates/nextcloud-pvc.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -12,6 +12,7 @@ metadata:
app.kubernetes.io/component: app
{{- if .Values.persistence.annotations }}
annotations:
helm.sh/resource-policy: keep
{{ toYaml .Values.persistence.annotations | indent 4 }}
{{- end }}
spec:
Expand Down