Skip to content

Commit a8edc94

Browse files
committed
tests: remove zookeeper-latest: false
1 parent 133853f commit a8edc94

11 files changed

Lines changed: 0 additions & 147 deletions

File tree

tests/templates/kuttl/cluster-operation/20-assert.yaml.j2

Lines changed: 0 additions & 10 deletions
Original file line numberDiff line numberDiff line change
@@ -12,13 +12,3 @@ metadata:
1212
status:
1313
readyReplicas: 1
1414
replicas: 1
15-
{% if test_scenario['values']['zookeeper-latest'] == 'false' %}
16-
---
17-
apiVersion: apps/v1
18-
kind: StatefulSet
19-
metadata:
20-
name: test-kafka-controller-default
21-
status:
22-
readyReplicas: 1
23-
replicas: 1
24-
{% endif %}

tests/templates/kuttl/cluster-operation/30-assert.yaml.j2

Lines changed: 0 additions & 9 deletions
Original file line numberDiff line numberDiff line change
@@ -11,12 +11,3 @@ metadata:
1111
name: test-kafka-broker-default
1212
status:
1313
replicas: 0
14-
{% if test_scenario['values']['zookeeper-latest'] == 'false' %}
15-
---
16-
apiVersion: apps/v1
17-
kind: StatefulSet
18-
metadata:
19-
name: test-kafka-controller-default
20-
status:
21-
replicas: 0
22-
{% endif %}

tests/templates/kuttl/cluster-operation/40-assert.yaml.j2

Lines changed: 0 additions & 9 deletions
Original file line numberDiff line numberDiff line change
@@ -11,12 +11,3 @@ metadata:
1111
name: test-kafka-broker-default
1212
status:
1313
replicas: 0
14-
{% if test_scenario['values']['zookeeper-latest'] == 'false' %}
15-
---
16-
apiVersion: apps/v1
17-
kind: StatefulSet
18-
metadata:
19-
name: test-kafka-controller-default
20-
status:
21-
replicas: 0
22-
{% endif %}

tests/templates/kuttl/cluster-operation/50-assert.yaml.j2

Lines changed: 0 additions & 10 deletions
Original file line numberDiff line numberDiff line change
@@ -12,13 +12,3 @@ metadata:
1212
status:
1313
readyReplicas: 1
1414
replicas: 1
15-
{% if test_scenario['values']['zookeeper-latest'] == 'false' %}
16-
---
17-
apiVersion: apps/v1
18-
kind: StatefulSet
19-
metadata:
20-
name: test-kafka-controller-default
21-
status:
22-
readyReplicas: 1
23-
replicas: 1
24-
{% endif %}

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

Lines changed: 0 additions & 33 deletions
Original file line numberDiff line numberDiff line change
@@ -5,39 +5,6 @@ timeout: 300
55
---
66
apiVersion: apps/v1
77
kind: StatefulSet
8-
metadata:
9-
name: test-kafka-controller-default
10-
spec:
11-
template:
12-
spec:
13-
containers:
14-
- name: kafka
15-
resources:
16-
limits:
17-
# value set in the role configuration
18-
cpu: 500m
19-
# value set in the rolegroup configuration
20-
memory: 2Gi
21-
requests:
22-
# default value set by the operator
23-
cpu: 250m
24-
# value set in the rolegroup configuration
25-
memory: 2Gi
26-
{% if lookup('env', 'VECTOR_AGGREGATOR') %}
27-
- name: vector
28-
{% endif %}
29-
volumeClaimTemplates:
30-
- metadata:
31-
name: log-dirs
32-
spec:
33-
resources:
34-
requests:
35-
# value set in the role configuration and overridden in
36-
# the rolegroup configuration
37-
storage: 1Gi
38-
---
39-
apiVersion: apps/v1
40-
kind: StatefulSet
418
metadata:
429
name: test-kafka-broker-default
4310
spec:

tests/templates/kuttl/delete-rolegroup/02-assert.yaml.j2

Lines changed: 0 additions & 18 deletions
Original file line numberDiff line numberDiff line change
@@ -18,21 +18,3 @@ metadata:
1818
status:
1919
readyReplicas: 1
2020
replicas: 1
21-
{% if test_scenario['values']['zookeeper-latest'] == 'false' %}
22-
---
23-
apiVersion: apps/v1
24-
kind: StatefulSet
25-
metadata:
26-
name: test-kafka-controller-default
27-
status:
28-
readyReplicas: 2
29-
replicas: 2
30-
---
31-
apiVersion: apps/v1
32-
kind: StatefulSet
33-
metadata:
34-
name: test-kafka-controller-secondary
35-
status:
36-
readyReplicas: 1
37-
replicas: 1
38-
{% endif %}

tests/templates/kuttl/delete-rolegroup/03-assert.yaml.j2

Lines changed: 0 additions & 10 deletions
Original file line numberDiff line numberDiff line change
@@ -10,13 +10,3 @@ metadata:
1010
status:
1111
readyReplicas: 1
1212
replicas: 1
13-
{% if test_scenario['values']['zookeeper-latest'] == 'false' %}
14-
---
15-
apiVersion: apps/v1
16-
kind: StatefulSet
17-
metadata:
18-
name: test-kafka-controller-default
19-
status:
20-
readyReplicas: 2
21-
replicas: 2
22-
{% endif %}

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

Lines changed: 0 additions & 10 deletions
Original file line numberDiff line numberDiff line change
@@ -10,13 +10,3 @@ metadata:
1010
status:
1111
readyReplicas: 3
1212
replicas: 3
13-
{% if test_scenario['values']['zookeeper-latest'] == 'false' %}
14-
---
15-
apiVersion: apps/v1
16-
kind: StatefulSet
17-
metadata:
18-
name: test-kafka-controller-default
19-
status:
20-
readyReplicas: 3
21-
replicas: 3
22-
{% endif %}

tests/templates/kuttl/logging/kafka-vector-aggregator-values.yaml.j2

Lines changed: 0 additions & 26 deletions
Original file line numberDiff line numberDiff line change
@@ -48,32 +48,6 @@ customConfig:
4848
condition: >-
4949
.pod == "test-kafka-broker-custom-log-config-0" &&
5050
.container == "vector"
51-
{% if test_scenario['values']['zookeeper-latest'] == 'false' %}
52-
filteredAutomaticLogConfigControllerKafka:
53-
type: filter
54-
inputs: [validEvents]
55-
condition: >-
56-
.pod == "test-kafka-controller-automatic-log-config-0" &&
57-
.container == "kafka"
58-
filteredAutomaticLogConfigControllerVector:
59-
type: filter
60-
inputs: [validEvents]
61-
condition: >-
62-
.pod == "test-kafka-controller-automatic-log-config-0" &&
63-
.container == "vector"
64-
filteredCustomLogConfigControllerKafka:
65-
type: filter
66-
inputs: [validEvents]
67-
condition: >-
68-
.pod == "test-kafka-controller-custom-log-config-0" &&
69-
.container == "kafka"
70-
filteredCustomLogConfigControllerVector:
71-
type: filter
72-
inputs: [validEvents]
73-
condition: >-
74-
.pod == "test-kafka-controller-custom-log-config-0" &&
75-
.container == "vector"
76-
{% endif %}
7751
filteredInvalidEvents:
7852
type: filter
7953
inputs: [vector]

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

Lines changed: 0 additions & 10 deletions
Original file line numberDiff line numberDiff line change
@@ -10,13 +10,3 @@ metadata:
1010
status:
1111
readyReplicas: 3
1212
replicas: 3
13-
{% if test_scenario['values']['zookeeper-latest'] == 'false' %}
14-
---
15-
apiVersion: apps/v1
16-
kind: StatefulSet
17-
metadata:
18-
name: test-kafka-controller-default
19-
status:
20-
readyReplicas: 3
21-
replicas: 3
22-
{% endif %}

0 commit comments

Comments
 (0)