Skip to content

Commit

Permalink
Switching of licence headers from 2021 to 2022 (additional)
Browse files Browse the repository at this point in the history
- Updated .licignore with .golic and generated code
- Updated the affected files

Signed-off-by: Timofey Ilinykh <ilinytim@gmail.com>
  • Loading branch information
somaritane committed Jan 18, 2022
1 parent e7aa022 commit e4b1c56
Show file tree
Hide file tree
Showing 6 changed files with 20 additions and 14 deletions.
2 changes: 1 addition & 1 deletion .golic.yaml
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
# Copyright 2021 The k8gb Contributors.
# Copyright 2022 The k8gb Contributors.
#
# Licensed under the Apache License, Version 2.0 (the "License");
# you may not use this file except in compliance with the License.
Expand Down
3 changes: 2 additions & 1 deletion .licignore
Original file line number Diff line number Diff line change
Expand Up @@ -6,6 +6,7 @@
!*.go
!Dockerfile*
!hack/boilerplate.go.txt
!.golic.yaml

# And skip generated files...
/api/**
/api/v1beta1/zz_generated.deepcopy.go
14 changes: 8 additions & 6 deletions api/v1beta1/groupversion_info.go
Original file line number Diff line number Diff line change
@@ -1,5 +1,10 @@
/*
// Package v1beta1 contains API Schema definitions for the k8gb v1beta1 API group
// +kubebuilder:object:generate=true
// +groupName=k8gb.absa.oss
package v1beta1

/*
Copyright 2022 The k8gb Contributors.
Licensed under the Apache License, Version 2.0 (the "License");
you may not use this file except in compliance with the License.
Expand All @@ -12,12 +17,9 @@ distributed under the License is distributed on an "AS IS" BASIS,
WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
See the License for the specific language governing permissions and
limitations under the License.
*/
// Package v1beta1 contains API Schema definitions for the k8gb v1beta1 API group
// +kubebuilder:object:generate=true
// +groupName=k8gb.absa.oss
package v1beta1
Generated by GoLic, for more details see: https://github.com/AbsaOSS/golic
*/

import (
"k8s.io/apimachinery/pkg/runtime/schema"
Expand Down
8 changes: 5 additions & 3 deletions api/v1beta1/gslb_types.go
Original file line number Diff line number Diff line change
@@ -1,5 +1,7 @@
/*
package v1beta1

/*
Copyright 2022 The k8gb Contributors.
Licensed under the Apache License, Version 2.0 (the "License");
you may not use this file except in compliance with the License.
Expand All @@ -12,9 +14,9 @@ distributed under the License is distributed on an "AS IS" BASIS,
WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
See the License for the specific language governing permissions and
limitations under the License.
*/
package v1beta1
Generated by GoLic, for more details see: https://github.com/AbsaOSS/golic
*/

import (
metav1 "k8s.io/apimachinery/pkg/apis/meta/v1"
Expand Down
5 changes: 3 additions & 2 deletions api/v1beta1/upstream_types.go
Original file line number Diff line number Diff line change
@@ -1,5 +1,7 @@
package v1beta1

/*
Copyright 2021 The k8gb Contributors.
Copyright 2022 The k8gb Contributors.
Licensed under the Apache License, Version 2.0 (the "License");
you may not use this file except in compliance with the License.
Expand All @@ -15,7 +17,6 @@ limitations under the License.
Generated by GoLic, for more details see: https://github.com/AbsaOSS/golic
*/
package v1beta1

import (
"k8s.io/api/networking/v1beta1"
Expand Down
2 changes: 1 addition & 1 deletion api/v1beta1/zz_generated.deepcopy.go

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

0 comments on commit e4b1c56

Please sign in to comment.