diff --git a/rocketmq-k8s-helm/.helmignore b/rocketmq-k8s-helm/.helmignore index 0e8a0eb..d8a5320 100644 --- a/rocketmq-k8s-helm/.helmignore +++ b/rocketmq-k8s-helm/.helmignore @@ -1,3 +1,18 @@ +# 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/rocketmq-k8s-helm/Chart.yaml b/rocketmq-k8s-helm/Chart.yaml index 5e014e4..39e052b 100644 --- a/rocketmq-k8s-helm/Chart.yaml +++ b/rocketmq-k8s-helm/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: v2 name: rocketmq-k8s-helm description: A Helm chart for Kubernetes diff --git a/rocketmq-k8s-helm/helm_sample_values.yaml b/rocketmq-k8s-helm/helm_sample_values.yaml index acc28fa..42e4386 100644 --- a/rocketmq-k8s-helm/helm_sample_values.yaml +++ b/rocketmq-k8s-helm/helm_sample_values.yaml @@ -1,3 +1,18 @@ +# 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. + broker: replicaCount: 1 conf: diff --git a/rocketmq-k8s-helm/templates/broker/_brokerconfig.tpl b/rocketmq-k8s-helm/templates/broker/_brokerconfig.tpl index e0feaa9..e406c21 100644 --- a/rocketmq-k8s-helm/templates/broker/_brokerconfig.tpl +++ b/rocketmq-k8s-helm/templates/broker/_brokerconfig.tpl @@ -1,3 +1,21 @@ +{{/* +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. + +*/}} + {{- define "rocketmq-broker.config" -}} {{- $name := include "rocketmq-broker.fullname" . }} {{- $clusterName := include "rocketmq-broker.clusterName" . }} diff --git a/rocketmq-k8s-helm/templates/broker/_helpers.tpl b/rocketmq-k8s-helm/templates/broker/_helpers.tpl index c6b9cdf..5c193c9 100644 --- a/rocketmq-k8s-helm/templates/broker/_helpers.tpl +++ b/rocketmq-k8s-helm/templates/broker/_helpers.tpl @@ -1,3 +1,21 @@ +{{/* +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. + +*/}} + {{/* Expand the name of the chart. */}} diff --git a/rocketmq-k8s-helm/templates/broker/configmap.yaml b/rocketmq-k8s-helm/templates/broker/configmap.yaml index 2265bef..fab2308 100644 --- a/rocketmq-k8s-helm/templates/broker/configmap.yaml +++ b/rocketmq-k8s-helm/templates/broker/configmap.yaml @@ -1,3 +1,18 @@ +# 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: ConfigMap metadata: diff --git a/rocketmq-k8s-helm/templates/broker/deployment.yaml b/rocketmq-k8s-helm/templates/broker/deployment.yaml index 1867716..5d6c3e8 100644 --- a/rocketmq-k8s-helm/templates/broker/deployment.yaml +++ b/rocketmq-k8s-helm/templates/broker/deployment.yaml @@ -1,3 +1,18 @@ +# 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/rocketmq-k8s-helm/templates/broker/service.yaml b/rocketmq-k8s-helm/templates/broker/service.yaml index 8607998..c38a3fe 100644 --- a/rocketmq-k8s-helm/templates/broker/service.yaml +++ b/rocketmq-k8s-helm/templates/broker/service.yaml @@ -1,3 +1,18 @@ +# 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/rocketmq-k8s-helm/values.yaml b/rocketmq-k8s-helm/values.yaml index 2351a8e..4e91fab 100644 --- a/rocketmq-k8s-helm/values.yaml +++ b/rocketmq-k8s-helm/values.yaml @@ -1,3 +1,18 @@ +# 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 rocketmq-k8s-helm. # This is a YAML-formatted file. # Declare variables to be passed into your templates.