Skip to content

Commit 233ade3

Browse files
committed
Switches to ReplicaSet from Deployment, because configmap ...
resources as scripts void the Deployment behavior anyway. And besides, there's no need to manage these tests like production resources.
1 parent 6fd8fc0 commit 233ade3

File tree

2 files changed

+2
-6
lines changed

2 files changed

+2
-6
lines changed

test/kafkacat.yml

Lines changed: 1 addition & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -86,14 +86,12 @@ spec:
8686
restartPolicy: Never
8787
---
8888
apiVersion: apps/v1beta2
89-
kind: Deployment
89+
kind: ReplicaSet
9090
metadata:
9191
name: test-kafkacat
9292
namespace: test-kafka
9393
spec:
9494
replicas: 1
95-
strategy:
96-
type: Recreate
9795
selector:
9896
matchLabels:
9997
test-target: kafka-client-kafkacat

test/produce-consume.yml

Lines changed: 1 addition & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -71,14 +71,12 @@ spec:
7171
restartPolicy: Never
7272
---
7373
apiVersion: apps/v1beta2
74-
kind: Deployment
74+
kind: ReplicaSet
7575
metadata:
7676
name: produce-consume
7777
namespace: test-kafka
7878
spec:
7979
replicas: 1
80-
strategy:
81-
type: Recreate
8280
selector:
8381
matchLabels:
8482
test-target: kafka-client-console

0 commit comments

Comments
 (0)