Skip to content

Commit c91ce20

Browse files
committed
fix tls tests
1 parent 3e49961 commit c91ce20

4 files changed

Lines changed: 4 additions & 4 deletions

File tree

tests/templates/kuttl/tls/10-assert.yaml.j2

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
{% if test_scenario['values']['use-kraft-controller'] == 'false' %}
1+
{% if test_scenario['values']['zookeeper-latest'] != 'false' %}
22
---
33
apiVersion: kuttl.dev/v1beta1
44
kind: TestAssert

tests/templates/kuttl/tls/10-install-zookeeper.yaml.j2

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
{% if test_scenario['values']['use-kraft-controller'] == 'false' %}
1+
{% if test_scenario['values']['zookeeper-latest'] != 'false' %}
22
---
33
apiVersion: zookeeper.stackable.tech/v1alpha1
44
kind: ZookeeperCluster

tests/templates/kuttl/tls/20-assert.yaml.j2

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -10,7 +10,7 @@ metadata:
1010
status:
1111
readyReplicas: 3
1212
replicas: 3
13-
{% if test_scenario['values']['use-kraft-controller'] == 'true' %}
13+
{% if test_scenario['values']['zookeeper-latest'] == 'false' %}
1414
---
1515
apiVersion: apps/v1
1616
kind: StatefulSet

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

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -58,7 +58,7 @@ spec:
5858
{% if lookup('env', 'VECTOR_AGGREGATOR') %}
5959
vectorAggregatorConfigMapName: vector-aggregator-discovery
6060
{% endif %}
61-
{% if test_scenario['values']['use-kraft-controller'] == 'false' %}
61+
{% if test_scenario['values']['zookeeper-latest'] != 'false' %}
6262
zookeeperConfigMapName: test-kafka-znode
6363
{% else %}
6464
controllers:

0 commit comments

Comments
 (0)