Skip to content

Commit

Permalink
fix license
Browse files Browse the repository at this point in the history
Signed-off-by: helen <helenfrank@protonmail.com>
  • Loading branch information
helen-frank committed Nov 20, 2024
1 parent 9ef9410 commit f6f070a
Show file tree
Hide file tree
Showing 31 changed files with 16 additions and 68 deletions.
10 changes: 7 additions & 3 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -44,9 +44,9 @@ 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%">

Expand All @@ -57,3 +57,7 @@ Karpenter Alibaba Cloud Provider adopts [CNCF code of conduct](https://github.co
## License

Karpenter Alibaba Cloud Provider is under the Apache 2.0 license. See the [LICENSE](LICENSE) file for details.

## 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).
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/instance.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/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
2 changes: 0 additions & 2 deletions pkg/providers/securitygroup/securitygroup.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

0 comments on commit f6f070a

Please sign in to comment.