From ec444259641a7ce5fd0f706b8c471a1f8602d1cf Mon Sep 17 00:00:00 2001 From: "Dr. Stefan Schimanski" Date: Thu, 9 Nov 2017 12:32:08 +0100 Subject: [PATCH] kubeadm: fix deepcopy generation due to missing opt-in tag --- cmd/kubeadm/app/phases/etcd/spec/doc.go | 19 +++++++++++++++++++ hack/.golint_failures | 1 + 2 files changed, 20 insertions(+) create mode 100644 cmd/kubeadm/app/phases/etcd/spec/doc.go diff --git a/cmd/kubeadm/app/phases/etcd/spec/doc.go b/cmd/kubeadm/app/phases/etcd/spec/doc.go new file mode 100644 index 00000000000..a91c65d7dda --- /dev/null +++ b/cmd/kubeadm/app/phases/etcd/spec/doc.go @@ -0,0 +1,19 @@ +/* +Copyright 2017 The Kubernetes Authors. + +Licensed under the Apache License, Version 2.0 (the "License"); +you may not use this file except in compliance with the License. +You may obtain a copy of the License at + + http://www.apache.org/licenses/LICENSE-2.0 + +Unless required by applicable law or agreed to in writing, software +distributed under the License is distributed on an "AS IS" BASIS, +WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. +See the License for the specific language governing permissions and +limitations under the License. +*/ + +// +k8s:deepcopy-gen=package + +package spec diff --git a/hack/.golint_failures b/hack/.golint_failures index 2aa8717cb8e..50d0e8c18ed 100644 --- a/hack/.golint_failures +++ b/hack/.golint_failures @@ -7,6 +7,7 @@ cmd/kube-proxy/app cmd/kubeadm/app cmd/kubeadm/app/apis/kubeadm cmd/kubeadm/app/apis/kubeadm/v1alpha1 +cmd/kubeadm/app/phases/etcd/spec cmd/kubelet/app cmd/kubelet/app/options cmd/kubemark