From bc19db51b7518c701ea089d796a2e7b55089fb73 Mon Sep 17 00:00:00 2001 From: galal-hussein Date: Tue, 3 Apr 2018 20:55:27 +0200 Subject: [PATCH] Add labels and annotations to rke types --- apis/management.cattle.io/v3/rke_types.go | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/apis/management.cattle.io/v3/rke_types.go b/apis/management.cattle.io/v3/rke_types.go index e8daa3a1..7c0f5bec 100644 --- a/apis/management.cattle.io/v3/rke_types.go +++ b/apis/management.cattle.io/v3/rke_types.go @@ -264,6 +264,10 @@ type RKEConfigNodePlan struct { PortChecks []PortCheck `json:"portChecks,omitempty"` // List of files to deploy on the node Files []File `json:"files,omitempty"` + // Node Annotations + Annotations map[string]string `json:"annotations,omitempty"` + // Node Labels + Labels map[string]string `json:"labels,omitempty"` } type Process struct {