This is an automated email from the ASF dual-hosted git repository.

zhongxjian pushed a commit to branch master
in repository https://gitbox.apache.org/repos/asf/dubbo-kubernetes.git


The following commit(s) were added to refs/heads/master by this push:
     new baf04b74 [charts] add initial dubbod helm (#767)
baf04b74 is described below

commit baf04b7407a2c89b0efff2de63a061e9fe6abe57
Author: Jian Zhong <[email protected]>
AuthorDate: Sat Aug 2 01:58:37 2025 +0800

    [charts] add initial dubbod helm (#767)
---
 .../dubbo-control/dubbo-discovery/Chart.yaml       | 34 ++++++++++++++
 .../charts/dubbo-control/dubbo-discovery/README.md | 52 ++++++++++++++++++++++
 .../dubbo-discovery/templates/zzz_profile.yaml     | 13 ++++++
 .../dubbo-control/dubbo-discovery/values.yaml      | 16 +++++++
 4 files changed, 115 insertions(+)

diff --git a/manifests/charts/dubbo-control/dubbo-discovery/Chart.yaml 
b/manifests/charts/dubbo-control/dubbo-discovery/Chart.yaml
new file mode 100644
index 00000000..7b63e9ca
--- /dev/null
+++ b/manifests/charts/dubbo-control/dubbo-discovery/Chart.yaml
@@ -0,0 +1,34 @@
+# 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
+annotations:
+  licenses: Apache-2.0
+name: dubbod
+home: https://github.com/apache/dubbo-kubernetes
+icon: https://avatars.githubusercontent.com/u/11751992?s=200&v=4
+description: Helm chart for dubbo control plane.
+keywords:
+  - dubbo
+  - dubbod
+  - dubbo-discovery
+version: 0.1.2
+appVersion: 1.0.0
+maintainers:
+  - name: mfordjody
+    email: [email protected]
+sources:
+  - https://dubbo.apache.org
+  - https://github.com/apache/dubbo-kubernetes
diff --git a/manifests/charts/dubbo-control/dubbo-discovery/README.md 
b/manifests/charts/dubbo-control/dubbo-discovery/README.md
new file mode 100644
index 00000000..0b2378fd
--- /dev/null
+++ b/manifests/charts/dubbo-control/dubbo-discovery/README.md
@@ -0,0 +1,52 @@
+# Dubbod Helm Chart
+
+This chart installs an Base deployment.
+
+## Setup Repo Info
+```
+helm repo add dubbo https://charts.dubbo.apache.org
+helm repo update
+```
+See [helm repo](https://helm.sh/docs/helm/helm_repo/) for command 
documentation.
+
+## Installing the Chart
+
+To install the chart with the release name dubbo:
+```
+kubectl create namespace dubbo-system
+helm install nacos dubbo/dubbod --namespace dubbo-system
+```
+
+## Uninstalling the Chart
+
+To uninstall/delete the dubbo deployment:
+```
+helm delete dubbo --namespace dubbo-system
+```
+
+## Configuration
+
+To view support configuration options and documentation, run:
+```
+helm show values dubbo/dubbod
+```
+
+### profiles
+Dubbo Helm Chart introduces the concept of profiles, which are predefined sets 
of configuration values. You can specify the desired profile using --set 
profile=<profile>. For example, the demo profile provides a preset 
configuration suitable for testing environments, with additional features 
enabled and reduced resource requirements.
+
+To maintain consistency, all charts support the same profiles, even if some 
settings don’t apply to a particular chart.
+
+The precedence of values is as follows:
+1. Explicitly set parameters (via --set)
+2. Values defined in the selected profile
+3. Default values of the chart
+
+In actual configuration, you do not need to include the nested path under 
defaults. For example, you should use:
+```
+--set some.field=true
+```
+
+instead of:
+```
+--set defaults.some.field=true
+```
\ No newline at end of file
diff --git 
a/manifests/charts/dubbo-control/dubbo-discovery/templates/zzz_profile.yaml 
b/manifests/charts/dubbo-control/dubbo-discovery/templates/zzz_profile.yaml
new file mode 100644
index 00000000..9643fb52
--- /dev/null
+++ b/manifests/charts/dubbo-control/dubbo-discovery/templates/zzz_profile.yaml
@@ -0,0 +1,13 @@
+{{- if $.Values.defaults}}
+{{ fail (cat
+  "`--set defaults.foo=bar` with `--set foo=bar`. Defaults set:\n"
+  ($.Values.defaults | toYaml |nindent 4) ) }}
+{{- end }}
+
+{{- $defaults := $.Values._internal_default_values_not_set }}
+{{- $_ := unset $.Values "_internal_default_values_not_set " }}
+{{- $profile := dict }}
+{{- if false }}
+{{- $a := mustMergeOverwrite $defaults ($profile.global) ($.Values.global | 
default dict)  }}
+{{- end }}
+{{- $b := set $ "Values" (mustMergeOverwrite $defaults $.Values) }}
diff --git a/manifests/charts/dubbo-control/dubbo-discovery/values.yaml 
b/manifests/charts/dubbo-control/dubbo-discovery/values.yaml
new file mode 100644
index 00000000..8ac09689
--- /dev/null
+++ b/manifests/charts/dubbo-control/dubbo-discovery/values.yaml
@@ -0,0 +1,16 @@
+# 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.
+
+_internal_default_values_not_set:

Reply via email to