Skip to content

Commit

Permalink
feat: allow cluster labels (#188)
Browse files Browse the repository at this point in the history
  • Loading branch information
petedannemann authored Apr 5, 2024
1 parent c4e4393 commit ad761c7
Show file tree
Hide file tree
Showing 2 changed files with 7 additions and 6 deletions.
11 changes: 6 additions & 5 deletions pkg/config/cluster.go
Original file line number Diff line number Diff line change
Expand Up @@ -27,11 +27,12 @@ type ClusterConfig struct {
// ClusterMeta contains (mostly immutable) metadata about the cluster. Inspired
// by the meta fields in Kubernetes objects.
type ClusterMeta struct {
Name string `json:"name"`
Region string `json:"region"`
Environment string `json:"environment"`
Shard int `json:"shard"`
Description string `json:"description"`
Name string `json:"name"`
Region string `json:"region"`
Environment string `json:"environment"`
Shard int `json:"shard"`
Description string `json:"description"`
Labels map[string]string `json:"labels"`
}

// ClusterSpec contains the details necessary to communicate with a kafka cluster.
Expand Down
2 changes: 1 addition & 1 deletion pkg/version/version.go
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
package version

// Version is the current topicctl version.
const Version = "1.15.0"
const Version = "1.16.0"

0 comments on commit ad761c7

Please sign in to comment.