Skip to content

Commit 88a882e

Browse files
committed
fix(stack/trino-superset-s3): Deploy TrinoCatalogs before TrinoCluster
1 parent 74c53ee commit 88a882e

1 file changed

Lines changed: 16 additions & 14 deletions

File tree

stacks/trino-superset-s3/trino.yaml

Lines changed: 16 additions & 14 deletions
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,19 @@
1+
# For now, on K8s 1.35, TrinoCatalogs need to be deployed before the TrinoCluster
2+
# See: https://github.com/stackabletech/trino-operator/issues/854
3+
---
4+
apiVersion: trino.stackable.tech/v1alpha1
5+
kind: TrinoCatalog
6+
metadata:
7+
name: hive
8+
labels:
9+
trino: trino
10+
spec:
11+
connector:
12+
hive:
13+
metastore:
14+
configMap: hive
15+
s3:
16+
reference: minio
117
---
218
apiVersion: trino.stackable.tech/v1alpha1
319
kind: TrinoCluster
@@ -53,20 +69,6 @@ type: kubernetes.io/opaque
5369
stringData:
5470
admin: "{{ trinoAdminPassword }}"
5571
---
56-
apiVersion: trino.stackable.tech/v1alpha1
57-
kind: TrinoCatalog
58-
metadata:
59-
name: hive
60-
labels:
61-
trino: trino
62-
spec:
63-
connector:
64-
hive:
65-
metastore:
66-
configMap: hive
67-
s3:
68-
reference: minio
69-
---
7072
apiVersion: opa.stackable.tech/v1alpha1
7173
kind: OpaCluster
7274
metadata:

0 commit comments

Comments
 (0)