Skip to content

Commit

Permalink
Update Copyright Headers
Browse files Browse the repository at this point in the history
Signed-off-by: Prashant Rewar <108176843+prashantrewar@users.noreply.github.com>
  • Loading branch information
prashantrewar committed Apr 6, 2024
1 parent e28a243 commit 1d918c9
Show file tree
Hide file tree
Showing 66 changed files with 71 additions and 68 deletions.
2 changes: 1 addition & 1 deletion .golangci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -11,7 +11,7 @@ linters-settings:
goheader:
values:
regexp:
copyright-year: 202[0-1]
copyright-year: 20[0-9][0-9]
template-path: code-header-template.txt
issues:
max-issues-per-linter: 0
Expand Down
2 changes: 1 addition & 1 deletion cmd/controller/main.go
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
// Copyright 2021 VMware, Inc.
// Copyright 2024 The Carvel Authors.
// SPDX-License-Identifier: Apache-2.0

package main
Expand Down
2 changes: 1 addition & 1 deletion code-header-template.txt
Original file line number Diff line number Diff line change
@@ -1,2 +1,2 @@
Copyright {{copyright-year}} VMware, Inc.
Copyright {{copyright-year}} The Carvel Authors.
SPDX-License-Identifier: Apache-2.0
9 changes: 6 additions & 3 deletions hack/tools.go
Original file line number Diff line number Diff line change
@@ -1,8 +1,11 @@
// Copyright 2020 VMware, Inc.
// Copyright 2024 The Carvel Authors.
// SPDX-License-Identifier: Apache-2.0
//go:build tools
// +build tools

package tools

import _ "k8s.io/code-generator"
import _ "sigs.k8s.io/controller-tools/cmd/controller-gen"
import (
_ "k8s.io/code-generator"
_ "sigs.k8s.io/controller-tools/cmd/controller-gen"
)
2 changes: 1 addition & 1 deletion pkg/apis/secretgen/v1alpha1/conditions.go
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
// Copyright 2021 VMware, Inc.
// Copyright 2024 The Carvel Authors.
// SPDX-License-Identifier: Apache-2.0

package v1alpha1
Expand Down
2 changes: 1 addition & 1 deletion pkg/apis/secretgen/v1alpha1/doc.go
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
// Copyright 2021 VMware, Inc.
// Copyright 2024 The Carvel Authors.
// SPDX-License-Identifier: Apache-2.0

// +k8s:deepcopy-gen=package
Expand Down
2 changes: 1 addition & 1 deletion pkg/apis/secretgen/v1alpha1/misc.go
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
// Copyright 2021 VMware, Inc.
// Copyright 2024 The Carvel Authors.
// SPDX-License-Identifier: Apache-2.0

package v1alpha1
Expand Down
2 changes: 1 addition & 1 deletion pkg/apis/secretgen/v1alpha1/register.go
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
// Copyright 2021 VMware, Inc.
// Copyright 2024 The Carvel Authors.
// SPDX-License-Identifier: Apache-2.0

package v1alpha1
Expand Down
2 changes: 1 addition & 1 deletion pkg/apis/secretgen/v1alpha1/secret_template.go
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
// Copyright 2021 VMware, Inc.
// Copyright 2024 The Carvel Authors.
// SPDX-License-Identifier: Apache-2.0

package v1alpha1
Expand Down
2 changes: 1 addition & 1 deletion pkg/apis/secretgen/v1alpha1/status.go
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
// Copyright 2021 VMware, Inc.
// Copyright 2024 The Carvel Authors.
// SPDX-License-Identifier: Apache-2.0

package v1alpha1
Expand Down
2 changes: 1 addition & 1 deletion pkg/apis/secretgen/v1alpha1/types_certificate.go
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
// Copyright 2021 VMware, Inc.
// Copyright 2024 The Carvel Authors.
// SPDX-License-Identifier: Apache-2.0

package v1alpha1
Expand Down
2 changes: 1 addition & 1 deletion pkg/apis/secretgen/v1alpha1/types_password.go
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
// Copyright 2021 VMware, Inc.
// Copyright 2024 The Carvel Authors.
// SPDX-License-Identifier: Apache-2.0

package v1alpha1
Expand Down
2 changes: 1 addition & 1 deletion pkg/apis/secretgen/v1alpha1/types_rsa_key.go
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
// Copyright 2021 VMware, Inc.
// Copyright 2024 The Carvel Authors.
// SPDX-License-Identifier: Apache-2.0

package v1alpha1
Expand Down
2 changes: 1 addition & 1 deletion pkg/apis/secretgen/v1alpha1/types_ssh_key.go
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
// Copyright 2021 VMware, Inc.
// Copyright 2024 The Carvel Authors.
// SPDX-License-Identifier: Apache-2.0

package v1alpha1
Expand Down
2 changes: 1 addition & 1 deletion pkg/apis/secretgen2/v1alpha1/doc.go
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
// Copyright 2021 VMware, Inc.
// Copyright 2024 The Carvel Authors.
// SPDX-License-Identifier: Apache-2.0

// +k8s:deepcopy-gen=package
Expand Down
2 changes: 1 addition & 1 deletion pkg/apis/secretgen2/v1alpha1/misc.go
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
// Copyright 2021 VMware, Inc.
// Copyright 2024 The Carvel Authors.
// SPDX-License-Identifier: Apache-2.0

package v1alpha1
Expand Down
2 changes: 1 addition & 1 deletion pkg/apis/secretgen2/v1alpha1/register.go
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
// Copyright 2021 VMware, Inc.
// Copyright 2024 The Carvel Authors.
// SPDX-License-Identifier: Apache-2.0

package v1alpha1
Expand Down
2 changes: 1 addition & 1 deletion pkg/apis/secretgen2/v1alpha1/secret_export.go
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
// Copyright 2021 VMware, Inc.
// Copyright 2024 The Carvel Authors.
// SPDX-License-Identifier: Apache-2.0

package v1alpha1
Expand Down
2 changes: 1 addition & 1 deletion pkg/apis/secretgen2/v1alpha1/secret_import.go
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
// Copyright 2021 VMware, Inc.
// Copyright 2024 The Carvel Authors.
// SPDX-License-Identifier: Apache-2.0

package v1alpha1
Expand Down
2 changes: 1 addition & 1 deletion pkg/apis/secretgen2/v1alpha1/secret_template.go
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
// Copyright 2021 VMware, Inc.
// Copyright 2024 The Carvel Authors.
// SPDX-License-Identifier: Apache-2.0

package v1alpha1
Expand Down
2 changes: 1 addition & 1 deletion pkg/expansion/doc.go
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
// Copyright 2021 VMware, Inc.
// Copyright 2024 The Carvel Authors.
// SPDX-License-Identifier: Apache-2.0

// Package taken from https://github.com/kubernetes/kubernetes/tree/a98c559ca4b6946bdf15fcbad7d5c450283c2f9f/third_party/forked/golang/expansion
Expand Down
2 changes: 1 addition & 1 deletion pkg/expansion/expand.go
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
// Copyright 2021 VMware, Inc.
// Copyright 2024 The Carvel Authors.
// SPDX-License-Identifier: Apache-2.0

package expansion
Expand Down
2 changes: 1 addition & 1 deletion pkg/expansion/expand_test.go
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
// Copyright 2021 VMware, Inc.
// Copyright 2024 The Carvel Authors.
// SPDX-License-Identifier: Apache-2.0

package expansion_test
Expand Down
2 changes: 1 addition & 1 deletion pkg/generator/certificate_reconciler.go
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
// Copyright 2021 VMware, Inc.
// Copyright 2024 The Carvel Authors.
// SPDX-License-Identifier: Apache-2.0

package generator
Expand Down
2 changes: 1 addition & 1 deletion pkg/generator/certs_loader.go
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
// Copyright 2021 VMware, Inc.
// Copyright 2024 The Carvel Authors.
// SPDX-License-Identifier: Apache-2.0

package generator
Expand Down
2 changes: 1 addition & 1 deletion pkg/generator/generate_inputs.go
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
// Copyright 2021 VMware, Inc.
// Copyright 2024 The Carvel Authors.
// SPDX-License-Identifier: Apache-2.0

package generator
Expand Down
2 changes: 1 addition & 1 deletion pkg/generator/generate_inputs_test.go
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
// Copyright 2021 VMware, Inc.
// Copyright 2024 The Carvel Authors.
// SPDX-License-Identifier: Apache-2.0

package generator_test
Expand Down
2 changes: 1 addition & 1 deletion pkg/generator/jsonpath.go
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
// Copyright 2021 VMware, Inc.
// Copyright 2024 The Carvel Authors.
// SPDX-License-Identifier: Apache-2.0

package generator
Expand Down
2 changes: 1 addition & 1 deletion pkg/generator/jsonpath_test.go
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
// Copyright 2021 VMware, Inc.
// Copyright 2024 The Carvel Authors.
// SPDX-License-Identifier: Apache-2.0

package generator_test
Expand Down
2 changes: 1 addition & 1 deletion pkg/generator/password_reconciler.go
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
// Copyright 2021 VMware, Inc.
// Copyright 2024 The Carvel Authors.
// SPDX-License-Identifier: Apache-2.0

package generator
Expand Down
2 changes: 1 addition & 1 deletion pkg/generator/rsa_key_reconciler.go
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
// Copyright 2021 VMware, Inc.
// Copyright 2024 The Carvel Authors.
// SPDX-License-Identifier: Apache-2.0

package generator
Expand Down
2 changes: 1 addition & 1 deletion pkg/generator/secret_template_reconciler.go
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
// Copyright 2021 VMware, Inc.
// Copyright 2024 The Carvel Authors.
// SPDX-License-Identifier: Apache-2.0

package generator
Expand Down
2 changes: 1 addition & 1 deletion pkg/generator/secret_template_test.go
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
// Copyright 2021 VMware, Inc.
// Copyright 2024 The Carvel Authors.
// SPDX-License-Identifier: Apache-2.0

package generator_test
Expand Down
2 changes: 1 addition & 1 deletion pkg/generator/service_account_loader.go
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
// Copyright 2021 VMware, Inc.
// Copyright 2024 The Carvel Authors.
// SPDX-License-Identifier: Apache-2.0

package generator
Expand Down
2 changes: 1 addition & 1 deletion pkg/generator/ssh_key_reconciler.go
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
// Copyright 2021 VMware, Inc.
// Copyright 2024 The Carvel Authors.
// SPDX-License-Identifier: Apache-2.0

package generator
Expand Down
2 changes: 1 addition & 1 deletion pkg/reconciler/secret.go
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
// Copyright 2021 VMware, Inc.
// Copyright 2024 The Carvel Authors.
// SPDX-License-Identifier: Apache-2.0

package reconciler
Expand Down
2 changes: 1 addition & 1 deletion pkg/reconciler/status.go
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
// Copyright 2021 VMware, Inc.
// Copyright 2024 The Carvel Authors.
// SPDX-License-Identifier: Apache-2.0

package reconciler
Expand Down
2 changes: 1 addition & 1 deletion pkg/satoken/token_manager.go
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
// Copyright 2021 VMware, Inc.
// Copyright 2024 The Carvel Authors.
// SPDX-License-Identifier: Apache-2.0

// This file is a modified version of
Expand Down
2 changes: 1 addition & 1 deletion pkg/satoken/token_manager_test.go
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
// Copyright 2021 VMware, Inc.
// Copyright 2024 The Carvel Authors.
// SPDX-License-Identifier: Apache-2.0

// This file is a modified version of
Expand Down
2 changes: 1 addition & 1 deletion pkg/sharing/doc.go
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
// Copyright 2021 VMware, Inc.
// Copyright 2024 The Carvel Authors.
// SPDX-License-Identifier: Apache-2.0

// sharing package introduces SecretExport and SecretImport concepts
Expand Down
2 changes: 1 addition & 1 deletion pkg/sharing/dockerconfigjson.go
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
// Copyright 2021 VMware, Inc.
// Copyright 2024 The Carvel Authors.
// SPDX-License-Identifier: Apache-2.0

package sharing
Expand Down
2 changes: 1 addition & 1 deletion pkg/sharing/dockerconfigjson_test.go
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
// Copyright 2021 VMware, Inc.
// Copyright 2024 The Carvel Authors.
// SPDX-License-Identifier: Apache-2.0

package sharing
Expand Down
2 changes: 1 addition & 1 deletion pkg/sharing/helpers_for_test.go
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
// Copyright 2021 VMware, Inc.
// Copyright 2024 The Carvel Authors.
// SPDX-License-Identifier: Apache-2.0

package sharing_test
Expand Down
2 changes: 1 addition & 1 deletion pkg/sharing/import_secret_test.go
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
// Copyright 2021 VMware, Inc.
// Copyright 2024 The Carvel Authors.
// SPDX-License-Identifier: Apache-2.0

package sharing_test
Expand Down
2 changes: 1 addition & 1 deletion pkg/sharing/namespace_wildcard_exclusions.go
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
// Copyright 2021 VMware, Inc.
// Copyright 2024 The Carvel Authors.
// SPDX-License-Identifier: Apache-2.0

package sharing
Expand Down
2 changes: 1 addition & 1 deletion pkg/sharing/placeholder_secret_test.go
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
// Copyright 2021 VMware, Inc.
// Copyright 2024 The Carvel Authors.
// SPDX-License-Identifier: Apache-2.0

package sharing_test
Expand Down
2 changes: 1 addition & 1 deletion pkg/sharing/secret_export_reconciler.go
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
// Copyright 2021 VMware, Inc.
// Copyright 2024 The Carvel Authors.
// SPDX-License-Identifier: Apache-2.0

package sharing
Expand Down
2 changes: 1 addition & 1 deletion pkg/sharing/secret_exports.go
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
// Copyright 2021 VMware, Inc.
// Copyright 2024 The Carvel Authors.
// SPDX-License-Identifier: Apache-2.0

package sharing
Expand Down
2 changes: 1 addition & 1 deletion pkg/sharing/secret_exports_test.go
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
// Copyright 2021 VMware, Inc.
// Copyright 2024 The Carvel Authors.
// SPDX-License-Identifier: Apache-2.0

package sharing_test
Expand Down
2 changes: 1 addition & 1 deletion pkg/sharing/secret_exports_warmed_up.go
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
// Copyright 2021 VMware, Inc.
// Copyright 2024 The Carvel Authors.
// SPDX-License-Identifier: Apache-2.0

package sharing
Expand Down
2 changes: 1 addition & 1 deletion pkg/sharing/secret_import_reconciler.go
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
// Copyright 2021 VMware, Inc.
// Copyright 2024 The Carvel Authors.
// SPDX-License-Identifier: Apache-2.0

package sharing
Expand Down
2 changes: 1 addition & 1 deletion pkg/sharing/secret_reconciler.go
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
// Copyright 2021 VMware, Inc.
// Copyright 2024 The Carvel Authors.
// SPDX-License-Identifier: Apache-2.0

package sharing
Expand Down
2 changes: 1 addition & 1 deletion pkg/tracker/tracker.go
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
// Copyright 2021 VMware, Inc.
// Copyright 2024 The Carvel Authors.
// SPDX-License-Identifier: Apache-2.0

// Package tracker allows "tracking" resources to monitor "tracked" resources.
Expand Down
2 changes: 1 addition & 1 deletion pkg/tracker/tracker_test.go
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
// Copyright 2021 VMware, Inc.
// Copyright 2024 The Carvel Authors.
// SPDX-License-Identifier: Apache-2.0

package tracker_test
Expand Down
2 changes: 1 addition & 1 deletion test/e2e/certificate_test.go
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
// Copyright 2021 VMware, Inc.
// Copyright 2024 The Carvel Authors.
// SPDX-License-Identifier: Apache-2.0

package e2e
Expand Down
2 changes: 1 addition & 1 deletion test/e2e/e2e.go
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
// Copyright 2021 VMware, Inc.
// Copyright 2024 The Carvel Authors.
// SPDX-License-Identifier: Apache-2.0

package e2e
Expand Down
2 changes: 1 addition & 1 deletion test/e2e/env.go
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
// Copyright 2021 VMware, Inc.
// Copyright 2024 The Carvel Authors.
// SPDX-License-Identifier: Apache-2.0

package e2e
Expand Down
2 changes: 1 addition & 1 deletion test/e2e/kapp.go
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
// Copyright 2021 VMware, Inc.
// Copyright 2024 The Carvel Authors.
// SPDX-License-Identifier: Apache-2.0

package e2e
Expand Down
2 changes: 1 addition & 1 deletion test/e2e/kubectl.go
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
// Copyright 2021 VMware, Inc.
// Copyright 2024 The Carvel Authors.
// SPDX-License-Identifier: Apache-2.0

package e2e
Expand Down
2 changes: 1 addition & 1 deletion test/e2e/password_test.go
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
// Copyright 2021 VMware, Inc.
// Copyright 2024 The Carvel Authors.
// SPDX-License-Identifier: Apache-2.0

package e2e
Expand Down
2 changes: 1 addition & 1 deletion test/e2e/placeholder_secrets_multi_case_test.go
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
// Copyright 2021 VMware, Inc.
// Copyright 2024 The Carvel Authors.
// SPDX-License-Identifier: Apache-2.0

package e2e
Expand Down
2 changes: 1 addition & 1 deletion test/e2e/rsa_key_test.go
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
// Copyright 2021 VMware, Inc.
// Copyright 2024 The Carvel Authors.
// SPDX-License-Identifier: Apache-2.0

package e2e
Expand Down
2 changes: 1 addition & 1 deletion test/e2e/secret_exports_test.go
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
// Copyright 2021 VMware, Inc.
// Copyright 2024 The Carvel Authors.
// SPDX-License-Identifier: Apache-2.0

package e2e
Expand Down
2 changes: 1 addition & 1 deletion test/e2e/secret_template_test.go
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
// Copyright 2021 VMware, Inc.
// Copyright 2024 The Carvel Authors.
// SPDX-License-Identifier: Apache-2.0

package e2e
Expand Down
Loading

0 comments on commit 1d918c9

Please sign in to comment.