From 811c82d645fd0ee830e2a28a7ae974f439638a05 Mon Sep 17 00:00:00 2001 From: Nathan Coleman Date: Mon, 23 Oct 2023 17:48:35 -0500 Subject: [PATCH] Remove copyright headers from external crds (#3124) * Remove copyright headers from externally-defined CRDs not owned by HashiCorp * Make comment more accurate in .copywrite.hcl config * Fix exclude path in .copywrite.hcl --- .copywrite.hcl | 4 ++-- .../external/gatewayclasses.gateway.networking.k8s.io.yaml | 3 --- .../crd/external/gateways.gateway.networking.k8s.io.yaml | 3 --- .../crd/external/grpcroutes.gateway.networking.k8s.io.yaml | 3 --- .../crd/external/httproutes.gateway.networking.k8s.io.yaml | 3 --- .../external/referencegrants.gateway.networking.k8s.io.yaml | 3 --- .../crd/external/tcproutes.gateway.networking.k8s.io.yaml | 3 --- .../crd/external/tlsroutes.gateway.networking.k8s.io.yaml | 3 --- .../crd/external/udproutes.gateway.networking.k8s.io.yaml | 3 --- 9 files changed, 2 insertions(+), 26 deletions(-) diff --git a/.copywrite.hcl b/.copywrite.hcl index 7088df0e14..9263741105 100644 --- a/.copywrite.hcl +++ b/.copywrite.hcl @@ -11,8 +11,8 @@ project { # ignoring charts templates as adding copyright headers breaks all tests "charts/consul/templates/**", - # we don't own these and copyright headers break them - "control-plane/config/crds/external/**", + # we don't own these and the tool that adds copyright headers breaks them + "control-plane/config/crd/external/**", ] } diff --git a/control-plane/config/crd/external/gatewayclasses.gateway.networking.k8s.io.yaml b/control-plane/config/crd/external/gatewayclasses.gateway.networking.k8s.io.yaml index 044c7af939..ff0b2fc2f6 100644 --- a/control-plane/config/crd/external/gatewayclasses.gateway.networking.k8s.io.yaml +++ b/control-plane/config/crd/external/gatewayclasses.gateway.networking.k8s.io.yaml @@ -1,6 +1,3 @@ -# Copyright (c) HashiCorp, Inc. -# SPDX-License-Identifier: MPL-2.0 - apiVersion: apiextensions.k8s.io/v1 kind: CustomResourceDefinition metadata: diff --git a/control-plane/config/crd/external/gateways.gateway.networking.k8s.io.yaml b/control-plane/config/crd/external/gateways.gateway.networking.k8s.io.yaml index b7a7c8a7d1..fa64481667 100644 --- a/control-plane/config/crd/external/gateways.gateway.networking.k8s.io.yaml +++ b/control-plane/config/crd/external/gateways.gateway.networking.k8s.io.yaml @@ -1,6 +1,3 @@ -# Copyright (c) HashiCorp, Inc. -# SPDX-License-Identifier: MPL-2.0 - apiVersion: apiextensions.k8s.io/v1 kind: CustomResourceDefinition metadata: diff --git a/control-plane/config/crd/external/grpcroutes.gateway.networking.k8s.io.yaml b/control-plane/config/crd/external/grpcroutes.gateway.networking.k8s.io.yaml index 8f3ab6d385..8d190ea7b6 100644 --- a/control-plane/config/crd/external/grpcroutes.gateway.networking.k8s.io.yaml +++ b/control-plane/config/crd/external/grpcroutes.gateway.networking.k8s.io.yaml @@ -1,6 +1,3 @@ -# Copyright (c) HashiCorp, Inc. -# SPDX-License-Identifier: MPL-2.0 - apiVersion: apiextensions.k8s.io/v1 kind: CustomResourceDefinition metadata: diff --git a/control-plane/config/crd/external/httproutes.gateway.networking.k8s.io.yaml b/control-plane/config/crd/external/httproutes.gateway.networking.k8s.io.yaml index b455d788de..90c151a787 100644 --- a/control-plane/config/crd/external/httproutes.gateway.networking.k8s.io.yaml +++ b/control-plane/config/crd/external/httproutes.gateway.networking.k8s.io.yaml @@ -1,6 +1,3 @@ -# Copyright (c) HashiCorp, Inc. -# SPDX-License-Identifier: MPL-2.0 - apiVersion: apiextensions.k8s.io/v1 kind: CustomResourceDefinition metadata: diff --git a/control-plane/config/crd/external/referencegrants.gateway.networking.k8s.io.yaml b/control-plane/config/crd/external/referencegrants.gateway.networking.k8s.io.yaml index cd39b9c12a..5eee4889a4 100644 --- a/control-plane/config/crd/external/referencegrants.gateway.networking.k8s.io.yaml +++ b/control-plane/config/crd/external/referencegrants.gateway.networking.k8s.io.yaml @@ -1,6 +1,3 @@ -# Copyright (c) HashiCorp, Inc. -# SPDX-License-Identifier: MPL-2.0 - apiVersion: apiextensions.k8s.io/v1 kind: CustomResourceDefinition metadata: diff --git a/control-plane/config/crd/external/tcproutes.gateway.networking.k8s.io.yaml b/control-plane/config/crd/external/tcproutes.gateway.networking.k8s.io.yaml index 906b442d31..a136b28f41 100644 --- a/control-plane/config/crd/external/tcproutes.gateway.networking.k8s.io.yaml +++ b/control-plane/config/crd/external/tcproutes.gateway.networking.k8s.io.yaml @@ -1,6 +1,3 @@ -# Copyright (c) HashiCorp, Inc. -# SPDX-License-Identifier: MPL-2.0 - apiVersion: apiextensions.k8s.io/v1 kind: CustomResourceDefinition metadata: diff --git a/control-plane/config/crd/external/tlsroutes.gateway.networking.k8s.io.yaml b/control-plane/config/crd/external/tlsroutes.gateway.networking.k8s.io.yaml index 2e22b04ef0..cc3cf65d6c 100644 --- a/control-plane/config/crd/external/tlsroutes.gateway.networking.k8s.io.yaml +++ b/control-plane/config/crd/external/tlsroutes.gateway.networking.k8s.io.yaml @@ -1,6 +1,3 @@ -# Copyright (c) HashiCorp, Inc. -# SPDX-License-Identifier: MPL-2.0 - apiVersion: apiextensions.k8s.io/v1 kind: CustomResourceDefinition metadata: diff --git a/control-plane/config/crd/external/udproutes.gateway.networking.k8s.io.yaml b/control-plane/config/crd/external/udproutes.gateway.networking.k8s.io.yaml index 19b03dcd0b..204f8e4824 100644 --- a/control-plane/config/crd/external/udproutes.gateway.networking.k8s.io.yaml +++ b/control-plane/config/crd/external/udproutes.gateway.networking.k8s.io.yaml @@ -1,6 +1,3 @@ -# Copyright (c) HashiCorp, Inc. -# SPDX-License-Identifier: MPL-2.0 - apiVersion: apiextensions.k8s.io/v1 kind: CustomResourceDefinition metadata: