Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

fix: fix license #136

Merged
merged 1 commit into from
Nov 20, 2024
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
10 changes: 7 additions & 3 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -44,12 +44,16 @@ Full documentation is available at [karpenter alibabacloud provider docs](https:

We want your contributions and suggestions! One of the easiest ways to contribute is to participate in discussions on the Github Issues/Discussion, chat on IM or the bi-weekly community calls.

- [Slack channel](https://kubernetes.slack.com/archives/C02SFFZSA2K)
- [Community calls](https://calendar.google.com/calendar/u/0?cid=N3FmZGVvZjVoZWJkZjZpMnJrMmplZzVqYmtAZ3JvdXAuY2FsZW5kYXIuZ29vZ2xlLmNvbQ)
- WeChat Group: Broker wechat to add you into the user group.
* [Slack channel](https://kubernetes.slack.com/archives/C02SFFZSA2K)
* [Community calls](https://calendar.google.com/calendar/u/0?cid=N3FmZGVvZjVoZWJkZjZpMnJrMmplZzVqYmtAZ3JvdXAuY2FsZW5kYXIuZ29vZ2xlLmNvbQ)
* WeChat Group: Broker wechat to add you into the user group.

<img src="docs/images/wechat-broker.jpg" width="50%">

## Attribution Notice

This project includes code derived from karpenter-provider-aws, used under the Apache License, Version 2.0 terms. We acknowledge the contributions of the original authors and thank them for making their work available. For more details, see the [karpenter-provider-aws](https://github.com/aws/karpenter-provider-aws).

## Code Of Conduct

Karpenter Alibaba Cloud Provider adopts [CNCF code of conduct](https://github.com/cncf/foundation/blob/master/code-of-conduct.md).
Expand Down
2 changes: 0 additions & 2 deletions cmd/controller/main.go
Original file line number Diff line number Diff line change
@@ -1,6 +1,4 @@
/*
Copyright 2024 The CloudPilot AI Authors.

Licensed under the Apache License, Version 2.0 (the "License");
you may not use this file except in compliance with the License.
You may obtain a copy of the License at
Expand Down
2 changes: 1 addition & 1 deletion hack/boilerplate.sh
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@ set -eu -o pipefail
for i in $(
find ./cmd ./pkg ./hack -name "*.go"
); do
if ! grep -q "CloudPilot AI" $i; then
if ! grep -q "Apache License, Version 2.0" $i; then
cat hack/boilerplate.go.txt $i >$i.new && mv $i.new $i
fi
done
2 changes: 0 additions & 2 deletions pkg/apis/apis.go
Original file line number Diff line number Diff line change
@@ -1,6 +1,4 @@
/*
Copyright 2024 The CloudPilot AI Authors.

Licensed under the Apache License, Version 2.0 (the "License");
you may not use this file except in compliance with the License.
You may obtain a copy of the License at
Expand Down
2 changes: 0 additions & 2 deletions pkg/cache/cache.go
Original file line number Diff line number Diff line change
@@ -1,6 +1,4 @@
/*
Copyright 2024 The CloudPilot AI Authors.

Licensed under the Apache License, Version 2.0 (the "License");
you may not use this file except in compliance with the License.
You may obtain a copy of the License at
Expand Down
2 changes: 0 additions & 2 deletions pkg/cache/unavailableofferings.go
Original file line number Diff line number Diff line change
@@ -1,6 +1,4 @@
/*
Copyright 2024 The CloudPilot AI Authors.

Licensed under the Apache License, Version 2.0 (the "License");
you may not use this file except in compliance with the License.
You may obtain a copy of the License at
Expand Down
2 changes: 0 additions & 2 deletions pkg/cache/unavailableofferings_test.go
Original file line number Diff line number Diff line change
@@ -1,6 +1,4 @@
/*
Copyright 2024 The CloudPilot AI Authors.

Licensed under the Apache License, Version 2.0 (the "License");
you may not use this file except in compliance with the License.
You may obtain a copy of the License at
Expand Down
2 changes: 0 additions & 2 deletions pkg/cloudprovider/cloudprovider.go
Original file line number Diff line number Diff line change
@@ -1,6 +1,4 @@
/*
Copyright 2024 The CloudPilot AI Authors.

Licensed under the Apache License, Version 2.0 (the "License");
you may not use this file except in compliance with the License.
You may obtain a copy of the License at
Expand Down
2 changes: 0 additions & 2 deletions pkg/cloudprovider/drift.go
Original file line number Diff line number Diff line change
@@ -1,6 +1,4 @@
/*
Copyright 2024 The CloudPilot AI Authors.

Licensed under the Apache License, Version 2.0 (the "License");
you may not use this file except in compliance with the License.
You may obtain a copy of the License at
Expand Down
4 changes: 1 addition & 3 deletions pkg/cloudprovider/events/events.go
Original file line number Diff line number Diff line change
@@ -1,11 +1,9 @@
/*
Copyright 2024 The CloudPilot AI Authors.

Licensed under the Apache License, Version 2.0 (the "License");
you may not use this file except in compliance with the License.
You may obtain a copy of the License at

http://www.apache.org/licenses/LICENSE-2.0
http://www.apache.org/licenses/LICENSE-2.0

Unless required by applicable law or agreed to in writing, software
distributed under the License is distributed on an "AS IS" BASIS,
Expand Down
4 changes: 1 addition & 3 deletions pkg/controllers/controllers.go
Original file line number Diff line number Diff line change
@@ -1,11 +1,9 @@
/*
Copyright 2024 The CloudPilot AI Authors.

Licensed under the Apache License, Version 2.0 (the "License");
you may not use this file except in compliance with the License.
You may obtain a copy of the License at

http://www.apache.org/licenses/LICENSE-2.0
http://www.apache.org/licenses/LICENSE-2.0

Unless required by applicable law or agreed to in writing, software
distributed under the License is distributed on an "AS IS" BASIS,
Expand Down
2 changes: 0 additions & 2 deletions pkg/controllers/interruption/controller.go
Original file line number Diff line number Diff line change
@@ -1,6 +1,4 @@
/*
Copyright 2024 The CloudPilot AI Authors.

Licensed under the Apache License, Version 2.0 (the "License");
you may not use this file except in compliance with the License.
You may obtain a copy of the License at
Expand Down
2 changes: 0 additions & 2 deletions pkg/controllers/interruption/events/events.go
Original file line number Diff line number Diff line change
@@ -1,6 +1,4 @@
/*
Copyright 2024 The CloudPilot AI Authors.

Licensed under the Apache License, Version 2.0 (the "License");
you may not use this file except in compliance with the License.
You may obtain a copy of the License at
Expand Down
2 changes: 0 additions & 2 deletions pkg/controllers/nodeclaim/garbagecollection/controller.go
Original file line number Diff line number Diff line change
@@ -1,6 +1,4 @@
/*
Copyright 2024 The CloudPilot AI Authors.

Licensed under the Apache License, Version 2.0 (the "License");
you may not use this file except in compliance with the License.
You may obtain a copy of the License at
Expand Down
2 changes: 0 additions & 2 deletions pkg/controllers/nodeclaim/tagging/controller.go
Original file line number Diff line number Diff line change
@@ -1,6 +1,4 @@
/*
Copyright 2024 The CloudPilot AI Authors.

Licensed under the Apache License, Version 2.0 (the "License");
you may not use this file except in compliance with the License.
You may obtain a copy of the License at
Expand Down
5 changes: 3 additions & 2 deletions pkg/controllers/nodeclaim/unregisteredtaint/controller.go
Original file line number Diff line number Diff line change
@@ -1,5 +1,3 @@
package unregisteredtaint

/*
Copyright 2024 The CloudPilot AI Authors.

Expand All @@ -15,6 +13,9 @@ 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 unregisteredtaint

import (
"context"
"time"
Expand Down
2 changes: 0 additions & 2 deletions pkg/controllers/nodeclass/hash/controller.go
Original file line number Diff line number Diff line change
@@ -1,6 +1,4 @@
/*
Copyright 2024 The CloudPilot AI Authors.

Licensed under the Apache License, Version 2.0 (the "License");
you may not use this file except in compliance with the License.
You may obtain a copy of the License at
Expand Down
2 changes: 0 additions & 2 deletions pkg/controllers/nodeclass/status/controller.go
Original file line number Diff line number Diff line change
@@ -1,6 +1,4 @@
/*
Copyright 2024 The CloudPilot AI Authors.

Licensed under the Apache License, Version 2.0 (the "License");
you may not use this file except in compliance with the License.
You may obtain a copy of the License at
Expand Down
2 changes: 0 additions & 2 deletions pkg/controllers/nodeclass/status/image.go
Original file line number Diff line number Diff line change
@@ -1,6 +1,4 @@
/*
Copyright 2024 The CloudPilot AI Authors.

Licensed under the Apache License, Version 2.0 (the "License");
you may not use this file except in compliance with the License.
You may obtain a copy of the License at
Expand Down
5 changes: 1 addition & 4 deletions pkg/controllers/nodeclass/status/securitygroup.go
Original file line number Diff line number Diff line change
@@ -1,19 +1,16 @@
/*
Copyright 2024 The CloudPilot AI Authors.

Licensed under the Apache License, Version 2.0 (the "License");
you may not use this file except in compliance with the License.
You may obtain a copy of the License at

http://www.apache.org/licenses/LICENSE-2.0
http://www.apache.org/licenses/LICENSE-2.0

Unless required by applicable law or agreed to in writing, software
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 status

import (
Expand Down
2 changes: 0 additions & 2 deletions pkg/controllers/nodeclass/termination/controller.go
Original file line number Diff line number Diff line change
@@ -1,6 +1,4 @@
/*
Copyright 2024 The CloudPilot AI Authors.

Licensed under the Apache License, Version 2.0 (the "License");
you may not use this file except in compliance with the License.
You may obtain a copy of the License at
Expand Down
2 changes: 0 additions & 2 deletions pkg/controllers/nodeclass/termination/events.go
Original file line number Diff line number Diff line change
@@ -1,6 +1,4 @@
/*
Copyright 2024 The CloudPilot AI Authors.

Licensed under the Apache License, Version 2.0 (the "License");
you may not use this file except in compliance with the License.
You may obtain a copy of the License at
Expand Down
2 changes: 0 additions & 2 deletions pkg/controllers/providers/instancetype/instancetype.go
Original file line number Diff line number Diff line change
@@ -1,6 +1,4 @@
/*
Copyright 2024 The CloudPilot AI Authors.

Licensed under the Apache License, Version 2.0 (the "License");
you may not use this file except in compliance with the License.
You may obtain a copy of the License at
Expand Down
2 changes: 0 additions & 2 deletions pkg/operator/operator.go
Original file line number Diff line number Diff line change
@@ -1,6 +1,4 @@
/*
Copyright 2024 The CloudPilot AI Authors.

Licensed under the Apache License, Version 2.0 (the "License");
you may not use this file except in compliance with the License.
You may obtain a copy of the License at
Expand Down
2 changes: 0 additions & 2 deletions pkg/operator/options/options.go
Original file line number Diff line number Diff line change
@@ -1,6 +1,4 @@
/*
Copyright 2024 The CloudPilot AI Authors.

Licensed under the Apache License, Version 2.0 (the "License");
you may not use this file except in compliance with the License.
You may obtain a copy of the License at
Expand Down
4 changes: 1 addition & 3 deletions pkg/operator/options/options_validation.go
Original file line number Diff line number Diff line change
@@ -1,11 +1,9 @@
/*
Copyright 2024 The CloudPilot AI Authors.

Licensed under the Apache License, Version 2.0 (the "License");
you may not use this file except in compliance with the License.
You may obtain a copy of the License at

http://www.apache.org/licenses/LICENSE-2.0
http://www.apache.org/licenses/LICENSE-2.0

Unless required by applicable law or agreed to in writing, software
distributed under the License is distributed on an "AS IS" BASIS,
Expand Down
2 changes: 0 additions & 2 deletions pkg/providers/instance/types.go
Original file line number Diff line number Diff line change
@@ -1,6 +1,4 @@
/*
Copyright 2024 The CloudPilot AI Authors.

Licensed under the Apache License, Version 2.0 (the "License");
you may not use this file except in compliance with the License.
You may obtain a copy of the License at
Expand Down
2 changes: 0 additions & 2 deletions pkg/providers/instancetype/instancetype.go
Original file line number Diff line number Diff line change
@@ -1,6 +1,4 @@
/*
Copyright 2024 The CloudPilot AI Authors.

Licensed under the Apache License, Version 2.0 (the "License");
you may not use this file except in compliance with the License.
You may obtain a copy of the License at
Expand Down
4 changes: 1 addition & 3 deletions pkg/providers/instancetype/types.go
Original file line number Diff line number Diff line change
@@ -1,11 +1,9 @@
/*
Copyright 2024 The CloudPilot AI Authors.

Licensed under the Apache License, Version 2.0 (the "License");
you may not use this file except in compliance with the License.
You may obtain a copy of the License at

http://www.apache.org/licenses/LICENSE-2.0
http://www.apache.org/licenses/LICENSE-2.0

Unless required by applicable law or agreed to in writing, software
distributed under the License is distributed on an "AS IS" BASIS,
Expand Down