Skip to content

Commit

Permalink
Enable or disable PVC functionality (#1299)
Browse files Browse the repository at this point in the history
* Enable or disable PVC functionality

* Add new property to values.yaml

* Rename variable
  • Loading branch information
Tansito authored Apr 29, 2024
1 parent 184aeb1 commit f296b0a
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 1 deletion.
2 changes: 2 additions & 0 deletions charts/quantum-serverless/templates/pvcs.yaml
Original file line number Diff line number Diff line change
@@ -1,3 +1,4 @@
{{ if eq .Values.createPvc true }}
{{ if eq .Values.platform "kind" }}
apiVersion: v1
kind: PersistentVolumeClaim
Expand Down Expand Up @@ -60,3 +61,4 @@ spec:
requests:
storage: 1Gi
{{ end }}
{{ end }}
2 changes: 1 addition & 1 deletion charts/quantum-serverless/values.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -131,9 +131,9 @@ postgresql:
# PVC
# ===================

createPvc: true
storageClassName: manual
claimName: gateway-claim

cos:
bucket: BUCKETNAME-CHANGEME
endpoint: ENDPOINT-CHANGEME
Expand Down

0 comments on commit f296b0a

Please sign in to comment.