Skip to content

Commit b07c62d

Browse files
authored
Fix 24.7 demos (#67)
* end-2-end-security: fix krb5 version to 1.21.1 * nifi-kafka-druid-superset-s3 use db credentials secret * spark-trino-superset-s3: fix hive credentials * hive credentials fixes * linter
1 parent 5e572af commit b07c62d

File tree

7 files changed

+58
-20
lines changed

7 files changed

+58
-20
lines changed

stacks/data-lakehouse-iceberg-trino-spark/hive-metastores.yaml

Lines changed: 11 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -9,9 +9,8 @@ spec:
99
clusterConfig:
1010
database:
1111
connString: jdbc:postgresql://postgresql-hive:5432/hive
12-
user: hive
13-
password: hive
1412
dbType: postgres
13+
credentialsSecret: postgres-credentials
1514
s3:
1615
reference: minio
1716
metastore:
@@ -29,12 +28,20 @@ spec:
2928
clusterConfig:
3029
database:
3130
connString: jdbc:postgresql://postgresql-hive-iceberg:5432/hive
32-
user: hive
33-
password: hive
3431
dbType: postgres
32+
credentialsSecret: postgres-credentials
3533
s3:
3634
reference: minio
3735
metastore:
3836
roleGroups:
3937
default:
4038
replicas: 1
39+
---
40+
apiVersion: v1
41+
kind: Secret
42+
metadata:
43+
name: postgres-credentials
44+
type: Opaque
45+
stringData:
46+
username: hive
47+
password: hive

stacks/dual-hive-hdfs-s3/hive.yaml

Lines changed: 11 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -40,9 +40,8 @@ spec:
4040
clusterConfig:
4141
database:
4242
connString: jdbc:postgresql://hivehdfs-postgresql:5432/hivehdfs
43-
user: hive
44-
password: hive
4543
dbType: postgres
44+
credentialsSecret: postgres-credentials
4645
hdfs:
4746
configMap: hdfs
4847
metastore:
@@ -60,12 +59,20 @@ spec:
6059
clusterConfig:
6160
database:
6261
connString: jdbc:postgresql://hives3-postgresql:5432/hives3
63-
user: hive
64-
password: hive
6562
dbType: postgres
63+
credentialsSecret: postgres-credentials
6664
s3:
6765
reference: minio
6866
metastore:
6967
roleGroups:
7068
default:
7169
replicas: 1
70+
---
71+
apiVersion: v1
72+
kind: Secret
73+
metadata:
74+
name: postgres-credentials
75+
type: Opaque
76+
stringData:
77+
username: hive
78+
password: hive

stacks/end-to-end-security/krb5.yaml

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -14,7 +14,7 @@ spec:
1414
spec:
1515
initContainers:
1616
- name: init
17-
image: docker.stackable.tech/stackable/krb5:1.18.2-stackable24.7.0 # TODO: bump to 1.21.1?
17+
image: docker.stackable.tech/stackable/krb5:1.21.1-stackable24.7.0
1818
args:
1919
- sh
2020
- -euo
@@ -35,7 +35,7 @@ spec:
3535
name: data
3636
containers:
3737
- name: kdc
38-
image: docker.stackable.tech/stackable/krb5:1.18.2-stackable24.7.0 # TODO: bump to 1.21.1?
38+
image: docker.stackable.tech/stackable/krb5:1.21.1-stackable24.7.0
3939
args:
4040
- krb5kdc
4141
- -n
@@ -48,7 +48,7 @@ spec:
4848
- mountPath: /var/kerberos/krb5kdc
4949
name: data
5050
- name: kadmind
51-
image: docker.stackable.tech/stackable/krb5:1.18.2-stackable24.7.0 # TODO: bump to 1.21.1?
51+
image: docker.stackable.tech/stackable/krb5:1.21.1-stackable24.7.0
5252
args:
5353
- kadmind
5454
- -nofork
@@ -61,7 +61,7 @@ spec:
6161
- mountPath: /var/kerberos/krb5kdc
6262
name: data
6363
- name: client
64-
image: docker.stackable.tech/stackable/krb5:1.18.2-stackable24.7.0 # TODO: bump to 1.21.1?
64+
image: docker.stackable.tech/stackable/krb5:1.21.1-stackable24.7.0
6565
tty: true
6666
stdin: true
6767
env:

stacks/nifi-kafka-druid-superset-s3/druid.yaml

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -14,6 +14,7 @@ spec:
1414
connString: jdbc:postgresql://postgresql-druid/druid
1515
host: postgresql-druid
1616
port: 5432
17+
credentialsSecret: druid-db-credentials
1718
deepStorage:
1819
s3:
1920
bucket:

stacks/spark-trino-superset-s3/hive-metastore.yaml

Lines changed: 11 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -9,9 +9,8 @@ spec:
99
clusterConfig:
1010
database:
1111
connString: jdbc:postgresql://postgresql-hive:5432/hive
12-
user: hive
13-
password: hive
1412
dbType: postgres
13+
credentialsSecret: postgres-credentials
1514
s3:
1615
reference: minio
1716
metastore:
@@ -29,12 +28,20 @@ spec:
2928
clusterConfig:
3029
database:
3130
connString: jdbc:postgresql://postgresql-hive-iceberg:5432/hive
32-
user: hive
33-
password: hive
3431
dbType: postgres
32+
credentialsSecret: postgres-credentials
3533
s3:
3634
reference: minio
3735
metastore:
3836
roleGroups:
3937
default:
4038
replicas: 1
39+
---
40+
apiVersion: v1
41+
kind: Secret
42+
metadata:
43+
name: postgres-credentials
44+
type: Opaque
45+
stringData:
46+
username: hive
47+
password: hive

stacks/trino-iceberg/hive-metastores.yaml

Lines changed: 10 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -9,12 +9,20 @@ spec:
99
clusterConfig:
1010
database:
1111
connString: jdbc:postgresql://postgresql-hive-iceberg:5432/hive
12-
user: hive
13-
password: hive
1412
dbType: postgres
13+
credentialsSecret: postgres-credentials
1514
s3:
1615
reference: minio
1716
metastore:
1817
roleGroups:
1918
default:
2019
replicas: 1
20+
---
21+
apiVersion: v1
22+
kind: Secret
23+
metadata:
24+
name: postgres-credentials
25+
type: Opaque
26+
stringData:
27+
username: hive
28+
password: hive

stacks/trino-superset-s3/hive-metastore.yaml

Lines changed: 10 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -9,12 +9,20 @@ spec:
99
clusterConfig:
1010
database:
1111
connString: jdbc:postgresql://postgresql-hive:5432/hive
12-
user: hive
13-
password: hive
1412
dbType: postgres
13+
credentialsSecret: postgres-credentials
1514
s3:
1615
reference: minio
1716
metastore:
1817
roleGroups:
1918
default:
2019
replicas: 1
20+
---
21+
apiVersion: v1
22+
kind: Secret
23+
metadata:
24+
name: postgres-credentials
25+
type: Opaque
26+
stringData:
27+
username: hive
28+
password: hive

0 commit comments

Comments
 (0)