Skip to content

Commit

Permalink
Add exchange manager PVC for testing.
Browse files Browse the repository at this point in the history
  • Loading branch information
yardenc2003 committed Sep 19, 2024
1 parent a9d303d commit a3209c1
Show file tree
Hide file tree
Showing 2 changed files with 26 additions and 0 deletions.
16 changes: 16 additions & 0 deletions charts/trino/templates/tests/exchange-manager-pvc.yaml
Original file line number Diff line number Diff line change
@@ -0,0 +1,16 @@
apiVersion: v1
kind: PersistentVolumeClaim
metadata:
name: test-exchange-manager-pvc
labels:
{{- include "trino.labels" . | nindent 4 }}
app.kubernetes.io/component: test
test: exchange
annotations:
"helm.sh/hook": test
spec:
accessModes:
- ReadWriteOnce
resources:
requests:
storage: 128Mi
10 changes: 10 additions & 0 deletions test-exchange-manager-values.yaml
Original file line number Diff line number Diff line change
@@ -1,6 +1,16 @@
# Exchange Manager values to test.
# This is a YAML-formatted file.

worker:
additionalVolumes:
- name: exchange-volume
persistentVolumeClaim:
claimName: test-exchange-manager-pvc

additionalVolumeMounts:
- name: exchange-volume
mountPath: "/tmp/trino-local-file-system-exchange-manager"

server:
exchangeManager:
name: "filesystem"
Expand Down

0 comments on commit a3209c1

Please sign in to comment.