Skip to content

Commit ad761c7

Browse files
feat: allow cluster labels (#188)
1 parent c4e4393 commit ad761c7

File tree

2 files changed

+7
-6
lines changed

2 files changed

+7
-6
lines changed

pkg/config/cluster.go

Lines changed: 6 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -27,11 +27,12 @@ type ClusterConfig struct {
2727
// ClusterMeta contains (mostly immutable) metadata about the cluster. Inspired
2828
// by the meta fields in Kubernetes objects.
2929
type ClusterMeta struct {
30-
Name string `json:"name"`
31-
Region string `json:"region"`
32-
Environment string `json:"environment"`
33-
Shard int `json:"shard"`
34-
Description string `json:"description"`
30+
Name string `json:"name"`
31+
Region string `json:"region"`
32+
Environment string `json:"environment"`
33+
Shard int `json:"shard"`
34+
Description string `json:"description"`
35+
Labels map[string]string `json:"labels"`
3536
}
3637

3738
// ClusterSpec contains the details necessary to communicate with a kafka cluster.

pkg/version/version.go

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
11
package version
22

33
// Version is the current topicctl version.
4-
const Version = "1.15.0"
4+
const Version = "1.16.0"

0 commit comments

Comments
 (0)