Skip to content

Commit

Permalink
Merge pull request #575 from accorvin/workspace-volume
Browse files Browse the repository at this point in the history
Add pvc for tables list
  • Loading branch information
accorvin authored Dec 5, 2023
2 parents 49ca6c5 + 780f852 commit 3ba0f7a
Show file tree
Hide file tree
Showing 3 changed files with 16 additions and 0 deletions.
1 change: 1 addition & 0 deletions trino-partition-updater/base/kustomization.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -10,6 +10,7 @@ resources:
- trino-partition-updater-cronjob.yaml
- trino-partition-updater-serviceaccount.yaml
- trino-partition-updater-eventlistener-rolebinding.yaml
- tables-list-pvc.yaml

generators:
- secrets/secret-generator.yaml
12 changes: 12 additions & 0 deletions trino-partition-updater/base/tables-list-pvc.yaml
Original file line number Diff line number Diff line change
@@ -0,0 +1,12 @@
apiVersion: v1
kind: PersistentVolumeClaim
metadata:
name: tables-list-pvs
spec:
accessModes:
- ReadWriteOnce
resources:
requests:
storage: 1Gi
limits:
storage: 1Gi
Original file line number Diff line number Diff line change
Expand Up @@ -5,6 +5,7 @@ metadata:
spec:
workspaces:
- name: tables-list

tasks:
- name: get-all-partitioned-tables
taskRef:
Expand All @@ -17,3 +18,5 @@ spec:
name: update-partition-metadata
workspaces:
- name: tables-list
persistentVolumeClaim:
claimName: tables-list-pvc

0 comments on commit 3ba0f7a

Please sign in to comment.