diff options
author | Staffan Olsson <staffan@repos.se> | 2017-10-25 13:17:17 +0200 |
---|---|---|
committer | Staffan Olsson <staffan@repos.se> | 2017-11-09 13:48:51 +0100 |
commit | dbf77898c4e6c1617fa7b8ec28347072ec86ec0f (patch) | |
tree | 6ddc05d8786b88269fb8760b3ce0d9d0f75dd089 /test/basic-with-kafkacat.yml | |
parent | 03b4233a3d5753e4ba97e54cab3545171380a2e1 (diff) | |
download | kubernetes-kafka-dbf77898c4e6c1617fa7b8ec28347072ec86ec0f.tar.gz kubernetes-kafka-dbf77898c4e6c1617fa7b8ec28347072ec86ec0f.tar.bz2 kubernetes-kafka-dbf77898c4e6c1617fa7b8ec28347072ec86ec0f.zip |
TODO I guess labels must be unique for each test now?
Diffstat (limited to 'test/basic-with-kafkacat.yml')
-rw-r--r-- | test/basic-with-kafkacat.yml | 8 |
1 files 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 |