Skip to content

Commit a770a36

Browse files
add more describe of code which introduce by three party open source project
Signed-off-by: LiZhenCheng9527 <lizhencheng6@huawei.com>
1 parent ac68f35 commit a770a36

File tree

9 files changed

+118
-6
lines changed

9 files changed

+118
-6
lines changed

NOTICE

Lines changed: 88 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,91 @@
1+
OPEN SOURCE SOFTWARE NOTICE
2+
3+
Please note we provide an open source software notice for the third party open source software along with this software and/or this software component (in the following just “this SOFTWARE”). The open source software licenses are granted by the respective right holders.
4+
5+
Warranty Disclaimer
6+
THE OPEN SOURCE SOFTWARE IN THIS PRODUCT IS DISTRIBUTED IN THE HOPE THAT IT WILL BE USEFUL, BUT WITHOUT ANY WARRANTY, WITHOUT EVEN THE IMPLIED WARRANTY OF MERCHANTABILITY OR FITNESS FOR A PARTICULAR PURPOSE. SEE THE APPLICABLE LICENSES FOR MORE DETAILS.
7+
8+
Copyright Notice and License Texts
9+
---------------
10+
File: cmd/cluster-operator/aws/aws.go
11+
cmd/cluster-operator/options/aws.go
12+
cmd/cluster-operator/options/options.go
13+
cmd/cluster-operator/scheme/aws.go
14+
Refer to: kubernetes-sigs/cluster-api-provider-aws
15+
Copyright 2018 The Kubernetes Authors.
16+
17+
Licensed under the Apache License, Version 2.0 (the "License");
18+
you may not use this file except in compliance with the License.
19+
You may obtain a copy of the License at
20+
21+
http://www.apache.org/licenses/LICENSE-2.0
22+
23+
Unless required by applicable law or agreed to in writing, software
24+
distributed under the License is distributed on an "AS IS" BASIS,
25+
WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
26+
See the License for the specific language governing permissions and
27+
limitations under the License.
28+
License: Apache-2.0 license
29+
---------------
30+
File: cmd/cluster-operator/capi/capi.go
31+
cmd/cluster-operator/scheme/capi.go
32+
Refer to: kubernetes-sigs/cluster-api
33+
Copyright 2018 The Kubernetes Authors.
34+
35+
Licensed under the Apache License, Version 2.0 (the "License");
36+
you may not use this file except in compliance with the License.
37+
You may obtain a copy of the License at
38+
39+
http://www.apache.org/licenses/LICENSE-2.0
40+
41+
Unless required by applicable law or agreed to in writing, software
42+
distributed under the License is distributed on an "AS IS" BASIS,
43+
WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
44+
See the License for the specific language governing permissions and
45+
limitations under the License.
46+
License: Apache-2.0 license
47+
---------------
48+
File: pkg/apis/apps/v1alpha1/helm_release.go
49+
Refer to: fluxcd/helm-controller
50+
Copyright 2018 The Kubernetes Authors.
51+
52+
Licensed under the Apache License, Version 2.0 (the "License");
53+
you may not use this file except in compliance with the License.
54+
You may obtain a copy of the License at
55+
56+
http://www.apache.org/licenses/LICENSE-2.0
57+
58+
Unless required by applicable law or agreed to in writing, software
59+
distributed under the License is distributed on an "AS IS" BASIS,
60+
WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
61+
See the License for the specific language governing permissions and
62+
limitations under the License.
63+
License: Apache-2.0 license
64+
---------------
65+
File: pkg/apis/apps/v1alpha1/kustomization.go
66+
Refer to: fluxcd/kustomize-controller
67+
Copyright 2018 The Kubernetes Authors.
68+
69+
Licensed under the Apache License, Version 2.0 (the "License");
70+
you may not use this file except in compliance with the License.
71+
You may obtain a copy of the License at
72+
73+
http://www.apache.org/licenses/LICENSE-2.0
74+
75+
Unless required by applicable law or agreed to in writing, software
76+
distributed under the License is distributed on an "AS IS" BASIS,
77+
WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
78+
See the License for the specific language governing permissions and
79+
limitations under the License.
80+
License: Apache-2.0 license
81+
---------------
82+
File pkg/util/untar.go
83+
Refer to: golang/build
84+
Copyright 2017 The Go Authors. All rights reserved.
85+
Use of this source code is governed by a BSD-style
86+
license that can be found in the LICENSE file.
87+
License: BSD 3-Clause "New" or "Revised" License
88+
189
%% Kurator NOTICE
290
===========================================
391
Copyright Kurator Authors.

docs/content/en/references/backups_v1alpha1_types.html

Lines changed: 11 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -211,7 +211,10 @@ <h3 id="backup.kurator.dev/v1alpha1.BackupPolicy">BackupPolicy
211211
(<em>Appears on:</em>
212212
<a href="#backup.kurator.dev/v1alpha1.BackupSpec">BackupSpec</a>)
213213
</p>
214-
<p>Note: partly copied from <a href="https://github.com/vmware-tanzu/velero/blob/v1.11.1/pkg/apis/velero/v1/backup_types.go">https://github.com/vmware-tanzu/velero/blob/v1.11.1/pkg/apis/velero/v1/backup_types.go</a>
214+
<p>Note: This code partly copied from <a href="https://github.com/vmware-tanzu/velero/blob/v1.11.1/pkg/apis/velero/v1/backup_types.go">https://github.com/vmware-tanzu/velero/blob/v1.11.1/pkg/apis/velero/v1/backup_types.go</a>
215+
Refer to: vmware-tanzu/velero
216+
Original license: Apache-2.0
217+
Copyright: Copyright &copy; 2017-2023 velero, Inc. All Rights Reserved.
215218
BackupPolicy defines the specification for a backup policy.</p>
216219
<div class="md-typeset__scrollwrap">
217220
<div class="md-typeset__table td-content">
@@ -861,7 +864,10 @@ <h3 id="backup.kurator.dev/v1alpha1.ResourceFilter">ResourceFilter
861864
<a href="#backup.kurator.dev/v1alpha1.MigratePolicy">MigratePolicy</a>,
862865
<a href="#backup.kurator.dev/v1alpha1.RestorePolicy">RestorePolicy</a>)
863866
</p>
864-
<p>Note: partly copied from <a href="https://github.com/vmware-tanzu/velero/blob/v1.11.1/pkg/apis/velero/v1/backup_types.go">https://github.com/vmware-tanzu/velero/blob/v1.11.1/pkg/apis/velero/v1/backup_types.go</a></p>
867+
<p>Note: partly copied from <a href="https://github.com/vmware-tanzu/velero/blob/v1.11.1/pkg/apis/velero/v1/backup_types.go">https://github.com/vmware-tanzu/velero/blob/v1.11.1/pkg/apis/velero/v1/backup_types.go</a>
868+
Refer to: vmware-tanzu/velero
869+
Original license: Apache-2.0
870+
Copyright: Copyright &copy; 2017-2023 velero, Inc. All Rights Reserved.</p>
865871
<div class="md-typeset__scrollwrap">
866872
<div class="md-typeset__table td-content">
867873
<table>
@@ -1207,6 +1213,9 @@ <h3 id="backup.kurator.dev/v1alpha1.RestorePolicy">RestorePolicy
12071213
<a href="#backup.kurator.dev/v1alpha1.RestoreSpec">RestoreSpec</a>)
12081214
</p>
12091215
<p>Note: partly copied from <a href="https://github.com/vmware-tanzu/velero/blob/v1.11.1/pkg/apis/velero/v1/restore_types.go">https://github.com/vmware-tanzu/velero/blob/v1.11.1/pkg/apis/velero/v1/restore_types.go</a>
1216+
Refer to: vmware-tanzu/velero
1217+
Original license: Apache-2.0
1218+
Copyright: Copyright &copy; 2017-2023 velero, Inc. All Rights Reserved.
12101219
RestorePolicy defines the specification for a Velero restore.</p>
12111220
<div class="md-typeset__scrollwrap">
12121221
<div class="md-typeset__table td-content">

pkg/apis/apps/v1alpha1/helm_release.go

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
/*
2-
Copyright Kurator Authors.
2+
Copyright 2020 The Flux authors
33
44
Licensed under the Apache License, Version 2.0 (the "License");
55
you may not use this file except in compliance with the License.

pkg/apis/apps/v1alpha1/kustomization.go

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
/*
2-
Copyright Kurator Authors.
2+
Copyright 2023 The Flux authors
33
44
Licensed under the Apache License, Version 2.0 (the "License");
55
you may not use this file except in compliance with the License.

pkg/apis/backups/v1alpha1/backup_type.go

Lines changed: 4 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -64,7 +64,10 @@ type BackupSpec struct {
6464
Policy *BackupPolicy `json:"policy,omitempty"`
6565
}
6666

67-
// Note: partly copied from https://github.com/vmware-tanzu/velero/blob/v1.11.1/pkg/apis/velero/v1/backup_types.go
67+
// Note: This code partly copied from https://github.com/vmware-tanzu/velero/blob/v1.11.1/pkg/apis/velero/v1/backup_types.go
68+
// Refer to: vmware-tanzu/velero
69+
// Original license: Apache-2.0
70+
// Copyright: Copyright (c) 2017-2023 velero, Inc. All Rights Reserved.
6871
// BackupPolicy defines the specification for a backup policy.
6972
type BackupPolicy struct {
7073
// ResourceFilter specifies which resources should be included in the backup.

pkg/apis/backups/v1alpha1/common_type.go

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -35,6 +35,9 @@ type Destination struct {
3535
}
3636

3737
// Note: partly copied from https://github.com/vmware-tanzu/velero/blob/v1.11.1/pkg/apis/velero/v1/backup_types.go
38+
// Refer to: vmware-tanzu/velero
39+
// Original license: Apache-2.0
40+
// Copyright: Copyright (c) 2017-2023 velero, Inc. All Rights Reserved.
3841
type ResourceFilter struct {
3942
// IncludedNamespaces is a list of namespace names to include objects from.
4043
// If empty, all namespaces are included.

pkg/apis/backups/v1alpha1/restore_type.go

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -53,6 +53,9 @@ type RestoreSpec struct {
5353
}
5454

5555
// Note: partly copied from https://github.com/vmware-tanzu/velero/blob/v1.11.1/pkg/apis/velero/v1/restore_types.go
56+
// Refer to: vmware-tanzu/velero
57+
// Original license: Apache-2.0
58+
// Copyright: Copyright (c) 2017-2023 velero, Inc. All Rights Reserved.
5659
// RestorePolicy defines the specification for a Velero restore.
5760
type RestorePolicy struct {
5861
// ResourceFilter is the filter for the resources to be restored.

pkg/client/client.go

Lines changed: 4 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -143,7 +143,10 @@ func (c *Client) UpdateResource(obj interface{}) error {
143143
return err
144144
}
145145

146-
// Copied from karmada, because we do not want to build the controller-runtime client.
146+
// Note: partly copied from https://github.com/karmada-io/karmada/blob/592fa3224d48e5b5f60f9202bd5547df53ef4588/pkg/util/membercluster_client.go
147+
// Refer to: karmada-io/karmada
148+
// Original license: Apache-2.0
149+
// Copyright: Copyright (c) 2020-2025 karmada, Inc. All Rights Reserved.
147150
func (c *Client) memberClusterConfig(clusterName string) (*rest.Config, error) {
148151
cluster, err := c.karmada.ClusterV1alpha1().Clusters().Get(context.TODO(), clusterName, metav1.GetOptions{})
149152
if err != nil {

pkg/infra/openid/cert.go

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -40,6 +40,9 @@ type KeyResponse struct {
4040
}
4141

4242
// copied from https://github.com/aws/amazon-eks-pod-identity-webhook/blob/master/hack/self-hosted/main.go
43+
// Refer to aws/amazon-eks-pod-identity-webhook
44+
// Original license: Apache-2.0
45+
// Copyright: Copyright 2019 Amazon.com, Inc. or its affiliates. All Rights Reserved.
4346
func NewCert() (*Cert, error) {
4447
privateKey, err := rsa.GenerateKey(rand.Reader, 2048)
4548
if err != nil {

0 commit comments

Comments
 (0)