Skip to content

Infisical is the open-source platform for securing secrets, certificates, access, and AI Agents.

harden backwards compatibility

x032205db0ddbf36b66
diff --git a/helm-charts/infisical-gateway/templates/pvc.yaml b/helm-charts/infisical-gateway/templates/pvc.yaml
index 4c781ac5ee..01beff8c55 100644
--- a/helm-charts/infisical-gateway/templates/pvc.yaml
+++ b/helm-charts/infisical-gateway/templates/pvc.yaml
@@ -1,4 +1,4 @@
-{{- if and .Values.persistence.enabled (not .Values.persistence.existingClaim) }}
+{{- if and .Values.gateway.enrollment.method .Values.persistence.enabled (not .Values.persistence.existingClaim) }}
apiVersion: v1
kind: PersistentVolumeClaim
metadata:
diff --git a/helm-charts/infisical-gateway/values.yaml b/helm-charts/infisical-gateway/values.yaml
index f70eae4481..a1f0c3b0be 100644
--- a/helm-charts/infisical-gateway/values.yaml
+++ b/helm-charts/infisical-gateway/values.yaml
@@ -49,9 +49,9 @@ gateway:
# Required when enrollment.method=token so credentials survive pod restarts.
# Optional when enrollment.method=aws since it re-authenticates via STS on every start.
persistence:
- enabled: false
+ enabled: true
storageClass: ""
- size: 50Gi
+ size: 5Gi
accessModes:
- ReadWriteOnce
existingClaim: ""