Skip to content

Commit

Permalink
fix hive tests
Browse files Browse the repository at this point in the history
  • Loading branch information
maltesander committed May 24, 2024
1 parent 9d5b214 commit 690d64c
Show file tree
Hide file tree
Showing 3 changed files with 30 additions and 6 deletions.
12 changes: 10 additions & 2 deletions examples/simple-trino-cluster-hive-ha-s3.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -47,8 +47,7 @@ spec:
clusterConfig:
database:
connString: jdbc:postgresql://hive-postgresql:5432/hive
user: hive
password: hive
credentialsSecret: postgres-credentials
dbType: postgres
s3:
reference: minio
Expand All @@ -57,6 +56,15 @@ spec:
default:
replicas: 2
---
apiVersion: v1
kind: Secret
metadata:
name: postgres-credentials
type: Opaque
stringData:
username: hive
password: hive

Check failure on line 66 in examples/simple-trino-cluster-hive-ha-s3.yaml

View workflow job for this annotation

GitHub Actions / yamllint

[yamllint] examples/simple-trino-cluster-hive-ha-s3.yaml#L66

[error] trailing spaces (trailing-spaces)
Raw output
./examples/simple-trino-cluster-hive-ha-s3.yaml:66:17: [error] trailing spaces (trailing-spaces)
---
apiVersion: s3.stackable.tech/v1alpha1
kind: S3Connection
metadata:
Expand Down
12 changes: 10 additions & 2 deletions tests/templates/kuttl/opa-authorization/03-install-hive.yaml.j2
Original file line number Diff line number Diff line change
Expand Up @@ -10,8 +10,7 @@ spec:
clusterConfig:
database:
connString: jdbc:postgresql://postgresql:5432/hive
user: hive
password: hive
credentialsSecret: postgres-credentials
dbType: postgres
s3:
reference: minio
Expand All @@ -25,3 +24,12 @@ spec:
roleGroups:
default:
replicas: 1
---
apiVersion: v1
kind: Secret
metadata:
name: postgres-credentials
type: Opaque
stringData:
username: hive
password: hive
12 changes: 10 additions & 2 deletions tests/templates/kuttl/smoke/08-install-hive.yaml.j2
Original file line number Diff line number Diff line change
Expand Up @@ -10,8 +10,7 @@ spec:
clusterConfig:
database:
connString: jdbc:postgresql://postgresql:5432/hive
user: hive
password: hive
credentialsSecret: postgres-credentials
dbType: postgres
hdfs:
configMap: hdfs
Expand All @@ -27,3 +26,12 @@ spec:
roleGroups:
default:
replicas: 2
---
apiVersion: v1
kind: Secret
metadata:
name: postgres-credentials
type: Opaque
stringData:
username: hive
password: hive

0 comments on commit 690d64c

Please sign in to comment.