Skip to content

Commit

Permalink
Adds labels/annotations to inventory section of Kptfile
Browse files Browse the repository at this point in the history
  • Loading branch information
seans3 committed Oct 14, 2020
1 parent 0ccdcde commit f2d7129
Showing 1 changed file with 3 additions and 1 deletion.
4 changes: 3 additions & 1 deletion pkg/kptfile/pkgfile.go
Original file line number Diff line number Diff line change
Expand Up @@ -61,7 +61,9 @@ type Inventory struct {
Namespace string `yaml:"namespace,omitempty"`
Name string `yaml:"name,omitempty"`
// Unique label to identify inventory object in cluster.
InventoryID string `yaml:"inventoryID,omitempty"`
InventoryID string `yaml:"inventoryID,omitempty"`
Labels map[string]string `yaml:"labels,omitempty"`
Annotations map[string]string `yaml:"annotations,omitempty"`
}

type Functions struct {
Expand Down

0 comments on commit f2d7129

Please sign in to comment.