diff options
author | Staffan Olsson <staffan@repos.se> | 2017-11-16 13:03:27 +0100 |
---|---|---|
committer | Staffan Olsson <staffan@repos.se> | 2017-11-16 13:03:30 +0100 |
commit | 45bba2c6ca9d49a79986732877f861b6fbd97208 (patch) | |
tree | ccfaf70ac875d3752a216180bfe5cd8e702f44e6 | |
parent | a19c2c22b74ddd2830908ccc66475c29a7496669 (diff) | |
download | kubernetes-kafka-45bba2c6ca9d49a79986732877f861b6fbd97208.tar.gz kubernetes-kafka-45bba2c6ca9d49a79986732877f861b6fbd97208.tar.bz2 kubernetes-kafka-45bba2c6ca9d49a79986732877f861b6fbd97208.zip |
Adapts topic naming rules to kafka-topic-client warning
WARNING: Due to limitations in metric names, topics with a period ('.') or underscore ('_') could collide. To avoid issues it is best to use either, but not both.
-rw-r--r-- | operator-draft/topic.yml | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/operator-draft/topic.yml b/operator-draft/topic.yml index 981e5df..6787f22 100644 --- a/operator-draft/topic.yml +++ b/operator-draft/topic.yml @@ -19,7 +19,7 @@ spec: properties: name: type: string - pattern: '^([a-z0-9_]+|[a-z0-9-]+)$' + pattern: '^([a-z0-9_]+|[a-z0-9\.-]+)$' partitions: type: integer minimum: 1 |