Skip to content

Commit 7d00d74

Browse files
committed
Enable or disable PVC functionality (#1299)
* Enable or disable PVC functionality * Add new property to values.yaml * Rename variable
1 parent d3f54e2 commit 7d00d74

File tree

2 files changed

+3
-1
lines changed

2 files changed

+3
-1
lines changed

charts/quantum-serverless/templates/pvcs.yaml

+2
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,4 @@
1+
{{ if eq .Values.createPvc true }}
12
{{ if eq .Values.platform "kind" }}
23
apiVersion: v1
34
kind: PersistentVolumeClaim
@@ -60,3 +61,4 @@ spec:
6061
requests:
6162
storage: 1Gi
6263
{{ end }}
64+
{{ end }}

charts/quantum-serverless/values.yaml

+1-1
Original file line numberDiff line numberDiff line change
@@ -131,9 +131,9 @@ postgresql:
131131
# PVC
132132
# ===================
133133

134+
createPvc: true
134135
storageClassName: manual
135136
claimName: gateway-claim
136-
137137
cos:
138138
bucket: BUCKETNAME-CHANGEME
139139
endpoint: ENDPOINT-CHANGEME

0 commit comments

Comments
 (0)