You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
✨ allow labeling resources created during addon create and enable (#509)
* feat: allow labeling resources created during addon create and enable
Signed-off-by: Artur Shad Nik <[email protected]>
* refactor: label parser helper
Signed-off-by: Artur Shad Nik <[email protected]>
* test: add labels to addon lifecycle e2e suite
Signed-off-by: Artur Shad Nik <[email protected]>
* fix: use version in template name
Signed-off-by: Artur Shad Nik <[email protected]>
---------
Signed-off-by: Artur Shad Nik <[email protected]>
cmd.Flags().BoolVar(&o.EnableHubRegistration, "hub-registration", false, "Enable the agent to register to the hub cluster")
52
52
cmd.Flags().StringVar(&o.ClusterRoleBindingRef, "cluster-role-bind", "", "The rolebinding to the clusterrole in "+
53
53
"the cluster namespace for the addon agent")
54
+
cmd.Flags().StringSliceVar(&o.Labels, "labels", []string{}, "Labels to add to the ClusterManagementAddOn and AddOnTemplate resources (eg. key1=value1,key2=value2)")
0 commit comments