This is an automated email from the ASF dual-hosted git repository. albumenj pushed a commit to branch xds-istio in repository https://gitbox.apache.org/repos/asf/dubbo-go-pixiu-samples.git
commit 356e6be78476c858959274f57c3081bc4a396dae Author: mazhihui <[email protected]> AuthorDate: Sun Jul 31 12:21:59 2022 +0800 add license --- xds/dubbo-go-istio/server/Makefile | 19 +++++++++++++++++++ xds/dubbo-go-istio/server/api/api.proto | 18 +++++++++++++++++- xds/dubbo-go-istio/server/build/Dockerfile | 19 +++++++++++++++++++ xds/dubbo-go-istio/server/build/DockerfilePixiu | 20 +++++++++++++++++++- xds/dubbo-go-istio/server/chart/app/Chart.yaml | 19 +++++++++++++++++++ .../server/chart/app/templates/deployment.yaml | 19 +++++++++++++++++++ .../server/chart/app/templates/service.yaml | 19 +++++++++++++++++++ .../server/chart/app/templates/serviceaccount.yaml | 19 +++++++++++++++++++ xds/dubbo-go-istio/server/chart/app/values.yaml | 19 +++++++++++++++++++ xds/dubbo-go-istio/server/chart/nacos_env/Chart.yaml | 19 +++++++++++++++++++ .../server/chart/nacos_env/templates/deployment.yaml | 19 +++++++++++++++++++ .../server/chart/nacos_env/templates/service.yaml | 19 +++++++++++++++++++ .../server/chart/nacos_env/values.yaml | 19 +++++++++++++++++++ .../server/chart/pixiu-gateway/Chart.yaml | 19 +++++++++++++++++++ .../chart/pixiu-gateway/templates/deployment.yaml | 19 +++++++++++++++++++ .../chart/pixiu-gateway/templates/service.yaml | 19 +++++++++++++++++++ .../pixiu-gateway/templates/serviceaccount.yaml | 19 +++++++++++++++++++ .../server/chart/pixiu-gateway/values.yaml | 19 +++++++++++++++++++ xds/dubbo-go-istio/server/conf/dubbogo.yaml | 19 +++++++++++++++++++ 19 files changed, 359 insertions(+), 2 deletions(-) diff --git a/xds/dubbo-go-istio/server/Makefile b/xds/dubbo-go-istio/server/Makefile index c413fa4..47efe14 100644 --- a/xds/dubbo-go-istio/server/Makefile +++ b/xds/dubbo-go-istio/server/Makefile @@ -1,3 +1,22 @@ +# +# 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. +# + IMAGE = ccr.ccs.tencentyun.com/pixiu/demo-app#$(your_repo)/$(namespace)/$(image_name) TAG = dubbo-go-sample-dubbo-1.1 APPNAME = dubbo-go-app diff --git a/xds/dubbo-go-istio/server/api/api.proto b/xds/dubbo-go-istio/server/api/api.proto index 91cf840..3620d5f 100644 --- a/xds/dubbo-go-istio/server/api/api.proto +++ b/xds/dubbo-go-istio/server/api/api.proto @@ -1,4 +1,20 @@ -// EDIT IT, change to your package, service and message +/* + * 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. + */ + syntax = "proto3"; package api; diff --git a/xds/dubbo-go-istio/server/build/Dockerfile b/xds/dubbo-go-istio/server/build/Dockerfile index 4c42625..7519f45 100644 --- a/xds/dubbo-go-istio/server/build/Dockerfile +++ b/xds/dubbo-go-istio/server/build/Dockerfile @@ -1,3 +1,22 @@ +# +# 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. +# + FROM alpine:3.15 WORKDIR /dubbogo diff --git a/xds/dubbo-go-istio/server/build/DockerfilePixiu b/xds/dubbo-go-istio/server/build/DockerfilePixiu index bb46c9f..e705ebc 100644 --- a/xds/dubbo-go-istio/server/build/DockerfilePixiu +++ b/xds/dubbo-go-istio/server/build/DockerfilePixiu @@ -1,4 +1,22 @@ -#todo replace to hub.docker +# +# 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. +# + FROM dubbogopixiu/dubbo-go-pixiu:v0.5.1-istio COPY ./conf.yaml /etc/pixiu/conf.yaml diff --git a/xds/dubbo-go-istio/server/chart/app/Chart.yaml b/xds/dubbo-go-istio/server/chart/app/Chart.yaml index d09ac34..83501ef 100644 --- a/xds/dubbo-go-istio/server/chart/app/Chart.yaml +++ b/xds/dubbo-go-istio/server/chart/app/Chart.yaml @@ -1,3 +1,22 @@ +# +# 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 name: dubbo-go-app description: dubbo-go-app diff --git a/xds/dubbo-go-istio/server/chart/app/templates/deployment.yaml b/xds/dubbo-go-istio/server/chart/app/templates/deployment.yaml index cdd2701..80854f2 100644 --- a/xds/dubbo-go-istio/server/chart/app/templates/deployment.yaml +++ b/xds/dubbo-go-istio/server/chart/app/templates/deployment.yaml @@ -1,3 +1,22 @@ +# +# 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: apps/v1 kind: Deployment metadata: diff --git a/xds/dubbo-go-istio/server/chart/app/templates/service.yaml b/xds/dubbo-go-istio/server/chart/app/templates/service.yaml index 2d2473c..63f9891 100644 --- a/xds/dubbo-go-istio/server/chart/app/templates/service.yaml +++ b/xds/dubbo-go-istio/server/chart/app/templates/service.yaml @@ -1,3 +1,22 @@ +# +# 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 kind: Service metadata: diff --git a/xds/dubbo-go-istio/server/chart/app/templates/serviceaccount.yaml b/xds/dubbo-go-istio/server/chart/app/templates/serviceaccount.yaml index bfeb176..f1bf9bb 100644 --- a/xds/dubbo-go-istio/server/chart/app/templates/serviceaccount.yaml +++ b/xds/dubbo-go-istio/server/chart/app/templates/serviceaccount.yaml @@ -1,3 +1,22 @@ +# +# 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.serviceAccount.create -}} apiVersion: v1 kind: ServiceAccount diff --git a/xds/dubbo-go-istio/server/chart/app/values.yaml b/xds/dubbo-go-istio/server/chart/app/values.yaml index 2a4f340..7e3510c 100644 --- a/xds/dubbo-go-istio/server/chart/app/values.yaml +++ b/xds/dubbo-go-istio/server/chart/app/values.yaml @@ -1,3 +1,22 @@ +# +# 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. +# + replicaCount: 1 image: diff --git a/xds/dubbo-go-istio/server/chart/nacos_env/Chart.yaml b/xds/dubbo-go-istio/server/chart/nacos_env/Chart.yaml index 58c993c..c8d7106 100644 --- a/xds/dubbo-go-istio/server/chart/nacos_env/Chart.yaml +++ b/xds/dubbo-go-istio/server/chart/nacos_env/Chart.yaml @@ -1,3 +1,22 @@ +# +# 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 name: nacos description: nacos environment diff --git a/xds/dubbo-go-istio/server/chart/nacos_env/templates/deployment.yaml b/xds/dubbo-go-istio/server/chart/nacos_env/templates/deployment.yaml index cdd2701..80854f2 100644 --- a/xds/dubbo-go-istio/server/chart/nacos_env/templates/deployment.yaml +++ b/xds/dubbo-go-istio/server/chart/nacos_env/templates/deployment.yaml @@ -1,3 +1,22 @@ +# +# 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: apps/v1 kind: Deployment metadata: diff --git a/xds/dubbo-go-istio/server/chart/nacos_env/templates/service.yaml b/xds/dubbo-go-istio/server/chart/nacos_env/templates/service.yaml index 2d2473c..63f9891 100644 --- a/xds/dubbo-go-istio/server/chart/nacos_env/templates/service.yaml +++ b/xds/dubbo-go-istio/server/chart/nacos_env/templates/service.yaml @@ -1,3 +1,22 @@ +# +# 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 kind: Service metadata: diff --git a/xds/dubbo-go-istio/server/chart/nacos_env/values.yaml b/xds/dubbo-go-istio/server/chart/nacos_env/values.yaml index fb1f4b4..70a9e0e 100644 --- a/xds/dubbo-go-istio/server/chart/nacos_env/values.yaml +++ b/xds/dubbo-go-istio/server/chart/nacos_env/values.yaml @@ -1,3 +1,22 @@ +# +# 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. +# + replicaCount: 1 image: diff --git a/xds/dubbo-go-istio/server/chart/pixiu-gateway/Chart.yaml b/xds/dubbo-go-istio/server/chart/pixiu-gateway/Chart.yaml index bc05d12..1919a9d 100644 --- a/xds/dubbo-go-istio/server/chart/pixiu-gateway/Chart.yaml +++ b/xds/dubbo-go-istio/server/chart/pixiu-gateway/Chart.yaml @@ -1,3 +1,22 @@ +# +# 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 name: pixiu-gateway description: pixiu gateway diff --git a/xds/dubbo-go-istio/server/chart/pixiu-gateway/templates/deployment.yaml b/xds/dubbo-go-istio/server/chart/pixiu-gateway/templates/deployment.yaml index cdd2701..80854f2 100644 --- a/xds/dubbo-go-istio/server/chart/pixiu-gateway/templates/deployment.yaml +++ b/xds/dubbo-go-istio/server/chart/pixiu-gateway/templates/deployment.yaml @@ -1,3 +1,22 @@ +# +# 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: apps/v1 kind: Deployment metadata: diff --git a/xds/dubbo-go-istio/server/chart/pixiu-gateway/templates/service.yaml b/xds/dubbo-go-istio/server/chart/pixiu-gateway/templates/service.yaml index 2d2473c..63f9891 100644 --- a/xds/dubbo-go-istio/server/chart/pixiu-gateway/templates/service.yaml +++ b/xds/dubbo-go-istio/server/chart/pixiu-gateway/templates/service.yaml @@ -1,3 +1,22 @@ +# +# 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 kind: Service metadata: diff --git a/xds/dubbo-go-istio/server/chart/pixiu-gateway/templates/serviceaccount.yaml b/xds/dubbo-go-istio/server/chart/pixiu-gateway/templates/serviceaccount.yaml index bfeb176..f1bf9bb 100644 --- a/xds/dubbo-go-istio/server/chart/pixiu-gateway/templates/serviceaccount.yaml +++ b/xds/dubbo-go-istio/server/chart/pixiu-gateway/templates/serviceaccount.yaml @@ -1,3 +1,22 @@ +# +# 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.serviceAccount.create -}} apiVersion: v1 kind: ServiceAccount diff --git a/xds/dubbo-go-istio/server/chart/pixiu-gateway/values.yaml b/xds/dubbo-go-istio/server/chart/pixiu-gateway/values.yaml index 182e328..46c5917 100644 --- a/xds/dubbo-go-istio/server/chart/pixiu-gateway/values.yaml +++ b/xds/dubbo-go-istio/server/chart/pixiu-gateway/values.yaml @@ -1,3 +1,22 @@ +# +# 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. +# + replicaCount: 1 image: diff --git a/xds/dubbo-go-istio/server/conf/dubbogo.yaml b/xds/dubbo-go-istio/server/conf/dubbogo.yaml index 5753ab5..b9c4856 100644 --- a/xds/dubbo-go-istio/server/conf/dubbogo.yaml +++ b/xds/dubbo-go-istio/server/conf/dubbogo.yaml @@ -1,3 +1,22 @@ +# +# 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. +# + dubbo: application: version: 1.0.0
