Skip to content

Commit 38d5bf8

Browse files
committed
Add licence and make script use current year
1 parent 85d623b commit 38d5bf8

File tree

7 files changed

+19
-1
lines changed

7 files changed

+19
-1
lines changed

functions/examples/fn-framework-application/cmd/main.go

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,6 @@
1+
// Copyright 2023 The Kubernetes Authors.
2+
// SPDX-License-Identifier: Apache-2.0
3+
14
package main
25

36
import "sigs.k8s.io/kustomize/functions/examples/fn-framework-application/pkg/dispatcher"

functions/examples/fn-framework-application/pkg/dispatcher/dispatcher.go

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,6 @@
1+
// Copyright 2023 The Kubernetes Authors.
2+
// SPDX-License-Identifier: Apache-2.0
3+
14
package dispatcher
25

36
import (

functions/examples/fn-framework-application/pkg/exampleapp/v1alpha1/crd_gen.sh

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,7 @@
11
#!/usr/bin/env bash
2+
# Copyright 2023 The Kubernetes Authors.
3+
# SPDX-License-Identifier: Apache-2.0
4+
25

36
set -eo pipefail
47

functions/examples/fn-framework-application/pkg/exampleapp/v1alpha1/example_app_test.go

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,6 @@
1+
// Copyright 2023 The Kubernetes Authors.
2+
// SPDX-License-Identifier: Apache-2.0
3+
14
package v1alpha1_test
25

36
import (

functions/examples/fn-framework-application/pkg/exampleapp/v1alpha1/processing.go

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,6 @@
1+
// Copyright 2023 The Kubernetes Authors.
2+
// SPDX-License-Identifier: Apache-2.0
3+
14
package v1alpha1
25

36
import (

functions/examples/fn-framework-application/pkg/exampleapp/v1alpha1/types.go

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,6 @@
1+
// Copyright 2023 The Kubernetes Authors.
2+
// SPDX-License-Identifier: Apache-2.0
3+
14
// +groupName=platform.example.com
25
// +versionName=v1alpha1
36
// +kubebuilder:validation:Required

hack/add-license.sh

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -21,7 +21,7 @@ else
2121
fi
2222

2323
args=(
24-
-y 2022
24+
-y $(date +"%Y")
2525
-c "The Kubernetes Authors."
2626
-f LICENSE_TEMPLATE
2727
-ignore "kyaml/internal/forked/github.com/**/*"

0 commit comments

Comments
 (0)