asifdxtreme closed pull request #494: SCB-1028 Fix License Files URL: https://github.com/apache/servicecomb-service-center/pull/494
This is a PR merged from a forked repository. As GitHub hides the original diff on merge, it is displayed below for the sake of provenance: As this is a foreign pull request (from a fork), the diff is supplied below (as it won't show otherwise due to GitHub magic): diff --git a/docker-compose.yml b/docker-compose.yml index 9a9a01dc..c7be231e 100644 --- a/docker-compose.yml +++ b/docker-compose.yml @@ -1,3 +1,19 @@ +## --------------------------------------------------------------------------- +## Licensed to the Apache Software Foundation (ASF) under one or more +## contributor license agreements. See the NOTICE file distributed with +## this work for additional information regarding copyright ownership. +## The ASF licenses this file to You 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 +## +## 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. +## --------------------------------------------------------------------------- version: '3' services: etcd: diff --git a/docs/release/Readme.md b/docs/release/Readme.md index 3ceb1763..e01bca87 100644 --- a/docs/release/Readme.md +++ b/docs/release/Readme.md @@ -28,7 +28,7 @@ cp apache-rat-0.12/apache-rat-0.12.jar ./ Run the Rat tool using the below command ``` -java -jar apache-rat-0.12.jar -a -d servicecomb-service-center/ -e *.md *.MD .gitignore .gitmodules .travis.yml manifest **vendor** **licenses** bower.json +java -jar apache-rat-0.12.jar -a -d servicecomb-service-center/ -e *.md *.MD .gitignore .gitmodules .travis.yml manifest **vendor** **licenses** bower.json cert_pwd *.cer *.tpl glide.yaml go.mod go.sum ``` Below is the list of the files which has been excluded from the list of RAT tool. @@ -36,7 +36,9 @@ Below is the list of the files which has been excluded from the list of RAT tool - .gitignore .gitmodules .travis.yml : Skip the git files and travis file. - manifest **vendor : Skip manifest and all the files under vendor. - bower.json : Skip bower installation file - + - cert_pwd server.cer trust.cer : Skip ssl files + - *.tpl : Ignore template files + - glide.yaml go.mod go.sum : Skip dependency config files You can access the latest RAT report [here](/docs/release/rat-report) diff --git a/examples/infrastructures/docker/docker-compose.yml b/examples/infrastructures/docker/docker-compose.yml index bab0ac45..b54a2106 100644 --- a/examples/infrastructures/docker/docker-compose.yml +++ b/examples/infrastructures/docker/docker-compose.yml @@ -1,3 +1,19 @@ +## --------------------------------------------------------------------------- +## Licensed to the Apache Software Foundation (ASF) under one or more +## contributor license agreements. See the NOTICE file distributed with +## this work for additional information regarding copyright ownership. +## The ASF licenses this file to You 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 +## +## 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. +## --------------------------------------------------------------------------- version: '3' services: prometheus: diff --git a/examples/infrastructures/docker/prometheus.yml b/examples/infrastructures/docker/prometheus.yml index 514df3b8..f1c203c6 100644 --- a/examples/infrastructures/docker/prometheus.yml +++ b/examples/infrastructures/docker/prometheus.yml @@ -1,3 +1,20 @@ +## --------------------------------------------------------------------------- +## Licensed to the Apache Software Foundation (ASF) under one or more +## contributor license agreements. See the NOTICE file distributed with +## this work for additional information regarding copyright ownership. +## The ASF licenses this file to You 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 +## +## 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. +## --------------------------------------------------------------------------- + # my global config global: scrape_interval: 15s # Set the scrape interval to every 15 seconds. Default is every 1 minute. diff --git a/examples/infrastructures/k8s/etcd/Chart.yaml b/examples/infrastructures/k8s/etcd/Chart.yaml index 7b56bd94..c2b1b531 100644 --- a/examples/infrastructures/k8s/etcd/Chart.yaml +++ b/examples/infrastructures/k8s/etcd/Chart.yaml @@ -1,3 +1,19 @@ +## --------------------------------------------------------------------------- +## Licensed to the Apache Software Foundation (ASF) under one or more +## contributor license agreements. See the NOTICE file distributed with +## this work for additional information regarding copyright ownership. +## The ASF licenses this file to You 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 +## +## 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. +## --------------------------------------------------------------------------- apiVersion: v1 description: A Helm chart for Kubernetes name: etcd diff --git a/examples/infrastructures/k8s/etcd/charts/etcd-operator/.helmignore b/examples/infrastructures/k8s/etcd/charts/etcd-operator/.helmignore index f0c13194..4c97b8ed 100644 --- a/examples/infrastructures/k8s/etcd/charts/etcd-operator/.helmignore +++ b/examples/infrastructures/k8s/etcd/charts/etcd-operator/.helmignore @@ -1,3 +1,20 @@ +## --------------------------------------------------------------------------- +## Licensed to the Apache Software Foundation (ASF) under one or more +## contributor license agreements. See the NOTICE file distributed with +## this work for additional information regarding copyright ownership. +## The ASF licenses this file to You 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 +## +## 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. +## --------------------------------------------------------------------------- + # Patterns to ignore when building packages. # This supports shell glob matching, relative path matching, and # negation (prefixed with !). Only one pattern per line. diff --git a/examples/infrastructures/k8s/etcd/charts/etcd-operator/Chart.yaml b/examples/infrastructures/k8s/etcd/charts/etcd-operator/Chart.yaml index 36f89243..1182e572 100644 --- a/examples/infrastructures/k8s/etcd/charts/etcd-operator/Chart.yaml +++ b/examples/infrastructures/k8s/etcd/charts/etcd-operator/Chart.yaml @@ -1,3 +1,19 @@ +## --------------------------------------------------------------------------- +## Licensed to the Apache Software Foundation (ASF) under one or more +## contributor license agreements. See the NOTICE file distributed with +## this work for additional information regarding copyright ownership. +## The ASF licenses this file to You 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 +## +## 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. +## --------------------------------------------------------------------------- apiVersion: v1 appVersion: 0.9.2 description: CoreOS etcd-operator Helm chart for Kubernetes diff --git a/examples/infrastructures/k8s/etcd/charts/etcd-operator/OWNERS b/examples/infrastructures/k8s/etcd/charts/etcd-operator/OWNERS deleted file mode 100644 index e7cf8709..00000000 --- a/examples/infrastructures/k8s/etcd/charts/etcd-operator/OWNERS +++ /dev/null @@ -1,8 +0,0 @@ -approvers: -- lachie83 -- chancez -- alejandroEsc -reviewers: -- lachie83 -- chancez -- alejandroEsc diff --git a/examples/infrastructures/k8s/etcd/charts/etcd-operator/templates/NOTES.txt b/examples/infrastructures/k8s/etcd/charts/etcd-operator/templates/NOTES.txt index c33ee014..7ddde1dc 100644 --- a/examples/infrastructures/k8s/etcd/charts/etcd-operator/templates/NOTES.txt +++ b/examples/infrastructures/k8s/etcd/charts/etcd-operator/templates/NOTES.txt @@ -1,3 +1,19 @@ +## --------------------------------------------------------------------------- +## Licensed to the Apache Software Foundation (ASF) under one or more +## contributor license agreements. See the NOTICE file distributed with +## this work for additional information regarding copyright ownership. +## The ASF licenses this file to You 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 +## +## 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. +## --------------------------------------------------------------------------- {{- $clusterEnabled := (and (not .Release.IsInstall) .Values.customResources.createEtcdClusterCRD) -}} {{- if and .Release.IsInstall .Values.customResources.createEtcdClusterCRD -}} Not enabling cluster, the ThirdPartResource must be installed before you can create a Cluster. Continuing rest of normal deployment. diff --git a/examples/infrastructures/k8s/etcd/charts/etcd-operator/templates/backup-etcd-crd.yaml b/examples/infrastructures/k8s/etcd/charts/etcd-operator/templates/backup-etcd-crd.yaml index 5528f766..41967bb4 100644 --- a/examples/infrastructures/k8s/etcd/charts/etcd-operator/templates/backup-etcd-crd.yaml +++ b/examples/infrastructures/k8s/etcd/charts/etcd-operator/templates/backup-etcd-crd.yaml @@ -1,3 +1,19 @@ +## --------------------------------------------------------------------------- +## Licensed to the Apache Software Foundation (ASF) under one or more +## contributor license agreements. See the NOTICE file distributed with +## this work for additional information regarding copyright ownership. +## The ASF licenses this file to You 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 +## +## 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. +## --------------------------------------------------------------------------- {{- if .Values.customResources.createBackupCRD }} --- apiVersion: "etcd.database.coreos.com/v1beta2" diff --git a/examples/infrastructures/k8s/etcd/charts/etcd-operator/templates/backup-operator-clusterrole-binding.yaml b/examples/infrastructures/k8s/etcd/charts/etcd-operator/templates/backup-operator-clusterrole-binding.yaml index 526b2454..6e0b78ec 100644 --- a/examples/infrastructures/k8s/etcd/charts/etcd-operator/templates/backup-operator-clusterrole-binding.yaml +++ b/examples/infrastructures/k8s/etcd/charts/etcd-operator/templates/backup-operator-clusterrole-binding.yaml @@ -1,3 +1,19 @@ +## --------------------------------------------------------------------------- +## Licensed to the Apache Software Foundation (ASF) under one or more +## contributor license agreements. See the NOTICE file distributed with +## this work for additional information regarding copyright ownership. +## The ASF licenses this file to You 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 +## +## 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. +## --------------------------------------------------------------------------- {{- if and .Values.rbac.create .Values.deployments.backupOperator }} --- kind: ClusterRoleBinding diff --git a/examples/infrastructures/k8s/etcd/charts/etcd-operator/templates/backup-operator-deployment.yaml b/examples/infrastructures/k8s/etcd/charts/etcd-operator/templates/backup-operator-deployment.yaml index d5c421c1..c48a2dd6 100644 --- a/examples/infrastructures/k8s/etcd/charts/etcd-operator/templates/backup-operator-deployment.yaml +++ b/examples/infrastructures/k8s/etcd/charts/etcd-operator/templates/backup-operator-deployment.yaml @@ -1,3 +1,19 @@ +## --------------------------------------------------------------------------- +## Licensed to the Apache Software Foundation (ASF) under one or more +## contributor license agreements. See the NOTICE file distributed with +## this work for additional information regarding copyright ownership. +## The ASF licenses this file to You 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 +## +## 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. +## --------------------------------------------------------------------------- {{- if .Values.deployments.backupOperator }} --- apiVersion: apps/v1beta2 diff --git a/examples/infrastructures/k8s/etcd/charts/etcd-operator/templates/backup-operator-service-account.yaml b/examples/infrastructures/k8s/etcd/charts/etcd-operator/templates/backup-operator-service-account.yaml index 06aec3df..18cdab2b 100644 --- a/examples/infrastructures/k8s/etcd/charts/etcd-operator/templates/backup-operator-service-account.yaml +++ b/examples/infrastructures/k8s/etcd/charts/etcd-operator/templates/backup-operator-service-account.yaml @@ -1,3 +1,19 @@ +## --------------------------------------------------------------------------- +## Licensed to the Apache Software Foundation (ASF) under one or more +## contributor license agreements. See the NOTICE file distributed with +## this work for additional information regarding copyright ownership. +## The ASF licenses this file to You 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 +## +## 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. +## --------------------------------------------------------------------------- {{- if and .Values.serviceAccount.backupOperatorServiceAccount.create .Values.deployments.backupOperator }} --- apiVersion: v1 diff --git a/examples/infrastructures/k8s/etcd/charts/etcd-operator/templates/etcd-cluster-crd.yaml b/examples/infrastructures/k8s/etcd/charts/etcd-operator/templates/etcd-cluster-crd.yaml index 0d385d8f..ed0b0408 100644 --- a/examples/infrastructures/k8s/etcd/charts/etcd-operator/templates/etcd-cluster-crd.yaml +++ b/examples/infrastructures/k8s/etcd/charts/etcd-operator/templates/etcd-cluster-crd.yaml @@ -1,3 +1,19 @@ +## --------------------------------------------------------------------------- +## Licensed to the Apache Software Foundation (ASF) under one or more +## contributor license agreements. See the NOTICE file distributed with +## this work for additional information regarding copyright ownership. +## The ASF licenses this file to You 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 +## +## 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. +## --------------------------------------------------------------------------- {{- if .Values.customResources.createEtcdClusterCRD }} --- apiVersion: "etcd.database.coreos.com/v1beta2" diff --git a/examples/infrastructures/k8s/etcd/charts/etcd-operator/templates/operator-cluster-role.yaml b/examples/infrastructures/k8s/etcd/charts/etcd-operator/templates/operator-cluster-role.yaml index 62085978..b8d656c6 100644 --- a/examples/infrastructures/k8s/etcd/charts/etcd-operator/templates/operator-cluster-role.yaml +++ b/examples/infrastructures/k8s/etcd/charts/etcd-operator/templates/operator-cluster-role.yaml @@ -1,3 +1,19 @@ +## --------------------------------------------------------------------------- +## Licensed to the Apache Software Foundation (ASF) under one or more +## contributor license agreements. See the NOTICE file distributed with +## this work for additional information regarding copyright ownership. +## The ASF licenses this file to You 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 +## +## 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. +## --------------------------------------------------------------------------- {{- if .Values.rbac.create }} --- apiVersion: rbac.authorization.k8s.io/{{ .Values.rbac.apiVersion }} diff --git a/examples/infrastructures/k8s/etcd/charts/etcd-operator/templates/operator-clusterrole-binding.yaml b/examples/infrastructures/k8s/etcd/charts/etcd-operator/templates/operator-clusterrole-binding.yaml index 09594ccc..9dc62f0e 100644 --- a/examples/infrastructures/k8s/etcd/charts/etcd-operator/templates/operator-clusterrole-binding.yaml +++ b/examples/infrastructures/k8s/etcd/charts/etcd-operator/templates/operator-clusterrole-binding.yaml @@ -1,3 +1,19 @@ +## --------------------------------------------------------------------------- +## Licensed to the Apache Software Foundation (ASF) under one or more +## contributor license agreements. See the NOTICE file distributed with +## this work for additional information regarding copyright ownership. +## The ASF licenses this file to You 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 +## +## 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. +## --------------------------------------------------------------------------- {{- if and .Values.rbac.create .Values.deployments.etcdOperator }} --- kind: ClusterRoleBinding diff --git a/examples/infrastructures/k8s/etcd/charts/etcd-operator/templates/operator-deployment.yaml b/examples/infrastructures/k8s/etcd/charts/etcd-operator/templates/operator-deployment.yaml index bb6b1a75..de6d0884 100644 --- a/examples/infrastructures/k8s/etcd/charts/etcd-operator/templates/operator-deployment.yaml +++ b/examples/infrastructures/k8s/etcd/charts/etcd-operator/templates/operator-deployment.yaml @@ -1,3 +1,19 @@ +## --------------------------------------------------------------------------- +## Licensed to the Apache Software Foundation (ASF) under one or more +## contributor license agreements. See the NOTICE file distributed with +## this work for additional information regarding copyright ownership. +## The ASF licenses this file to You 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 +## +## 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. +## --------------------------------------------------------------------------- {{- if .Values.deployments.etcdOperator }} --- apiVersion: apps/v1beta2 diff --git a/examples/infrastructures/k8s/etcd/charts/etcd-operator/templates/operator-service-account.yaml b/examples/infrastructures/k8s/etcd/charts/etcd-operator/templates/operator-service-account.yaml index 2faba8af..6334a5bf 100644 --- a/examples/infrastructures/k8s/etcd/charts/etcd-operator/templates/operator-service-account.yaml +++ b/examples/infrastructures/k8s/etcd/charts/etcd-operator/templates/operator-service-account.yaml @@ -1,3 +1,19 @@ +## --------------------------------------------------------------------------- +## Licensed to the Apache Software Foundation (ASF) under one or more +## contributor license agreements. See the NOTICE file distributed with +## this work for additional information regarding copyright ownership. +## The ASF licenses this file to You 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 +## +## 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. +## --------------------------------------------------------------------------- {{- if and .Values.serviceAccount.etcdOperatorServiceAccount.create .Values.deployments.etcdOperator }} --- apiVersion: v1 diff --git a/examples/infrastructures/k8s/etcd/charts/etcd-operator/templates/restore-etcd-crd.yaml b/examples/infrastructures/k8s/etcd/charts/etcd-operator/templates/restore-etcd-crd.yaml index 73faaab8..31e6c38a 100644 --- a/examples/infrastructures/k8s/etcd/charts/etcd-operator/templates/restore-etcd-crd.yaml +++ b/examples/infrastructures/k8s/etcd/charts/etcd-operator/templates/restore-etcd-crd.yaml @@ -1,3 +1,19 @@ +## --------------------------------------------------------------------------- +## Licensed to the Apache Software Foundation (ASF) under one or more +## contributor license agreements. See the NOTICE file distributed with +## this work for additional information regarding copyright ownership. +## The ASF licenses this file to You 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 +## +## 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. +## --------------------------------------------------------------------------- {{- if .Values.customResources.createRestoreCRD }} --- apiVersion: "etcd.database.coreos.com/v1beta2" diff --git a/examples/infrastructures/k8s/etcd/charts/etcd-operator/templates/restore-operator-clusterrole-binding.yaml b/examples/infrastructures/k8s/etcd/charts/etcd-operator/templates/restore-operator-clusterrole-binding.yaml index 9a6696ef..cdb08306 100644 --- a/examples/infrastructures/k8s/etcd/charts/etcd-operator/templates/restore-operator-clusterrole-binding.yaml +++ b/examples/infrastructures/k8s/etcd/charts/etcd-operator/templates/restore-operator-clusterrole-binding.yaml @@ -1,3 +1,19 @@ +## --------------------------------------------------------------------------- +## Licensed to the Apache Software Foundation (ASF) under one or more +## contributor license agreements. See the NOTICE file distributed with +## this work for additional information regarding copyright ownership. +## The ASF licenses this file to You 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 +## +## 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. +## --------------------------------------------------------------------------- {{- if and .Values.rbac.create .Values.deployments.restoreOperator }} --- kind: ClusterRoleBinding diff --git a/examples/infrastructures/k8s/etcd/charts/etcd-operator/templates/restore-operator-deployment.yaml b/examples/infrastructures/k8s/etcd/charts/etcd-operator/templates/restore-operator-deployment.yaml index 5c4784de..1cff1eb1 100644 --- a/examples/infrastructures/k8s/etcd/charts/etcd-operator/templates/restore-operator-deployment.yaml +++ b/examples/infrastructures/k8s/etcd/charts/etcd-operator/templates/restore-operator-deployment.yaml @@ -1,3 +1,19 @@ +## --------------------------------------------------------------------------- +## Licensed to the Apache Software Foundation (ASF) under one or more +## contributor license agreements. See the NOTICE file distributed with +## this work for additional information regarding copyright ownership. +## The ASF licenses this file to You 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 +## +## 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. +## --------------------------------------------------------------------------- {{- if .Values.deployments.restoreOperator }} --- apiVersion: apps/v1beta2 diff --git a/examples/infrastructures/k8s/etcd/charts/etcd-operator/templates/restore-operator-service-account.yaml b/examples/infrastructures/k8s/etcd/charts/etcd-operator/templates/restore-operator-service-account.yaml index 595cee92..b696e02f 100644 --- a/examples/infrastructures/k8s/etcd/charts/etcd-operator/templates/restore-operator-service-account.yaml +++ b/examples/infrastructures/k8s/etcd/charts/etcd-operator/templates/restore-operator-service-account.yaml @@ -1,3 +1,19 @@ +## --------------------------------------------------------------------------- +## Licensed to the Apache Software Foundation (ASF) under one or more +## contributor license agreements. See the NOTICE file distributed with +## this work for additional information regarding copyright ownership. +## The ASF licenses this file to You 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 +## +## 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. +## --------------------------------------------------------------------------- {{- if and .Values.serviceAccount.restoreOperatorServiceAccount.create .Values.deployments.restoreOperator }} --- apiVersion: v1 diff --git a/examples/infrastructures/k8s/etcd/charts/etcd-operator/templates/restore-operator-service.yaml b/examples/infrastructures/k8s/etcd/charts/etcd-operator/templates/restore-operator-service.yaml index 052be364..a9046b3c 100644 --- a/examples/infrastructures/k8s/etcd/charts/etcd-operator/templates/restore-operator-service.yaml +++ b/examples/infrastructures/k8s/etcd/charts/etcd-operator/templates/restore-operator-service.yaml @@ -1,3 +1,19 @@ +## --------------------------------------------------------------------------- +## Licensed to the Apache Software Foundation (ASF) under one or more +## contributor license agreements. See the NOTICE file distributed with +## this work for additional information regarding copyright ownership. +## The ASF licenses this file to You 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 +## +## 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. +## --------------------------------------------------------------------------- {{- if .Values.deployments.restoreOperator }} --- apiVersion: v1 diff --git a/examples/infrastructures/k8s/etcd/charts/etcd-operator/values.yaml b/examples/infrastructures/k8s/etcd/charts/etcd-operator/values.yaml index 91a530f3..582f1434 100644 --- a/examples/infrastructures/k8s/etcd/charts/etcd-operator/values.yaml +++ b/examples/infrastructures/k8s/etcd/charts/etcd-operator/values.yaml @@ -1,3 +1,20 @@ +## --------------------------------------------------------------------------- +## Licensed to the Apache Software Foundation (ASF) under one or more +## contributor license agreements. See the NOTICE file distributed with +## this work for additional information regarding copyright ownership. +## The ASF licenses this file to You 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 +## +## 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. +## --------------------------------------------------------------------------- + # Default values for etcd-operator. # This is a YAML-formatted file. # Declare variables to be passed into your templates. diff --git a/examples/infrastructures/k8s/etcd/templates/deployment.yaml b/examples/infrastructures/k8s/etcd/templates/deployment.yaml index ac3dddd1..cf430d11 100644 --- a/examples/infrastructures/k8s/etcd/templates/deployment.yaml +++ b/examples/infrastructures/k8s/etcd/templates/deployment.yaml @@ -1,3 +1,20 @@ +## --------------------------------------------------------------------------- +## Licensed to the Apache Software Foundation (ASF) under one or more +## contributor license agreements. See the NOTICE file distributed with +## this work for additional information regarding copyright ownership. +## The ASF licenses this file to You 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 +## +## 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. +## --------------------------------------------------------------------------- + apiVersion: "etcd.database.coreos.com/v1beta2" kind: "EtcdCluster" metadata: diff --git a/examples/infrastructures/k8s/etcd/values.yaml b/examples/infrastructures/k8s/etcd/values.yaml index f14c902d..d1ef102e 100644 --- a/examples/infrastructures/k8s/etcd/values.yaml +++ b/examples/infrastructures/k8s/etcd/values.yaml @@ -1,3 +1,20 @@ +## --------------------------------------------------------------------------- +## Licensed to the Apache Software Foundation (ASF) under one or more +## contributor license agreements. See the NOTICE file distributed with +## this work for additional information regarding copyright ownership. +## The ASF licenses this file to You 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 +## +## 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. +## --------------------------------------------------------------------------- + # Default values for etcd. # This is a YAML-formatted file. # Declare variables to be passed into your templates. diff --git a/examples/infrastructures/k8s/service-center/.helmignore b/examples/infrastructures/k8s/service-center/.helmignore index f0c13194..4c97b8ed 100644 --- a/examples/infrastructures/k8s/service-center/.helmignore +++ b/examples/infrastructures/k8s/service-center/.helmignore @@ -1,3 +1,20 @@ +## --------------------------------------------------------------------------- +## Licensed to the Apache Software Foundation (ASF) under one or more +## contributor license agreements. See the NOTICE file distributed with +## this work for additional information regarding copyright ownership. +## The ASF licenses this file to You 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 +## +## 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. +## --------------------------------------------------------------------------- + # Patterns to ignore when building packages. # This supports shell glob matching, relative path matching, and # negation (prefixed with !). Only one pattern per line. diff --git a/examples/infrastructures/k8s/service-center/Chart.yaml b/examples/infrastructures/k8s/service-center/Chart.yaml index ca778758..0f217c90 100644 --- a/examples/infrastructures/k8s/service-center/Chart.yaml +++ b/examples/infrastructures/k8s/service-center/Chart.yaml @@ -1,3 +1,20 @@ +## --------------------------------------------------------------------------- +## Licensed to the Apache Software Foundation (ASF) under one or more +## contributor license agreements. See the NOTICE file distributed with +## this work for additional information regarding copyright ownership. +## The ASF licenses this file to You 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 +## +## 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. +## --------------------------------------------------------------------------- + apiVersion: v1 description: A Helm chart for Kubernetes name: service-center diff --git a/examples/infrastructures/k8s/service-center/templates/NOTES.txt b/examples/infrastructures/k8s/service-center/templates/NOTES.txt index 478cddb4..fb51fe33 100644 --- a/examples/infrastructures/k8s/service-center/templates/NOTES.txt +++ b/examples/infrastructures/k8s/service-center/templates/NOTES.txt @@ -1,3 +1,20 @@ +## --------------------------------------------------------------------------- +## Licensed to the Apache Software Foundation (ASF) under one or more +## contributor license agreements. See the NOTICE file distributed with +## this work for additional information regarding copyright ownership. +## The ASF licenses this file to You 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 +## +## 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. +## --------------------------------------------------------------------------- + 1. Get the application URL by running these commands: {{- if .Values.sc.ingress.enabled }} {{- range .Values.sc.ingress.hosts }} diff --git a/examples/infrastructures/k8s/service-center/templates/configmap.yaml b/examples/infrastructures/k8s/service-center/templates/configmap.yaml index 56820b8c..60b66a89 100644 --- a/examples/infrastructures/k8s/service-center/templates/configmap.yaml +++ b/examples/infrastructures/k8s/service-center/templates/configmap.yaml @@ -1,3 +1,20 @@ +## --------------------------------------------------------------------------- +## Licensed to the Apache Software Foundation (ASF) under one or more +## contributor license agreements. See the NOTICE file distributed with +## this work for additional information regarding copyright ownership. +## The ASF licenses this file to You 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 +## +## 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. +## --------------------------------------------------------------------------- + {{- if .Values.sc.deployment -}} --- apiVersion: v1 diff --git a/examples/infrastructures/k8s/service-center/templates/deployment.yaml b/examples/infrastructures/k8s/service-center/templates/deployment.yaml index ddaf8f59..642703cb 100644 --- a/examples/infrastructures/k8s/service-center/templates/deployment.yaml +++ b/examples/infrastructures/k8s/service-center/templates/deployment.yaml @@ -1,3 +1,20 @@ +## --------------------------------------------------------------------------- +## Licensed to the Apache Software Foundation (ASF) under one or more +## contributor license agreements. See the NOTICE file distributed with +## this work for additional information regarding copyright ownership. +## The ASF licenses this file to You 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 +## +## 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. +## --------------------------------------------------------------------------- + {{- $serviceName := include "service-center.fullname" . -}} {{- $servicePort := .Values.sc.service.externalPort -}} {{- if .Values.sc.deployment -}} diff --git a/examples/infrastructures/k8s/service-center/templates/ingress.yaml b/examples/infrastructures/k8s/service-center/templates/ingress.yaml index 2d745961..550a01c3 100644 --- a/examples/infrastructures/k8s/service-center/templates/ingress.yaml +++ b/examples/infrastructures/k8s/service-center/templates/ingress.yaml @@ -1,3 +1,20 @@ +## --------------------------------------------------------------------------- +## Licensed to the Apache Software Foundation (ASF) under one or more +## contributor license agreements. See the NOTICE file distributed with +## this work for additional information regarding copyright ownership. +## The ASF licenses this file to You 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 +## +## 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. +## --------------------------------------------------------------------------- + {{- if .Values.sc.deployment -}} {{- if .Values.sc.ingress.enabled -}} {{- $serviceName := include "service-center.fullname" . -}} diff --git a/examples/infrastructures/k8s/service-center/templates/rbac.yaml b/examples/infrastructures/k8s/service-center/templates/rbac.yaml index c9f35b40..65fe2478 100644 --- a/examples/infrastructures/k8s/service-center/templates/rbac.yaml +++ b/examples/infrastructures/k8s/service-center/templates/rbac.yaml @@ -1,3 +1,20 @@ +## --------------------------------------------------------------------------- +## Licensed to the Apache Software Foundation (ASF) under one or more +## contributor license agreements. See the NOTICE file distributed with +## this work for additional information regarding copyright ownership. +## The ASF licenses this file to You 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 +## +## 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. +## --------------------------------------------------------------------------- + {{- if .Values.sc.deployment -}} {{- if or (eq .Values.sc.discovery.type "k8s") (eq .Values.sc.discovery.type "aggregate") -}} --- diff --git a/examples/infrastructures/k8s/service-center/templates/service.yaml b/examples/infrastructures/k8s/service-center/templates/service.yaml index f835ef6a..28b3ece5 100644 --- a/examples/infrastructures/k8s/service-center/templates/service.yaml +++ b/examples/infrastructures/k8s/service-center/templates/service.yaml @@ -1,3 +1,20 @@ +## --------------------------------------------------------------------------- +## Licensed to the Apache Software Foundation (ASF) under one or more +## contributor license agreements. See the NOTICE file distributed with +## this work for additional information regarding copyright ownership. +## The ASF licenses this file to You 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 +## +## 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. +## --------------------------------------------------------------------------- + {{- if .Values.sc.deployment -}} --- apiVersion: v1 diff --git a/examples/infrastructures/k8s/service-center/values.yaml b/examples/infrastructures/k8s/service-center/values.yaml index ebe40674..27add5d3 100644 --- a/examples/infrastructures/k8s/service-center/values.yaml +++ b/examples/infrastructures/k8s/service-center/values.yaml @@ -1,3 +1,20 @@ +## --------------------------------------------------------------------------- +## Licensed to the Apache Software Foundation (ASF) under one or more +## contributor license agreements. See the NOTICE file distributed with +## this work for additional information regarding copyright ownership. +## The ASF licenses this file to You 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 +## +## 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. +## --------------------------------------------------------------------------- + # Default values for service-center. # This is a YAML-formatted file. # Declare variables to be passed into your templates. diff --git a/scripts/release/LICENSE b/scripts/release/LICENSE index 8376b4f7..e723ef00 100644 --- a/scripts/release/LICENSE +++ b/scripts/release/LICENSE @@ -230,7 +230,7 @@ github.com/prometheus/client_golang/prometheus (ab4214782d022e867e3195b4c9ddb1ca github.com/prometheus/client_model/go (6f3806018612930941127f2a7c6c453ba2c527d2) github.com/prometheus/common (0866df4b85a18d652b6965be022d007cdf076822) github.com/prometheus/procfs/xfs (822d4a1f8edcbcbc71e8d1fd6527b12331a6d0ad) -github.com/ServiceComb/paas-lager (378a833fc008d8343083dc73e77db142afccf377) +github.com/go-chassis/paas-lager (50655443dc96e3d633667ca6310251ba2a3fe5c9) github.com/bradfitz/gomemcache (1952afaa557dc08e8e0d89eafab110fb501c1a2b) github.com/casbin/casbin (91e4fb9209910a1de86b67adc0fce5c35f17369f) github.com/garyburd/redigo (57f1cd7de6175c96b423e7ac2534ff2b39e2ef79) diff --git a/scripts/release/LICENSE-siddontang b/scripts/release/licenses/LICENSE-siddontang similarity index 100% rename from scripts/release/LICENSE-siddontang rename to scripts/release/licenses/LICENSE-siddontang diff --git a/server/broker/brokerpb/broker.pb.go b/server/broker/brokerpb/broker.pb.go index 63bb475a..f71fd32a 100644 --- a/server/broker/brokerpb/broker.pb.go +++ b/server/broker/brokerpb/broker.pb.go @@ -1,3 +1,20 @@ +/* + * Licensed to the Apache Software Foundation (ASF) under one or more + * contributor license agreements. See the NOTICE file distributed with + * this work for additional information regarding copyright ownership. + * The ASF licenses this file to You 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 + * + * 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. + */ + // Code generated by protoc-gen-go. DO NOT EDIT. // source: broker.proto diff --git a/server/core/proto/services.pb.go b/server/core/proto/services.pb.go index 6923b02b..a53e46d0 100644 --- a/server/core/proto/services.pb.go +++ b/server/core/proto/services.pb.go @@ -1,3 +1,20 @@ +/* + * Licensed to the Apache Software Foundation (ASF) under one or more + * contributor license agreements. See the NOTICE file distributed with + * this work for additional information regarding copyright ownership. + * The ASF licenses this file to You 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 + * + * 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. + */ + // Code generated by protoc-gen-go. DO NOT EDIT. // source: services.proto ---------------------------------------------------------------- This is an automated message from the Apache Git Service. To respond to the message, please log on GitHub and use the URL above to go to the specific comment. For queries about this service, please contact Infrastructure at: [email protected] With regards, Apache Git Services
