From c06e546bb581bfae68b508efbf2419a086fafead Mon Sep 17 00:00:00 2001 From: Laszlo Bence Nagy Date: Mon, 24 Jan 2022 16:49:26 +0100 Subject: [PATCH 1/3] Allow any year in license header --- .licensei.toml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/.licensei.toml b/.licensei.toml index 9a9bfaa50..18a43d1f8 100644 --- a/.licensei.toml +++ b/.licensei.toml @@ -41,7 +41,7 @@ ignoreFiles = [ ] template = """/* -Copyright 2021 Cisco Systems, Inc. and/or its affiliates. +Copyright :YEAR: Cisco Systems, Inc. and/or its affiliates. Licensed under the Apache License, Version 2.0 (the "License"); you may not use this file except in compliance with the License. From 6f00a69f8e70767294b90213145fdebf84017d90 Mon Sep 17 00:00:00 2001 From: Laszlo Bence Nagy Date: Mon, 24 Jan 2022 16:51:29 +0100 Subject: [PATCH 2/3] Add missing header to test file --- controllers/version_test.go | 16 ++++++++++++++++ 1 file changed, 16 insertions(+) diff --git a/controllers/version_test.go b/controllers/version_test.go index 1b3727103..477b48e0f 100644 --- a/controllers/version_test.go +++ b/controllers/version_test.go @@ -1,3 +1,19 @@ +/* +Copyright 2022 Cisco Systems, Inc. and/or its affiliates. + +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. +*/ + package controllers_test import ( From 396310186bdc0f4f3a2d9a51dca6a17a03888bf0 Mon Sep 17 00:00:00 2001 From: Laszlo Bence Nagy Date: Mon, 24 Jan 2022 17:03:06 +0100 Subject: [PATCH 3/3] Exclude '\' from html generation --- api/v1alpha1/istiocontrolplane.pb.html | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/api/v1alpha1/istiocontrolplane.pb.html b/api/v1alpha1/istiocontrolplane.pb.html index 7347f8187..74bdc7495 100644 --- a/api/v1alpha1/istiocontrolplane.pb.html +++ b/api/v1alpha1/istiocontrolplane.pb.html @@ -25,7 +25,7 @@

IstioControlPlaneSpec

string

Contains the intended version for the Istio control plane. -+kubebuilder:validation:Pattern=^1\.

++kubebuilder:validation:Pattern=^1.