Skip to content

Commit 6958b58

Browse files
committed
TODO I guess labels must be unique for each test now?
1 parent d6422b2 commit 6958b58

File tree

1 file changed

+6
-2
lines changed

1 file changed

+6
-2
lines changed

test/basic-with-kafkacat.yml

Lines changed: 6 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -85,7 +85,7 @@ spec:
8585
- "1"
8686
restartPolicy: Never
8787
---
88-
apiVersion: apps/v1beta1
88+
apiVersion: apps/v1beta2
8989
kind: Deployment
9090
metadata:
9191
name: test-basic-with-kafkacat
@@ -94,10 +94,14 @@ spec:
9494
replicas: 1
9595
strategy:
9696
type: Recreate
97+
selector:
98+
matchLabels:
99+
test-target: kafka
100+
test-type: readiness
97101
template:
98102
metadata:
99103
labels:
100-
test-target: kube-test
104+
test-target: kafka
101105
test-type: readiness
102106
# for example:
103107
# readonly - can be used in production

0 commit comments

Comments
 (0)