mirror of
https://github.com/kubernetes-sigs/kustomize.git
synced 2026-05-17 10:15:22 +00:00
Add licence and make script use current year
This commit is contained in:
@@ -1,3 +1,6 @@
|
||||
// Copyright 2023 The Kubernetes Authors.
|
||||
// SPDX-License-Identifier: Apache-2.0
|
||||
|
||||
package main
|
||||
|
||||
import "sigs.k8s.io/kustomize/functions/examples/fn-framework-application/pkg/dispatcher"
|
||||
|
||||
@@ -1,3 +1,6 @@
|
||||
// Copyright 2023 The Kubernetes Authors.
|
||||
// SPDX-License-Identifier: Apache-2.0
|
||||
|
||||
package dispatcher
|
||||
|
||||
import (
|
||||
|
||||
@@ -1,4 +1,7 @@
|
||||
#!/usr/bin/env bash
|
||||
# Copyright 2023 The Kubernetes Authors.
|
||||
# SPDX-License-Identifier: Apache-2.0
|
||||
|
||||
|
||||
set -eo pipefail
|
||||
|
||||
|
||||
@@ -1,3 +1,6 @@
|
||||
// Copyright 2023 The Kubernetes Authors.
|
||||
// SPDX-License-Identifier: Apache-2.0
|
||||
|
||||
package v1alpha1_test
|
||||
|
||||
import (
|
||||
|
||||
@@ -1,3 +1,6 @@
|
||||
// Copyright 2023 The Kubernetes Authors.
|
||||
// SPDX-License-Identifier: Apache-2.0
|
||||
|
||||
package v1alpha1
|
||||
|
||||
import (
|
||||
|
||||
@@ -1,3 +1,6 @@
|
||||
// Copyright 2023 The Kubernetes Authors.
|
||||
// SPDX-License-Identifier: Apache-2.0
|
||||
|
||||
// +groupName=platform.example.com
|
||||
// +versionName=v1alpha1
|
||||
// +kubebuilder:validation:Required
|
||||
|
||||
@@ -21,7 +21,7 @@ else
|
||||
fi
|
||||
|
||||
args=(
|
||||
-y 2022
|
||||
-y $(date +"%Y")
|
||||
-c "The Kubernetes Authors."
|
||||
-f LICENSE_TEMPLATE
|
||||
-ignore "kyaml/internal/forked/github.com/**/*"
|
||||
|
||||
Reference in New Issue
Block a user