From 067633fff1c82fc26668321be50fa1741d48a962 Mon Sep 17 00:00:00 2001 From: aesoft <43991222+aeppling@users.noreply.github.com> Date: Mon, 30 Sep 2024 09:35:56 +0200 Subject: [PATCH] fix: storage class to standard --- README.md | 1 + charts/kexa-chart/templates/kexa-rules-pv.yaml | 2 +- charts/kexa-chart/templates/kexa-rules-pvc.yaml | 2 +- charts/kexa-chart/values.yaml | 2 ++ 4 files changed, 5 insertions(+), 2 deletions(-) diff --git a/README.md b/README.md index 569aa7a..f290792 100644 --- a/README.md +++ b/README.md @@ -147,6 +147,7 @@ namespace: kexa hostConfigPath: /mnt/host/c/your/path/to/tmpconfig hostConfigFolder: tmpconfig uselocalRules: false +rulesPvcStorageClass: standard # kubernetes addon kubernetesAddon: diff --git a/charts/kexa-chart/templates/kexa-rules-pv.yaml b/charts/kexa-chart/templates/kexa-rules-pv.yaml index d018b21..5a0d724 100644 --- a/charts/kexa-chart/templates/kexa-rules-pv.yaml +++ b/charts/kexa-chart/templates/kexa-rules-pv.yaml @@ -11,6 +11,6 @@ spec: - ReadWriteOnce hostPath: path: {{ .Values.hostConfigPath }} - storageClassName: {{ .Values.appname }}-rules-storage-class + storageClassName: {{ .Values.rulesPvcStorageClass }} persistentVolumeReclaimPolicy: Delete {{- end }} diff --git a/charts/kexa-chart/templates/kexa-rules-pvc.yaml b/charts/kexa-chart/templates/kexa-rules-pvc.yaml index 2663fbb..6d66384 100644 --- a/charts/kexa-chart/templates/kexa-rules-pvc.yaml +++ b/charts/kexa-chart/templates/kexa-rules-pvc.yaml @@ -9,4 +9,4 @@ spec: resources: requests: storage: 1Gi - storageClassName: {{ .Values.appname }}-rules-storage-class \ No newline at end of file + storageClassName: {{ .Values.rulesPvcStorageClass }} \ No newline at end of file diff --git a/charts/kexa-chart/values.yaml b/charts/kexa-chart/values.yaml index f851517..4fd46b6 100644 --- a/charts/kexa-chart/values.yaml +++ b/charts/kexa-chart/values.yaml @@ -4,6 +4,8 @@ namespace: kexa hostConfigPath: /mnt/host/c/your/path/to/tmpconfig hostConfigFolder: tmpconfig uselocalRules: false +rulesPvcStorageClass: standard + kubernetesAddon: enabled: true mountPath: kubernetesconfigurations