Skip to content

Commit 3decd23

Browse files
committed
do not apply znodes in kraftmode
1 parent 1ed9489 commit 3decd23

2 files changed

Lines changed: 4 additions & 0 deletions

File tree

tests/templates/kuttl/kerberos/20-install-kafka.yaml.j2

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -4,6 +4,7 @@ kind: TestStep
44
commands:
55
- script: |
66
kubectl apply -n $NAMESPACE -f - <<EOF
7+
{% if test_scenario['values']['zookeeper-latest'] != 'false' %}
78
---
89
apiVersion: zookeeper.stackable.tech/v1alpha1
910
kind: ZookeeperZnode
@@ -12,6 +13,7 @@ commands:
1213
spec:
1314
clusterRef:
1415
name: test-zk
16+
{% endif %}
1517
---
1618
apiVersion: authentication.stackable.tech/v1alpha1
1719
kind: AuthenticationClass

tests/templates/kuttl/tls/20-install-kafka.yaml.j2

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,4 @@
1+
{% if test_scenario['values']['zookeeper-latest'] == 'false' %}
12
---
23
apiVersion: zookeeper.stackable.tech/v1alpha1
34
kind: ZookeeperZnode
@@ -6,6 +7,7 @@ metadata:
67
spec:
78
clusterRef:
89
name: test-zk
10+
{% endif %}
911
{% if test_scenario['values']['use-client-auth-tls'] == 'true' %}
1012
---
1113
apiVersion: authentication.stackable.tech/v1alpha1

0 commit comments

Comments
 (0)