mirror of
https://github.com/kubernetes-sigs/kustomize.git
synced 2026-09-15 12:18:57 +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
|
package main
|
||||||
|
|
||||||
import "sigs.k8s.io/kustomize/functions/examples/fn-framework-application/pkg/dispatcher"
|
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
|
package dispatcher
|
||||||
|
|
||||||
import (
|
import (
|
||||||
|
|||||||
@@ -1,4 +1,7 @@
|
|||||||
#!/usr/bin/env bash
|
#!/usr/bin/env bash
|
||||||
|
# Copyright 2023 The Kubernetes Authors.
|
||||||
|
# SPDX-License-Identifier: Apache-2.0
|
||||||
|
|
||||||
|
|
||||||
set -eo pipefail
|
set -eo pipefail
|
||||||
|
|
||||||
|
|||||||
@@ -1,3 +1,6 @@
|
|||||||
|
// Copyright 2023 The Kubernetes Authors.
|
||||||
|
// SPDX-License-Identifier: Apache-2.0
|
||||||
|
|
||||||
package v1alpha1_test
|
package v1alpha1_test
|
||||||
|
|
||||||
import (
|
import (
|
||||||
|
|||||||
@@ -1,3 +1,6 @@
|
|||||||
|
// Copyright 2023 The Kubernetes Authors.
|
||||||
|
// SPDX-License-Identifier: Apache-2.0
|
||||||
|
|
||||||
package v1alpha1
|
package v1alpha1
|
||||||
|
|
||||||
import (
|
import (
|
||||||
|
|||||||
@@ -1,3 +1,6 @@
|
|||||||
|
// Copyright 2023 The Kubernetes Authors.
|
||||||
|
// SPDX-License-Identifier: Apache-2.0
|
||||||
|
|
||||||
// +groupName=platform.example.com
|
// +groupName=platform.example.com
|
||||||
// +versionName=v1alpha1
|
// +versionName=v1alpha1
|
||||||
// +kubebuilder:validation:Required
|
// +kubebuilder:validation:Required
|
||||||
|
|||||||
@@ -21,7 +21,7 @@ else
|
|||||||
fi
|
fi
|
||||||
|
|
||||||
args=(
|
args=(
|
||||||
-y 2022
|
-y $(date +"%Y")
|
||||||
-c "The Kubernetes Authors."
|
-c "The Kubernetes Authors."
|
||||||
-f LICENSE_TEMPLATE
|
-f LICENSE_TEMPLATE
|
||||||
-ignore "kyaml/internal/forked/github.com/**/*"
|
-ignore "kyaml/internal/forked/github.com/**/*"
|
||||||
|
|||||||
Reference in New Issue
Block a user