|
1 | 1 | --- |
2 | | -apiVersion: trino.stackable.tech/v1alpha1 |
3 | | -kind: TrinoCluster |
4 | | -metadata: |
5 | | - name: trino |
6 | | -spec: |
7 | | - image: |
8 | | -{% if test_scenario['values']['trino'].find(",") > 0 %} |
9 | | - custom: "{{ test_scenario['values']['trino'].split(',')[1] }}" |
10 | | - productVersion: "{{ test_scenario['values']['trino'].split(',')[0] }}" |
11 | | -{% else %} |
12 | | - productVersion: "{{ test_scenario['values']['trino'] }}" |
13 | | -{% endif %} |
14 | | - pullPolicy: IfNotPresent |
15 | | - clusterConfig: |
16 | | - catalogLabelSelector: |
17 | | - matchLabels: |
18 | | - trino: trino |
19 | | - authentication: |
20 | | - - authenticationClass: trino-users-auth |
21 | | - authorization: |
22 | | - opa: |
23 | | - configMapName: opa |
24 | | - package: trino |
25 | | -{% if lookup('env', 'VECTOR_AGGREGATOR') %} |
26 | | - vectorAggregatorConfigMapName: vector-aggregator-discovery |
27 | | -{% endif %} |
28 | | - coordinators: |
29 | | - config: |
30 | | - logging: |
31 | | - enableVectorAgent: {{ lookup('env', 'VECTOR_AGGREGATOR') | length > 0 }} |
32 | | - roleGroups: |
33 | | - default: |
34 | | - replicas: 1 |
35 | | - config: {} |
36 | | - workers: |
37 | | - config: |
38 | | - gracefulShutdownTimeout: 10s # Let the test run faster |
39 | | - logging: |
40 | | - enableVectorAgent: {{ lookup('env', 'VECTOR_AGGREGATOR') | length > 0 }} |
41 | | - roleGroups: |
42 | | - default: |
43 | | - replicas: 1 |
44 | | - config: {} |
45 | | ---- |
46 | 2 | apiVersion: authentication.stackable.tech/v1alpha1 |
47 | 3 | kind: AuthenticationClass |
48 | 4 | metadata: |
@@ -108,3 +64,47 @@ spec: |
108 | 64 | configMap: hive # It's fine to reuse the existing HMS for tests. Not recommended for production though, there a dedicated HMS should be used. |
109 | 65 | s3: |
110 | 66 | reference: minio |
| 67 | +--- |
| 68 | +apiVersion: trino.stackable.tech/v1alpha1 |
| 69 | +kind: TrinoCluster |
| 70 | +metadata: |
| 71 | + name: trino |
| 72 | +spec: |
| 73 | + image: |
| 74 | +{% if test_scenario['values']['trino'].find(",") > 0 %} |
| 75 | + custom: "{{ test_scenario['values']['trino'].split(',')[1] }}" |
| 76 | + productVersion: "{{ test_scenario['values']['trino'].split(',')[0] }}" |
| 77 | +{% else %} |
| 78 | + productVersion: "{{ test_scenario['values']['trino'] }}" |
| 79 | +{% endif %} |
| 80 | + pullPolicy: IfNotPresent |
| 81 | + clusterConfig: |
| 82 | + catalogLabelSelector: |
| 83 | + matchLabels: |
| 84 | + trino: trino |
| 85 | + authentication: |
| 86 | + - authenticationClass: trino-users-auth |
| 87 | + authorization: |
| 88 | + opa: |
| 89 | + configMapName: opa |
| 90 | + package: trino |
| 91 | +{% if lookup('env', 'VECTOR_AGGREGATOR') %} |
| 92 | + vectorAggregatorConfigMapName: vector-aggregator-discovery |
| 93 | +{% endif %} |
| 94 | + coordinators: |
| 95 | + config: |
| 96 | + logging: |
| 97 | + enableVectorAgent: {{ lookup('env', 'VECTOR_AGGREGATOR') | length > 0 }} |
| 98 | + roleGroups: |
| 99 | + default: |
| 100 | + replicas: 1 |
| 101 | + config: {} |
| 102 | + workers: |
| 103 | + config: |
| 104 | + gracefulShutdownTimeout: 10s # Let the test run faster |
| 105 | + logging: |
| 106 | + enableVectorAgent: {{ lookup('env', 'VECTOR_AGGREGATOR') | length > 0 }} |
| 107 | + roleGroups: |
| 108 | + default: |
| 109 | + replicas: 1 |
| 110 | + config: {} |
0 commit comments