From 76fd7657a7507c0e97ee6e2a805d075aeabaddf3 Mon Sep 17 00:00:00 2001 From: Philex Date: Tue, 29 Oct 2024 01:08:15 -0700 Subject: [PATCH] Use pvc variable to replace hardcode disk type --- charts/juno-node/Chart.yaml | 2 +- charts/juno-node/templates/juno-data-backup-cronjob.yaml | 4 ++-- 2 files changed, 3 insertions(+), 3 deletions(-) diff --git a/charts/juno-node/Chart.yaml b/charts/juno-node/Chart.yaml index 5bd506dc..c85ff4fa 100644 --- a/charts/juno-node/Chart.yaml +++ b/charts/juno-node/Chart.yaml @@ -1,6 +1,6 @@ apiVersion: v2 name: juno-chart -version: 0.1.6 +version: 0.1.7 appVersion: "1" description: A Helm chart for deploying Juno service maintainers: diff --git a/charts/juno-node/templates/juno-data-backup-cronjob.yaml b/charts/juno-node/templates/juno-data-backup-cronjob.yaml index 24afa5f4..3bae897b 100644 --- a/charts/juno-node/templates/juno-data-backup-cronjob.yaml +++ b/charts/juno-node/templates/juno-data-backup-cronjob.yaml @@ -67,7 +67,7 @@ data: kind: PersistentVolumeClaim accessModes: - ReadWriteOnce - storageClassName: premium-rwo + storageClassName: {{ $.Values.pvc.storageClassName }} resources: requests: storage: {{ .Values.backupJunoDataJob.storageSize }} @@ -80,7 +80,7 @@ data: spec: accessModes: - ReadWriteOnce - storageClassName: premium-rwo + storageClassName: {{ $.Values.pvc.storageClassName }} resources: requests: storage: {{ .Values.backupJunoDataJob.storageSize }}