Skip to content

Commit c1ffd0d

Browse files
Extend assertions in the DruidConnection test
1 parent 3f21a54 commit c1ffd0d

File tree

8 files changed

+56
-20
lines changed

8 files changed

+56
-20
lines changed

Cargo.lock

Lines changed: 3 additions & 3 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

Cargo.nix

Lines changed: 10 additions & 10 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

Cargo.toml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -27,4 +27,4 @@ tokio = { version = "1.40", features = ["full"] }
2727
tracing = "0.1"
2828

2929
[patch."https://github.com/stackabletech/operator-rs.git"]
30-
stackable-operator = { git = "https://github.com/stackabletech//operator-rs.git", branch = "fix/SUP-148" }
30+
stackable-operator = { git = "https://github.com/stackabletech//operator-rs.git", branch = "fix/SUP-148" }

crate-hashes.json

Lines changed: 3 additions & 3 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

tests/templates/kuttl/druid-connection/20-assert.yaml

Lines changed: 20 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -8,7 +8,26 @@ timeout: 300
88
apiVersion: apps/v1
99
kind: StatefulSet
1010
metadata:
11-
name: superset-node-default
11+
name: test-superset-node-default
1212
status:
1313
readyReplicas: 1
1414
replicas: 1
15+
---
16+
apiVersion: v1
17+
kind: ServiceAccount
18+
metadata:
19+
name: test-superset-serviceaccount
20+
---
21+
apiVersion: rbac.authorization.k8s.io/v1
22+
kind: RoleBinding
23+
metadata:
24+
name: test-superset-rolebinding
25+
roleRef:
26+
apiGroup: rbac.authorization.k8s.io
27+
kind: ClusterRole
28+
name: superset-clusterrole
29+
subjects:
30+
- kind: ServiceAccount
31+
name: test-superset-serviceaccount
32+
- kind: ServiceAccount
33+
name: superset-serviceaccount

tests/templates/kuttl/druid-connection/20-install-superset.yaml.j2

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -22,7 +22,7 @@ stringData:
2222
apiVersion: superset.stackable.tech/v1alpha1
2323
kind: SupersetCluster
2424
metadata:
25-
name: superset
25+
name: test-superset
2626
spec:
2727
image:
2828
productVersion: "{{ test_scenario['values']['superset'] }}"

tests/templates/kuttl/druid-connection/30-assert.yaml

Lines changed: 17 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -11,3 +11,20 @@ metadata:
1111
name: superset-druid-connection
1212
status:
1313
condition: Pending
14+
---
15+
apiVersion: v1
16+
kind: ServiceAccount
17+
metadata:
18+
name: superset-sa
19+
---
20+
apiVersion: rbac.authorization.k8s.io/v1
21+
kind: RoleBinding
22+
metadata:
23+
name: superset-rolebinding
24+
roleRef:
25+
apiGroup: rbac.authorization.k8s.io
26+
kind: ClusterRole
27+
name: superset-clusterrole
28+
subjects:
29+
- kind: ServiceAccount
30+
name: superset-sa

tests/templates/kuttl/druid-connection/30-install-druid-connection.yaml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -11,6 +11,6 @@ metadata:
1111
name: superset-druid-connection
1212
spec:
1313
superset:
14-
name: superset
14+
name: test-superset
1515
druid:
1616
name: derby-druid

0 commit comments

Comments
 (0)