From e994bb80a6c255edcca56c48b32d7b91e68ddb82 Mon Sep 17 00:00:00 2001 From: Ole Markus With Date: Wed, 3 Jun 2020 08:11:43 +0200 Subject: [PATCH] Add Romana deprecation/removal notices to godoc --- k8s/crds/kops.k8s.io_clusters.yaml | 3 ++- pkg/apis/kops/networking.go | 1 + pkg/apis/kops/v1alpha2/networking.go | 1 + 3 files changed, 4 insertions(+), 1 deletion(-) diff --git a/k8s/crds/kops.k8s.io_clusters.yaml b/k8s/crds/kops.k8s.io_clusters.yaml index ba144e248e..1b23e11f9c 100644 --- a/k8s/crds/kops.k8s.io_clusters.yaml +++ b/k8s/crds/kops.k8s.io_clusters.yaml @@ -3202,7 +3202,8 @@ spec: type: object romana: description: RomanaNetworkingSpec declares that we want Romana - networking + networking Romana is deprecated as of kops 1.18 and removed + as of kops 1.19 properties: daemonServiceIP: description: DaemonServiceIP is the Kubernetes Service IP diff --git a/pkg/apis/kops/networking.go b/pkg/apis/kops/networking.go index 644feaba8f..4391259f77 100644 --- a/pkg/apis/kops/networking.go +++ b/pkg/apis/kops/networking.go @@ -181,6 +181,7 @@ type KuberouterNetworkingSpec struct { } // RomanaNetworkingSpec declares that we want Romana networking +// Romana is deprecated as of kops 1.18 and removed as of kops 1.19 type RomanaNetworkingSpec struct { // DaemonServiceIP is the Kubernetes Service IP for the romana-daemon pod DaemonServiceIP string `json:"daemonServiceIP,omitempty"` diff --git a/pkg/apis/kops/v1alpha2/networking.go b/pkg/apis/kops/v1alpha2/networking.go index 84bac3c0a2..dbab3bb1bd 100644 --- a/pkg/apis/kops/v1alpha2/networking.go +++ b/pkg/apis/kops/v1alpha2/networking.go @@ -181,6 +181,7 @@ type KuberouterNetworkingSpec struct { } // RomanaNetworkingSpec declares that we want Romana networking +// Romana is deprecated as of kops 1.18 and removed as of kops 1.19 type RomanaNetworkingSpec struct { // DaemonServiceIP is the Kubernetes Service IP for the romana-daemon pod DaemonServiceIP string `json:"daemonServiceIP,omitempty"`