From 91f8515e7f7b40f5875566c18e1750edceb590f1 Mon Sep 17 00:00:00 2001 From: pieter Date: Thu, 5 Feb 2026 07:13:08 +0000 Subject: [PATCH] =?UTF-8?q?template/backup-pvc.yaml=20=E3=82=92=E5=89=8A?= =?UTF-8?q?=E9=99=A4?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- template/backup-pvc.yaml | 26 -------------------------- 1 file changed, 26 deletions(-) delete mode 100644 template/backup-pvc.yaml diff --git a/template/backup-pvc.yaml b/template/backup-pvc.yaml deleted file mode 100644 index cbe0c8c..0000000 --- a/template/backup-pvc.yaml +++ /dev/null @@ -1,26 +0,0 @@ -{{- if and .Values.backup.enabled (not .Values.backup.nfs.enabled) (not .Values.backup.existingClaim) }} -apiVersion: v1 -kind: PersistentVolumeClaim -metadata: - name: {{ include "phpmyadmin-nginx.fullname" . }}-backup - labels: - {{- include "phpmyadmin-nginx.labels" . | nindent 4 }} - app.kubernetes.io/component: backup - {{- with .Values.backup.persistence.annotations }} - annotations: - {{- toYaml . | nindent 4 }} - {{- end }} -spec: - accessModes: - - {{ .Values.backup.persistence.accessMode }} - resources: - requests: - storage: {{ .Values.backup.persistence.size }} - {{- if .Values.backup.persistence.storageClass }} - {{- if (eq "-" .Values.backup.persistence.storageClass) }} - storageClassName: "" - {{- else }} - storageClassName: {{ .Values.backup.persistence.storageClass }} - {{- end }} - {{- end }} -{{- end }} \ No newline at end of file