From dbf77898c4e6c1617fa7b8ec28347072ec86ec0f Mon Sep 17 00:00:00 2001 From: Staffan Olsson Date: Wed, 25 Oct 2017 13:17:17 +0200 Subject: TODO I guess labels must be unique for each test now? --- test/basic-with-kafkacat.yml | 8 ++++++-- 1 file changed, 6 insertions(+), 2 deletions(-) diff --git a/test/basic-with-kafkacat.yml b/test/basic-with-kafkacat.yml index c9af0fc..e72cfbc 100644 --- a/test/basic-with-kafkacat.yml +++ b/test/basic-with-kafkacat.yml @@ -85,7 +85,7 @@ spec: - "2" restartPolicy: Never --- -apiVersion: apps/v1beta1 +apiVersion: apps/v1beta2 kind: Deployment metadata: name: test-basic-with-kafkacat @@ -94,10 +94,14 @@ spec: replicas: 1 strategy: type: Recreate + selector: + matchLabels: + test-target: kafka + test-type: readiness template: metadata: labels: - test-target: kube-test + test-target: kafka test-type: readiness # for example: # readonly - can be used in production -- cgit v1.2.3