This is an automated email from the ASF dual-hosted git repository.
gongchao pushed a commit to branch helm-chart
in repository https://gitbox.apache.org/repos/asf/hertzbeat-helm-chart.git
The following commit(s) were added to refs/heads/helm-chart by this push:
new ca62e66 init hertzbeat helm chart web
ca62e66 is described below
commit ca62e66278d56878f7c58f774d0ed54003d86a4d
Author: tomsun28 <[email protected]>
AuthorDate: Tue Jul 23 16:24:58 2024 +0800
init hertzbeat helm chart web
Signed-off-by: tomsun28 <[email protected]>
---
.asf.yaml | 58 ++++++
.github/ISSUE_TEMPLATE/bug-report.yml | 78 ++++++++
.../ISSUE_TEMPLATE/config.yml | 16 +-
.github/ISSUE_TEMPLATE/feature-request.yml | 56 ++++++
.../ISSUE_TEMPLATE/question.yml | 34 ++--
.../ISSUE_TEMPLATE/task.yml | 41 +++--
.../ISSUE_TEMPLATE/volunteer.yml | 33 ++--
.github/PULL_REQUEST_TEMPLATE.md | 10 +
.github/workflows/ci.yaml | 42 +++++
.../workflows/license-checker.yml | 39 ++--
.github/workflows/release.yml | 38 ++++
.gitignore | 42 +++++
.licenserc.yaml | 65 +++++++
CODE_OF_CONDUCT.md | 76 ++++++++
CONTRIBUTING.md | 97 ++++++++++
DISCLAIMER | 10 +
LICENSE | 201 +++++++++++++++++++++
NOTICE | 5 +
hertzbeat/README.md => README.md | 18 +-
SECURITY.md | 19 ++
{hertzbeat => charts/hertzbeat}/.helmignore | 0
{hertzbeat => charts/hertzbeat}/Chart.yaml | 0
{hertzbeat => charts/hertzbeat}/README.md | 2 +-
.../hertzbeat}/templates/NOTES.txt | 0
.../hertzbeat}/templates/_helpers.tpl | 0
.../hertzbeat}/templates/collector/configmap.yaml | 0
.../hertzbeat}/templates/collector/deployment.yaml | 0
.../hertzbeat}/templates/collector/hpa.yaml | 0
.../hertzbeat}/templates/database/configmap.yaml | 0
.../hertzbeat}/templates/database/pvc.yaml | 0
.../hertzbeat}/templates/database/service.yaml | 0
.../hertzbeat}/templates/database/statefulset.yaml | 0
.../hertzbeat}/templates/manager/configmap.yaml | 0
.../hertzbeat}/templates/manager/deployment.yaml | 0
.../hertzbeat}/templates/manager/ingress.yaml | 0
.../templates/manager/service-cluster.yaml | 0
.../templates/manager/service-expose.yaml | 0
.../hertzbeat}/templates/tsdb/configmap.yaml | 0
.../hertzbeat}/templates/tsdb/pvc.yaml | 0
.../hertzbeat}/templates/tsdb/service.yaml | 0
.../hertzbeat}/templates/tsdb/statefulset.yaml | 0
{hertzbeat => charts/hertzbeat}/values.yaml | 0
ct.yaml | 10 +
docs/.asf.yaml | 47 +++++
docs/CNAME | 1 +
{hertzbeat => docs}/README.md | 20 +-
docs/artifacthub-repo.yml | 5 +
docs/hertzbeat-1.5.0.tgz | Bin 0 -> 11871 bytes
docs/hertzbeat-1.6.0.tgz | Bin 0 -> 12900 bytes
docs/index.yaml | 42 +++++
50 files changed, 1018 insertions(+), 87 deletions(-)
diff --git a/.asf.yaml b/.asf.yaml
new file mode 100644
index 0000000..5c9f8d0
--- /dev/null
+++ b/.asf.yaml
@@ -0,0 +1,58 @@
+#
+# 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.
+#
+
+github:
+ description: Apache HertzBeat(incubating) is a real-time monitoring system
with agentless, performance cluster, prometheus-compatible, custom monitoring
and status page building capabilities.
+ homepage: https://charts.hertzbeat.apache.org/
+ labels:
+ - monitoring
+ - monitor
+ - notifications
+ - alerting
+ - self-hosted
+ - prometheus
+ - zabbix
+ - grafana
+ - metrics
+ - observability
+ - uptime
+ - uptime-monitoring
+ - status
+ - status-page
+ - devops
+ - server
+ - linux
+ - database
+ - mysql
+ - cloud
+ enabled_merge_buttons:
+ squash: true
+ merge: false
+ rebase: false
+ protected_branches:
+ main:
+ required_status_checks:
+ strict: false
+ required_pull_request_reviews:
+ dismiss_stale_reviews: true
+ required_approving_review_count: 1
+notifications:
+ commits: [email protected]
+ issues: [email protected]
+ pullrequests: [email protected]
+ jobs: [email protected]
+ discussions: [email protected]
diff --git a/.github/ISSUE_TEMPLATE/bug-report.yml
b/.github/ISSUE_TEMPLATE/bug-report.yml
new file mode 100644
index 0000000..b5a31a7
--- /dev/null
+++ b/.github/ISSUE_TEMPLATE/bug-report.yml
@@ -0,0 +1,78 @@
+# 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.
+
+name: 🐛 Bug Report
+description: Problems and issues with code of HertzBeat 🤔.
+title: "[BUG] <title>"
+labels: ["bug"]
+body:
+- type: checkboxes
+ attributes:
+ label: Is there an existing issue for this?
+ description: Please search to see if an issue already exists for the bug
you encountered.
+ options:
+ - label: I have searched the existing issues
+ required: true
+- type: textarea
+ attributes:
+ label: Current Behavior
+ description: A concise description of what you're experiencing.
+ validations:
+ required: false
+- type: textarea
+ attributes:
+ label: Expected Behavior
+ description: A concise description of what you expected to happen.
+ validations:
+ required: false
+- type: textarea
+ attributes:
+ label: Steps To Reproduce
+ description: Steps to reproduce the behavior.
+ placeholder: |
+ 1. In this environment...
+ 2. With this config...
+ 3. Run '...'
+ 4. See error...
+ validations:
+ required: false
+- type: textarea
+ attributes:
+ label: Environment
+ description: |
+ examples:
+ - **HertzBeat version(s)**: v1.1.1
+ value: "HertzBeat version(s):"
+ render: markdown
+ validations:
+ required: false
+- type: textarea
+ attributes:
+ label: Debug logs
+ description: |
+ Add your debug logs here.
+ validations:
+ required: false
+- type: textarea
+ attributes:
+ label: Anything else?
+ description: |
+ Links? References? Anything that will give us more context about the
issue you are encountering!
+
+ Tip: You can attach images or log files by clicking this area to
highlight it and then dragging files in.
+ validations:
+ required: false
diff --git a/hertzbeat/templates/tsdb/configmap.yaml
b/.github/ISSUE_TEMPLATE/config.yml
similarity index 71%
copy from hertzbeat/templates/tsdb/configmap.yaml
copy to .github/ISSUE_TEMPLATE/config.yml
index a8263dd..a168e9d 100644
--- a/hertzbeat/templates/tsdb/configmap.yaml
+++ b/.github/ISSUE_TEMPLATE/config.yml
@@ -15,11 +15,11 @@
# specific language governing permissions and limitations
# under the License.
-apiVersion: v1
-kind: ConfigMap
-metadata:
- name: "{{ include "hertzbeat.tsdb" . }}"
- labels:
- {{- include "hertzbeat.labels" . | nindent 4 }}
-data:
- TZ: "{{ .Values.database.timezone }}"
+blank_issues_enabled: false
+contact_links:
+ - name: Community Support
+ url: https://github.com/apache/hertzbeat/discussions
+ about: Please ask and answer questions here.
+ - name: Security Bug Bounty
+ url: https://github.com/apache/hertzbeat/issues
+ about: Please report security vulnerabilities here.
diff --git a/.github/ISSUE_TEMPLATE/feature-request.yml
b/.github/ISSUE_TEMPLATE/feature-request.yml
new file mode 100644
index 0000000..cd38ef8
--- /dev/null
+++ b/.github/ISSUE_TEMPLATE/feature-request.yml
@@ -0,0 +1,56 @@
+# 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.
+
+name: 🚀 Feature Request
+description: I have a suggestion (and may want to implement it 🙂)!
+title: "[Feature] <title>"
+labels: ["new feature"]
+body:
+- type: textarea
+ attributes:
+ label: Feature Request
+ description: >
+ Tip: Have you checked the docs https://hertzbeat.apache.org/docs/,
GitHub issues whether someone else has already reported your issue? Maybe the
feature already exists?
+ placeholder: >
+ A concise description of what you're experiencing.
+ validations:
+ required: false
+- type: textarea
+ attributes:
+ label: Is your feature request related to a problem? Please describe
+ description: A clear and concise description of what the problem is. Ex. I
have an issue when [...]
+ validations:
+ required: false
+- type: textarea
+ attributes:
+ label: Describe the solution you'd like
+ description: A clear and concise description of what you want to happen.
Add any considered drawbacks.
+ validations:
+ required: false
+- type: textarea
+ attributes:
+ label: Describe alternatives you've considered
+ description: A clear and concise description of any alternative solutions
or features you've considered.
+ validations:
+ required: false
+- type: textarea
+ attributes:
+ label: Additional context
+ validations:
+ required: false
+- type: markdown
+ value: "Please read the [Contribution
Guideline](https://hertzbeat.apache.org/docs/others/contributing) before
submitting the PR"
diff --git a/hertzbeat/templates/manager/service-cluster.yaml
b/.github/ISSUE_TEMPLATE/question.yml
similarity index 60%
copy from hertzbeat/templates/manager/service-cluster.yaml
copy to .github/ISSUE_TEMPLATE/question.yml
index 2262cb6..36daafa 100644
--- a/hertzbeat/templates/manager/service-cluster.yaml
+++ b/.github/ISSUE_TEMPLATE/question.yml
@@ -15,19 +15,21 @@
# specific language governing permissions and limitations
# under the License.
-apiVersion: v1
-kind: Service
-metadata:
- name: "{{ include "hertzbeat.manager" . }}-cluster"
- labels:
- {{- include "hertzbeat.labels" . | nindent 4 }}
-spec:
- type: ClusterIP
- ports:
- - port: 1158
- targetPort: 1158
- protocol: TCP
- name: cluster
- selector:
- {{- include "hertzbeat.selectorLabels" . | nindent 4 }}
- component: manager
+name: 🤔 Question
+description: Usage question that isn't answered in docs or discussion
+title: "[Question] <title>"
+labels: ["question"]
+body:
+- type: textarea
+ attributes:
+ label: Question
+ placeholder: >
+ your question here;
+ validations:
+ required: true
+- type: markdown
+ attributes:
+ value: |
+ Please pay attention on issues you submitted, because we maybe need more
details.
+ If no response anymore and we cannot reproduce it on current
information, we will **close it**.
+
diff --git a/hertzbeat/templates/manager/service-cluster.yaml
b/.github/ISSUE_TEMPLATE/task.yml
similarity index 55%
copy from hertzbeat/templates/manager/service-cluster.yaml
copy to .github/ISSUE_TEMPLATE/task.yml
index 2262cb6..4e46853 100644
--- a/hertzbeat/templates/manager/service-cluster.yaml
+++ b/.github/ISSUE_TEMPLATE/task.yml
@@ -15,19 +15,28 @@
# specific language governing permissions and limitations
# under the License.
-apiVersion: v1
-kind: Service
-metadata:
- name: "{{ include "hertzbeat.manager" . }}-cluster"
- labels:
- {{- include "hertzbeat.labels" . | nindent 4 }}
-spec:
- type: ClusterIP
- ports:
- - port: 1158
- targetPort: 1158
- protocol: TCP
- name: cluster
- selector:
- {{- include "hertzbeat.selectorLabels" . | nindent 4 }}
- component: manager
+name: 🚀 Task
+description: Used to create tasks for the community.
+title: "[Task] <title>"
+labels: ["discussion"]
+body:
+- type: textarea
+ attributes:
+ label: Description
+ placeholder: A clear and concise description of Task
+ validations:
+ required: true
+- type: textarea
+ attributes:
+ label: Task List
+ placeholder: |
+ -[ ] Task1...
+ -[ ] Task2...
+ -[ ] Task3...
+ -[ ] Task4...
+ validations:
+ required: false
+- type: markdown
+ attributes:
+ value: |
+ Please read the [Contribution
Guideline](https://hertzbeat.apache.org/docs/community/contribution) before
submitting the PR
diff --git a/hertzbeat/templates/manager/service-cluster.yaml
b/.github/ISSUE_TEMPLATE/volunteer.yml
similarity index 63%
copy from hertzbeat/templates/manager/service-cluster.yaml
copy to .github/ISSUE_TEMPLATE/volunteer.yml
index 2262cb6..75d5862 100644
--- a/hertzbeat/templates/manager/service-cluster.yaml
+++ b/.github/ISSUE_TEMPLATE/volunteer.yml
@@ -15,19 +15,20 @@
# specific language governing permissions and limitations
# under the License.
-apiVersion: v1
-kind: Service
-metadata:
- name: "{{ include "hertzbeat.manager" . }}-cluster"
- labels:
- {{- include "hertzbeat.labels" . | nindent 4 }}
-spec:
- type: ClusterIP
- ports:
- - port: 1158
- targetPort: 1158
- protocol: TCP
- name: cluster
- selector:
- {{- include "hertzbeat.selectorLabels" . | nindent 4 }}
- component: manager
+name: 🤔 Volunteer
+description: Some volunteer help
+title: "[Volunteer] <title>"
+labels: ["status: volunteer wanted"]
+body:
+- type: textarea
+ attributes:
+ label: Volunteer help
+ placeholder: >
+ your need volunteer help here;
+ validations:
+ required: true
+- type: markdown
+ attributes:
+ value: |
+ Please read the [Contribution
Guideline](https://hertzbeat.apache.org/docs/others/contributing/) before
submitting the PR
+
diff --git a/.github/PULL_REQUEST_TEMPLATE.md b/.github/PULL_REQUEST_TEMPLATE.md
new file mode 100644
index 0000000..21fccc4
--- /dev/null
+++ b/.github/PULL_REQUEST_TEMPLATE.md
@@ -0,0 +1,10 @@
+## What's changed?
+
+<!-- Describe Your PR Here -->
+
+
+## Checklist
+
+- [ ] I have read the [Contributing
Guide](https://hertzbeat.apache.org/docs/community/code_style_and_quality_guide)
+- [ ] I have written the necessary doc or comment.
+- [ ] I have added the necessary unit tests and all cases have passed.
diff --git a/.github/workflows/ci.yaml b/.github/workflows/ci.yaml
new file mode 100644
index 0000000..e67e95a
--- /dev/null
+++ b/.github/workflows/ci.yaml
@@ -0,0 +1,42 @@
+name: Lint and Test Charts
+
+on:
+ push:
+ branches: [ main ]
+ pull_request:
+ branches: [ main ]
+
+jobs:
+ lint-test:
+ runs-on: ubuntu-latest
+ steps:
+ - name: Checkout
+ uses: actions/checkout@v3
+ with:
+ fetch-depth: 0
+
+ - name: Install Helm
+ uses: azure/setup-helm@v3
+ env:
+ GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
+
+ - uses: actions/setup-python@v4
+ with:
+ python-version: 3.7
+
+ - name: Set up chart-testing
+ uses: helm/[email protected]
+
+ - name: Run chart-testing (lint)
+ run: ct lint --config ct.yaml
+
+ - name: Run chart-testing (list-changed)
+ id: list-changed
+ run: |
+ changed=$(ct list-changed --config ct.yaml)
+ if [[ -n "$changed" ]]; then
+ echo "::set-output name=changed::true"
+ fi
+
+ - name: Run chart-testing (install)
+ run: ct install --config ct.yaml
diff --git a/hertzbeat/templates/database/configmap.yaml
b/.github/workflows/license-checker.yml
similarity index 58%
copy from hertzbeat/templates/database/configmap.yaml
copy to .github/workflows/license-checker.yml
index 4c9c3e9..384d871 100644
--- a/hertzbeat/templates/database/configmap.yaml
+++ b/.github/workflows/license-checker.yml
@@ -15,22 +15,25 @@
# specific language governing permissions and limitations
# under the License.
-apiVersion: v1
-kind: ConfigMap
-metadata:
- name: "{{ include "hertzbeat.database" . }}"
- labels:
- {{- include "hertzbeat.labels" . | nindent 4 }}
-data:
- TZ: "{{ .Values.database.timezone }}"
- POSTGRES_PASSWORD: "{{ .Values.database.rootPassword }}"
- POSTGRES_USER: "root"
- schema.sql: |+
- CREATE EXTENSION IF NOT EXISTS dblink;
+# This workflow will build a Java project with Maven
+# For more information see:
https://help.github.com/actions/language-and-framework-guides/building-and-testing-java-with-maven
- DO $$
- BEGIN
- PERFORM dblink_exec('', 'CREATE DATABASE hertzbeat');
- EXCEPTION WHEN duplicate_database THEN RAISE NOTICE '%, skipping', SQLERRM
USING ERRCODE = SQLSTATE;
- END
- $$;
+name: License Checker
+
+on:
+ push:
+ branches: [ main ]
+ pull_request:
+ branches: [ main ]
+
+jobs:
+ check-license-header:
+ name: check-license-header
+ runs-on: ubuntu-latest
+ timeout-minutes: 10
+ steps:
+ - uses: actions/checkout@v3
+ with:
+ submodules: true
+ - name: Check license header
+ uses: apache/[email protected]
diff --git a/.github/workflows/release.yml b/.github/workflows/release.yml
new file mode 100644
index 0000000..a42dbac
--- /dev/null
+++ b/.github/workflows/release.yml
@@ -0,0 +1,38 @@
+name: Release Charts
+
+on:
+ push:
+ branches: [ main ]
+ pull_request:
+ branches: [ main ]
+
+jobs:
+ release:
+ # depending on default permission settings for your org (contents being
read-only or read-write for workloads), you will have to add permissions
+ # see:
https://docs.github.com/en/actions/security-guides/automatic-token-authentication#modifying-the-permissions-for-the-github_token
+ permissions:
+ contents: write
+ runs-on: ubuntu-latest
+ steps:
+ - name: Checkout
+ uses: actions/checkout@v3
+ with:
+ fetch-depth: 0
+
+ - name: Configure Git
+ run: |
+ git config user.name "$GITHUB_ACTOR"
+ git config user.email "[email protected]"
+
+ - name: Install Helm
+ uses: azure/setup-helm@v3
+ env:
+ GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
+
+ - name: Run chart-releaser
+ uses: helm/[email protected]
+ with:
+ config: ct.yaml
+ env:
+ CR_TOKEN: "${{ secrets.GITHUB_TOKEN }}"
+ CR_SKIP_EXISTING: true
diff --git a/.gitignore b/.gitignore
new file mode 100644
index 0000000..0df3248
--- /dev/null
+++ b/.gitignore
@@ -0,0 +1,42 @@
+# maven ignore
+target/
+*.class
+*.jar
+*.war
+*.zip
+*.tar
+*.tar.gz
+dependency-reduced-pom.xml
+
+# maven plugin ignore
+release.properties
+cobertura.ser
+*.gpg
+
+# eclipse ignore
+.settings/
+.project
+.classpath
+
+# idea ignore
+.idea/
+*.ipr
+*.iml
+*.iws
+
+# temp ignore
+logs/
+*.log
+*.doc
+*.cache
+*.diff
+*.patch
+*.tmp
+
+# system ignore
+.DS_Store
+Thumbs.db
+
+# agent build ignore
+/agent/
+
diff --git a/.licenserc.yaml b/.licenserc.yaml
new file mode 100644
index 0000000..ca63f34
--- /dev/null
+++ b/.licenserc.yaml
@@ -0,0 +1,65 @@
+#
+# 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.
+#
+
+header:
+ license:
+ spdx-id: Apache-2.0
+ copyright-owner: Apache Software Foundation
+
+ paths-ignore:
+ - '**/*.md'
+ - '**/*.json'
+ - '**/*.iml'
+ - '**/*.ini'
+ - '**/*.svg'
+ - '**/*.png'
+ - '**/*.MD'
+ - '**/*.ftl'
+ - '**/*.tpl'
+ - '**/*.pl'
+ - '**/*.dict'
+ - '**/*.awk'
+ - "**/*.lock"
+ - '**/*.crt'
+ - '**/*.pem'
+ - '**/*.js'
+ - '**/*.less'
+ - '**/*.txt'
+ - '**/target/**'
+ - '.gitattributes'
+ - '**/.gitignore'
+ - '**/.gitkeep'
+ - 'LICENSE'
+ - 'NOTICE'
+ - 'DISCLAIMER'
+ - '**/LICENSE'
+ - '**/NOTICE'
+ - '.all-contributorsrc'
+ - '.prettierrc'
+ - '.browserslistrc'
+ - '.editorconfig'
+ - '.eslintignore'
+ - '.eslintrc.js'
+ - '.stylelintrc'
+ - '.prettierignore'
+ - '.prettierrc.js'
+ - 'karma.conf.js'
+ - 'proxy.conf.js'
+ - '.helmignore'
+
+ comment: on-failure
+
diff --git a/CODE_OF_CONDUCT.md b/CODE_OF_CONDUCT.md
new file mode 100644
index 0000000..6fa9a12
--- /dev/null
+++ b/CODE_OF_CONDUCT.md
@@ -0,0 +1,76 @@
+# Contributor Covenant Code of Conduct
+
+## Our Pledge
+
+In the interest of fostering an open and welcoming environment, we as
+contributors and maintainers pledge to making participation in our project and
+our community a harassment-free experience for everyone, regardless of age,
body
+size, disability, ethnicity, sex characteristics, gender identity and
expression,
+level of experience, education, socio-economic status, nationality, personal
+appearance, race, religion or sexual identity and orientation.
+
+## Our Standards
+
+Examples of behavior that contributes to creating a positive environment
+include:
+
+* Using welcoming and inclusive language
+* Being respectful of differing viewpoints and experiences
+* Gracefully accepting constructive criticism
+* Focusing on what is best for the community
+* Showing empathy towards other community members
+
+Examples of unacceptable behavior by participants include:
+
+* The use of sexualized language or imagery and unwelcome sexual attention or
+ advances
+* Trolling, insulting/derogatory comments and personal or political attacks
+* Public or private harassment
+* Publishing others' private information, such as physical or electronic
+ address, without explicit permission
+* Other conduct which could reasonably be considered inappropriate in a
+ professional setting
+
+## Our Responsibilities
+
+Project maintainers are responsible for clarifying the standards of acceptable
+behavior and are expected to take appropriate and fair corrective action in
+response to any instances of unacceptable behavior.
+
+Project maintainers have the right and responsibility to remove, edit, or
+reject comments, commits, code, wiki edits, issues and other contributions
+that are not aligned to this Code of Conduct or to ban temporarily or
+permanently any contributor for other behaviors that they deem inappropriate,
+threatening, offensive or harmful.
+
+## Scope
+
+This Code of Conduct applies both within project spaces and in public spaces
+when an individual is representing the project or its community. Examples of
+representing a project or community include using an official project e-mail
+address, posting via an official social media account or acting as an appointed
+representative at an online or offline event. Representation of a project may
be
+further defined and clarified by project maintainers.
+
+## Enforcement
+
+Instances of abusive, harassing or otherwise unacceptable behavior may be
+reported by contacting the project team at [email protected]. All
+complaints will be reviewed and investigated and will result in a response that
+is deemed necessary and appropriate for the circumstances. The project team is
+obligated to maintain confidentiality with regard to the reporter of an
incident.
+Further details of specific enforcement policies may be posted separately.
+
+Project maintainers who do not follow or enforce the Code of Conduct in good
+faith may face temporary or permanent repercussions as determined by other
+members of the project's leadership.
+
+## Attribution
+
+This Code of Conduct is adapted from the [Contributor Covenant][homepage],
version 1.4,
+available at
<https://www.contributor-covenant.org/version/1/4/code-of-conduct.html>
+
+[homepage]: https://www.contributor-covenant.org
+
+For answers to common questions about this code of conduct, see
+<https://www.contributor-covenant.org/faq>
diff --git a/CONTRIBUTING.md b/CONTRIBUTING.md
new file mode 100644
index 0000000..c9dbae6
--- /dev/null
+++ b/CONTRIBUTING.md
@@ -0,0 +1,97 @@
+## Contributor Guide
+
+> We are committed to maintaining a happy community that helps each other,
welcome every contributor to join us!
+
+### Kinds of Contributions
+
+> In the HertzBeat community, there are many ways to contribute:
+
+- 💻**Code**: Can help the community complete some tasks, write new features or
fix some bugs;
+
+- ⚠️**Test**: Can come to participate in the writing of test code, including
unit testing, integration testing, e2e testing;
+
+- 📖**Docs**: Can write or Documentation improved to help users better
understand and use HertzBeat;
+
+- 📝**Blog**: You can write articles about HertzBeat to help the community
better promote;
+
+- 🤔**Discussion**: You can participate in the discussion of new features of
HertzBeat and integrate your ideas with HertzBeat;
+
+- 💡**Preach**: Can help publicize or promote the HertzBeat community, speak in
meetup or summit;
+
+- 💬**Suggestion**: You can also make some suggestions to the project or
community to promote the healthy development of the community;
+
+More see [Contribution Types](https://allcontributors.org/docs/en/emoji-key)
+
+Even small corrections to typos are very welcome :)
+
+### Find tasks
+
+Find the issue you are interested in! On our GitHub repo issue list, we often
publish some issues with the label good first issue or status: volunteer
wanted.
+These issues welcome the help of contributors. Among them, good first issues
tend to have low thresholds and are suitable for novices.
+
+Of course, if you have a good idea, you can also propose it directly on GitHub
Discussion or contact with community.
+
+### Submit Pull Request
+
+1. First you need to fork your target [hertzbeat
repository](https://github.com/apache/hertzbeat).
+2. Then download the code locally with git command:
+```shell
+git clone [email protected]:${YOUR_USERNAME}/hertzbeat.git #Recommended
+```
+3. After the download is complete, please refer to the getting started guide
or README file of the target repository to initialize the project.
+4. Then, you can refer to the following command to submit the code:
+```shell
+git checkout -b a-feature-branch #Recommended
+```
+5. Submit the coed as a commit, the commit message format specification
required: [module name or type name]feature or bugfix or doc: custom message.
+```shell
+git add <modified file/path>
+git commit -m '[docs]feature: necessary instructions' #Recommended
+```
+6. Push to the remote repository
+```shell
+git push origin a-feature-branch
+```
+7. Then you can initiate a new PR (Pull Request) on GitHub.
+
+Please note that the title of the PR needs to conform to our spec, and write
the necessary description in the PR to facilitate code review by Committers and
other contributors.
+
+### Wait for the code to be merged
+
+After submitting the PR, the Committee or the community's friends will review
the code you submitted (Code Review), and will propose some modification
suggestions or conduct some discussions. Please pay attention to your PR in
time.
+
+If subsequent changes are required, there is no need to initiate a new PR.
After submitting a commit on the original branch and pushing it to the remote
repository, the PR will be automatically updated.
+
+In addition, our project has a relatively standardized and strict CI
inspection process. After submitting PR, CI will be triggered. Please pay
attention to whether it passes the CI inspection.
+
+Finally, the Committers can merge the PR into the main branch.
+
+### After the code is merged
+
+After the code has been merged, you can delete the development branch on both
the local and remote repositories:
+
+```shell
+git branch -d a-dev-branch
+git push origin --delete a-dev-branch
+```
+
+On the master/main branch, you can do the following to sync the upstream
repository:
+
+```shell
+git remote add upstream https://github.com/apache/hertzbeat-helm-chart.git
#Bind the remote warehouse, if it has been executed, it does not need to be
executed again
+git checkout main
+git pull upstream main
+```
+
+### HertzBeat Improvement Proposal (HIP)
+If you have major new features(e.g., support metrics push gateway, support
logs monitoring), you need to write a design document known as a HertzBeat
Improvement Proposal (HIP). Before starting to write a HIP, make sure you
follow the process [here](https://github.com/apache/hertzbeat/tree/master/hip).
+
+### How to become a Committer?
+
+With the above steps, you are a contributor to HertzBeat. Repeat the previous
steps to stay active in the community, keep at, you can become a Committer!
+
+### Join Discussion
+
+[Join the Mailing
Lists](https://lists.apache.org/[email protected]) : Mail to
`[email protected]` to subscribe mailing lists.
+
+Add WeChat account `ahertzbeat` to pull you into the WeChat group.
diff --git a/DISCLAIMER b/DISCLAIMER
new file mode 100644
index 0000000..15089ac
--- /dev/null
+++ b/DISCLAIMER
@@ -0,0 +1,10 @@
+Apache HertzBeat (incubating) is an effort undergoing incubation at the Apache
+Software Foundation (ASF), sponsored by the Apache Incubator PMC.
+
+Incubation is required of all newly accepted projects until a further review
+indicates that the infrastructure, communications, and decision making process
+have stabilized in a manner consistent with other successful ASF projects.
+
+While incubation status is not necessarily a reflection of the completeness
+or stability of the code, it does indicate that the project has yet to be
+fully endorsed by the ASF.
diff --git a/LICENSE b/LICENSE
new file mode 100644
index 0000000..261eeb9
--- /dev/null
+++ b/LICENSE
@@ -0,0 +1,201 @@
+ Apache License
+ Version 2.0, January 2004
+ http://www.apache.org/licenses/
+
+ TERMS AND CONDITIONS FOR USE, REPRODUCTION, AND DISTRIBUTION
+
+ 1. Definitions.
+
+ "License" shall mean the terms and conditions for use, reproduction,
+ and distribution as defined by Sections 1 through 9 of this document.
+
+ "Licensor" shall mean the copyright owner or entity authorized by
+ the copyright owner that is granting the License.
+
+ "Legal Entity" shall mean the union of the acting entity and all
+ other entities that control, are controlled by, or are under common
+ control with that entity. For the purposes of this definition,
+ "control" means (i) the power, direct or indirect, to cause the
+ direction or management of such entity, whether by contract or
+ otherwise, or (ii) ownership of fifty percent (50%) or more of the
+ outstanding shares, or (iii) beneficial ownership of such entity.
+
+ "You" (or "Your") shall mean an individual or Legal Entity
+ exercising permissions granted by this License.
+
+ "Source" form shall mean the preferred form for making modifications,
+ including but not limited to software source code, documentation
+ source, and configuration files.
+
+ "Object" form shall mean any form resulting from mechanical
+ transformation or translation of a Source form, including but
+ not limited to compiled object code, generated documentation,
+ and conversions to other media types.
+
+ "Work" shall mean the work of authorship, whether in Source or
+ Object form, made available under the License, as indicated by a
+ copyright notice that is included in or attached to the work
+ (an example is provided in the Appendix below).
+
+ "Derivative Works" shall mean any work, whether in Source or Object
+ form, that is based on (or derived from) the Work and for which the
+ editorial revisions, annotations, elaborations, or other modifications
+ represent, as a whole, an original work of authorship. For the purposes
+ of this License, Derivative Works shall not include works that remain
+ separable from, or merely link (or bind by name) to the interfaces of,
+ the Work and Derivative Works thereof.
+
+ "Contribution" shall mean any work of authorship, including
+ the original version of the Work and any modifications or additions
+ to that Work or Derivative Works thereof, that is intentionally
+ submitted to Licensor for inclusion in the Work by the copyright owner
+ or by an individual or Legal Entity authorized to submit on behalf of
+ the copyright owner. For the purposes of this definition, "submitted"
+ means any form of electronic, verbal, or written communication sent
+ to the Licensor or its representatives, including but not limited to
+ communication on electronic mailing lists, source code control systems,
+ and issue tracking systems that are managed by, or on behalf of, the
+ Licensor for the purpose of discussing and improving the Work, but
+ excluding communication that is conspicuously marked or otherwise
+ designated in writing by the copyright owner as "Not a Contribution."
+
+ "Contributor" shall mean Licensor and any individual or Legal Entity
+ on behalf of whom a Contribution has been received by Licensor and
+ subsequently incorporated within the Work.
+
+ 2. Grant of Copyright License. Subject to the terms and conditions of
+ this License, each Contributor hereby grants to You a perpetual,
+ worldwide, non-exclusive, no-charge, royalty-free, irrevocable
+ copyright license to reproduce, prepare Derivative Works of,
+ publicly display, publicly perform, sublicense, and distribute the
+ Work and such Derivative Works in Source or Object form.
+
+ 3. Grant of Patent License. Subject to the terms and conditions of
+ this License, each Contributor hereby grants to You a perpetual,
+ worldwide, non-exclusive, no-charge, royalty-free, irrevocable
+ (except as stated in this section) patent license to make, have made,
+ use, offer to sell, sell, import, and otherwise transfer the Work,
+ where such license applies only to those patent claims licensable
+ by such Contributor that are necessarily infringed by their
+ Contribution(s) alone or by combination of their Contribution(s)
+ with the Work to which such Contribution(s) was submitted. If You
+ institute patent litigation against any entity (including a
+ cross-claim or counterclaim in a lawsuit) alleging that the Work
+ or a Contribution incorporated within the Work constitutes direct
+ or contributory patent infringement, then any patent licenses
+ granted to You under this License for that Work shall terminate
+ as of the date such litigation is filed.
+
+ 4. Redistribution. You may reproduce and distribute copies of the
+ Work or Derivative Works thereof in any medium, with or without
+ modifications, and in Source or Object form, provided that You
+ meet the following conditions:
+
+ (a) You must give any other recipients of the Work or
+ Derivative Works a copy of this License; and
+
+ (b) You must cause any modified files to carry prominent notices
+ stating that You changed the files; and
+
+ (c) You must retain, in the Source form of any Derivative Works
+ that You distribute, all copyright, patent, trademark, and
+ attribution notices from the Source form of the Work,
+ excluding those notices that do not pertain to any part of
+ the Derivative Works; and
+
+ (d) If the Work includes a "NOTICE" text file as part of its
+ distribution, then any Derivative Works that You distribute must
+ include a readable copy of the attribution notices contained
+ within such NOTICE file, excluding those notices that do not
+ pertain to any part of the Derivative Works, in at least one
+ of the following places: within a NOTICE text file distributed
+ as part of the Derivative Works; within the Source form or
+ documentation, if provided along with the Derivative Works; or,
+ within a display generated by the Derivative Works, if and
+ wherever such third-party notices normally appear. The contents
+ of the NOTICE file are for informational purposes only and
+ do not modify the License. You may add Your own attribution
+ notices within Derivative Works that You distribute, alongside
+ or as an addendum to the NOTICE text from the Work, provided
+ that such additional attribution notices cannot be construed
+ as modifying the License.
+
+ You may add Your own copyright statement to Your modifications and
+ may provide additional or different license terms and conditions
+ for use, reproduction, or distribution of Your modifications, or
+ for any such Derivative Works as a whole, provided Your use,
+ reproduction, and distribution of the Work otherwise complies with
+ the conditions stated in this License.
+
+ 5. Submission of Contributions. Unless You explicitly state otherwise,
+ any Contribution intentionally submitted for inclusion in the Work
+ by You to the Licensor shall be under the terms and conditions of
+ this License, without any additional terms or conditions.
+ Notwithstanding the above, nothing herein shall supersede or modify
+ the terms of any separate license agreement you may have executed
+ with Licensor regarding such Contributions.
+
+ 6. Trademarks. This License does not grant permission to use the trade
+ names, trademarks, service marks, or product names of the Licensor,
+ except as required for reasonable and customary use in describing the
+ origin of the Work and reproducing the content of the NOTICE file.
+
+ 7. Disclaimer of Warranty. Unless required by applicable law or
+ agreed to in writing, Licensor provides the Work (and each
+ Contributor provides its Contributions) on an "AS IS" BASIS,
+ WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or
+ implied, including, without limitation, any warranties or conditions
+ of TITLE, NON-INFRINGEMENT, MERCHANTABILITY, or FITNESS FOR A
+ PARTICULAR PURPOSE. You are solely responsible for determining the
+ appropriateness of using or redistributing the Work and assume any
+ risks associated with Your exercise of permissions under this License.
+
+ 8. Limitation of Liability. In no event and under no legal theory,
+ whether in tort (including negligence), contract, or otherwise,
+ unless required by applicable law (such as deliberate and grossly
+ negligent acts) or agreed to in writing, shall any Contributor be
+ liable to You for damages, including any direct, indirect, special,
+ incidental, or consequential damages of any character arising as a
+ result of this License or out of the use or inability to use the
+ Work (including but not limited to damages for loss of goodwill,
+ work stoppage, computer failure or malfunction, or any and all
+ other commercial damages or losses), even if such Contributor
+ has been advised of the possibility of such damages.
+
+ 9. Accepting Warranty or Additional Liability. While redistributing
+ the Work or Derivative Works thereof, You may choose to offer,
+ and charge a fee for, acceptance of support, warranty, indemnity,
+ or other liability obligations and/or rights consistent with this
+ License. However, in accepting such obligations, You may act only
+ on Your own behalf and on Your sole responsibility, not on behalf
+ of any other Contributor, and only if You agree to indemnify,
+ defend, and hold each Contributor harmless for any liability
+ incurred by, or claims asserted against, such Contributor by reason
+ of your accepting any such warranty or additional liability.
+
+ END OF TERMS AND CONDITIONS
+
+ APPENDIX: How to apply the Apache License to your work.
+
+ To apply the Apache License to your work, attach the following
+ boilerplate notice, with the fields enclosed by brackets "[]"
+ replaced with your own identifying information. (Don't include
+ the brackets!) The text should be enclosed in the appropriate
+ comment syntax for the file format. We also recommend that a
+ file or class name and description of purpose be included on the
+ same "printed page" as the copyright notice for easier
+ identification within third-party archives.
+
+ Copyright [yyyy] [name of copyright owner]
+
+ Licensed 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.
diff --git a/NOTICE b/NOTICE
new file mode 100644
index 0000000..6839b47
--- /dev/null
+++ b/NOTICE
@@ -0,0 +1,5 @@
+Apache HertzBeat (incubating)
+Copyright 2024 The Apache Software Foundation
+
+This product includes software developed at
+The Apache Software Foundation (http://www.apache.org/).
diff --git a/hertzbeat/README.md b/README.md
similarity index 98%
copy from hertzbeat/README.md
copy to README.md
index 0ebff08..6b7633b 100644
--- a/hertzbeat/README.md
+++ b/README.md
@@ -20,7 +20,7 @@
* Provides powerful status page building capabilities, easily communicate the
real-time status of your service to users.
-> HertzBeat's powerful customization, multi-type support, high performance,
easy expansion, and low coupling, aims to help developers and teams quickly
build their own monitoring system.
+> HertzBeat's powerful customization, multi-type support, high performance,
easy expansion, and low coupling, aims to help developers and teams quickly
build their own monitoring system.
## Helm Chart for HertzBeat
@@ -36,7 +36,7 @@ This [Helm](https://github.com/kubernetes/helm) chart
installs [HertzBeat](https
### Add Helm repository
```bash
-helm repo add hertzbeat https://charts.hertzbeat.com/
+helm repo add hertzbeat https://charts.hertzbeat.apache.org/
helm repo update
```
@@ -159,3 +159,17 @@ The following table lists the configurable parameters of
the HertzBeat chart and
[artifacthub]: https://artifacthub.io/
[helm]: https://helm.sh/
+
+### Build Pages
+
+1. `helm package charts/* -d docs`
+2. `helm repo index docs`
+3. `commit and push change`
+
+
+### Build Local
+
+1. `cd charts`
+2. `helm template --debug hertzbeat`
+3. `helm upgrade --install demo ./hertzbeat`
+4. `helm uninstall demo`
diff --git a/SECURITY.md b/SECURITY.md
new file mode 100644
index 0000000..effdf69
--- /dev/null
+++ b/SECURITY.md
@@ -0,0 +1,19 @@
+# Security Policy
+
+**[Version Releases](https://github.com/apache/hertzbeat/releases)**
+
+## Supported Versions
+
+Use this section to tell people about which versions of your project are
+currently being supported with security updates.
+
+| Version | Supported |
+|-------------------|--------------------|
+| Latest Version | :white_check_mark: |
+| Any Other Version | :x: |
+
+## Reporting a Vulnerability
+
+Use this section to tell people how to report a vulnerability.
+
+Please report vulnerability disclosures to `[email protected]`.
diff --git a/hertzbeat/.helmignore b/charts/hertzbeat/.helmignore
similarity index 100%
rename from hertzbeat/.helmignore
rename to charts/hertzbeat/.helmignore
diff --git a/hertzbeat/Chart.yaml b/charts/hertzbeat/Chart.yaml
similarity index 100%
rename from hertzbeat/Chart.yaml
rename to charts/hertzbeat/Chart.yaml
diff --git a/hertzbeat/README.md b/charts/hertzbeat/README.md
similarity index 99%
copy from hertzbeat/README.md
copy to charts/hertzbeat/README.md
index 0ebff08..e757cc6 100644
--- a/hertzbeat/README.md
+++ b/charts/hertzbeat/README.md
@@ -36,7 +36,7 @@ This [Helm](https://github.com/kubernetes/helm) chart
installs [HertzBeat](https
### Add Helm repository
```bash
-helm repo add hertzbeat https://charts.hertzbeat.com/
+helm repo add hertzbeat https://charts.hertzbeat.apache.org/
helm repo update
```
diff --git a/hertzbeat/templates/NOTES.txt
b/charts/hertzbeat/templates/NOTES.txt
similarity index 100%
rename from hertzbeat/templates/NOTES.txt
rename to charts/hertzbeat/templates/NOTES.txt
diff --git a/hertzbeat/templates/_helpers.tpl
b/charts/hertzbeat/templates/_helpers.tpl
similarity index 100%
rename from hertzbeat/templates/_helpers.tpl
rename to charts/hertzbeat/templates/_helpers.tpl
diff --git a/hertzbeat/templates/collector/configmap.yaml
b/charts/hertzbeat/templates/collector/configmap.yaml
similarity index 100%
rename from hertzbeat/templates/collector/configmap.yaml
rename to charts/hertzbeat/templates/collector/configmap.yaml
diff --git a/hertzbeat/templates/collector/deployment.yaml
b/charts/hertzbeat/templates/collector/deployment.yaml
similarity index 100%
rename from hertzbeat/templates/collector/deployment.yaml
rename to charts/hertzbeat/templates/collector/deployment.yaml
diff --git a/hertzbeat/templates/collector/hpa.yaml
b/charts/hertzbeat/templates/collector/hpa.yaml
similarity index 100%
rename from hertzbeat/templates/collector/hpa.yaml
rename to charts/hertzbeat/templates/collector/hpa.yaml
diff --git a/hertzbeat/templates/database/configmap.yaml
b/charts/hertzbeat/templates/database/configmap.yaml
similarity index 100%
rename from hertzbeat/templates/database/configmap.yaml
rename to charts/hertzbeat/templates/database/configmap.yaml
diff --git a/hertzbeat/templates/database/pvc.yaml
b/charts/hertzbeat/templates/database/pvc.yaml
similarity index 100%
rename from hertzbeat/templates/database/pvc.yaml
rename to charts/hertzbeat/templates/database/pvc.yaml
diff --git a/hertzbeat/templates/database/service.yaml
b/charts/hertzbeat/templates/database/service.yaml
similarity index 100%
rename from hertzbeat/templates/database/service.yaml
rename to charts/hertzbeat/templates/database/service.yaml
diff --git a/hertzbeat/templates/database/statefulset.yaml
b/charts/hertzbeat/templates/database/statefulset.yaml
similarity index 100%
rename from hertzbeat/templates/database/statefulset.yaml
rename to charts/hertzbeat/templates/database/statefulset.yaml
diff --git a/hertzbeat/templates/manager/configmap.yaml
b/charts/hertzbeat/templates/manager/configmap.yaml
similarity index 100%
rename from hertzbeat/templates/manager/configmap.yaml
rename to charts/hertzbeat/templates/manager/configmap.yaml
diff --git a/hertzbeat/templates/manager/deployment.yaml
b/charts/hertzbeat/templates/manager/deployment.yaml
similarity index 100%
rename from hertzbeat/templates/manager/deployment.yaml
rename to charts/hertzbeat/templates/manager/deployment.yaml
diff --git a/hertzbeat/templates/manager/ingress.yaml
b/charts/hertzbeat/templates/manager/ingress.yaml
similarity index 100%
rename from hertzbeat/templates/manager/ingress.yaml
rename to charts/hertzbeat/templates/manager/ingress.yaml
diff --git a/hertzbeat/templates/manager/service-cluster.yaml
b/charts/hertzbeat/templates/manager/service-cluster.yaml
similarity index 100%
rename from hertzbeat/templates/manager/service-cluster.yaml
rename to charts/hertzbeat/templates/manager/service-cluster.yaml
diff --git a/hertzbeat/templates/manager/service-expose.yaml
b/charts/hertzbeat/templates/manager/service-expose.yaml
similarity index 100%
rename from hertzbeat/templates/manager/service-expose.yaml
rename to charts/hertzbeat/templates/manager/service-expose.yaml
diff --git a/hertzbeat/templates/tsdb/configmap.yaml
b/charts/hertzbeat/templates/tsdb/configmap.yaml
similarity index 100%
rename from hertzbeat/templates/tsdb/configmap.yaml
rename to charts/hertzbeat/templates/tsdb/configmap.yaml
diff --git a/hertzbeat/templates/tsdb/pvc.yaml
b/charts/hertzbeat/templates/tsdb/pvc.yaml
similarity index 100%
rename from hertzbeat/templates/tsdb/pvc.yaml
rename to charts/hertzbeat/templates/tsdb/pvc.yaml
diff --git a/hertzbeat/templates/tsdb/service.yaml
b/charts/hertzbeat/templates/tsdb/service.yaml
similarity index 100%
rename from hertzbeat/templates/tsdb/service.yaml
rename to charts/hertzbeat/templates/tsdb/service.yaml
diff --git a/hertzbeat/templates/tsdb/statefulset.yaml
b/charts/hertzbeat/templates/tsdb/statefulset.yaml
similarity index 100%
rename from hertzbeat/templates/tsdb/statefulset.yaml
rename to charts/hertzbeat/templates/tsdb/statefulset.yaml
diff --git a/hertzbeat/values.yaml b/charts/hertzbeat/values.yaml
similarity index 100%
rename from hertzbeat/values.yaml
rename to charts/hertzbeat/values.yaml
diff --git a/ct.yaml b/ct.yaml
new file mode 100644
index 0000000..e071017
--- /dev/null
+++ b/ct.yaml
@@ -0,0 +1,10 @@
+remote: origin
+target-branch: main
+chart-dirs:
+ - charts
+helm-extra-args: --timeout 600s
+pages-branch: main
+pages-index-path: docs/index.yaml
+package-path: docs
+index-path: docs/index.yaml
+pr:
diff --git a/docs/.asf.yaml b/docs/.asf.yaml
new file mode 100644
index 0000000..f99fe5a
--- /dev/null
+++ b/docs/.asf.yaml
@@ -0,0 +1,47 @@
+#
+# 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.
+#
+
+github:
+ description: HertzBeat is a real-time monitoring system with agentless,
performance cluster, prometheus-compatible, custom monitoring and status page
building capabilities.
+ homepage: https://charts.hertzbeat.apache.org/
+ labels:
+ - monitoring
+ - monitor
+ - self-hosted
+ - status
+ - prometheus
+ - uptime-monitoring
+ - status-page
+ enabled_merge_buttons:
+ squash: true
+ merge: false
+ rebase: false
+ protected_branches:
+ main:
+ required_status_checks:
+ strict: false
+ required_pull_request_reviews:
+ dismiss_stale_reviews: true
+ required_approving_review_count: 1
+publish:
+ whoami: asf-site
+notifications:
+ commits: [email protected]
+ issues: [email protected]
+ pullrequests: [email protected]
+ jobs: [email protected]
+ discussions: [email protected]
diff --git a/docs/CNAME b/docs/CNAME
new file mode 100644
index 0000000..bd786c6
--- /dev/null
+++ b/docs/CNAME
@@ -0,0 +1 @@
+charts.hertzbeat.apache.org
diff --git a/hertzbeat/README.md b/docs/README.md
similarity index 95%
rename from hertzbeat/README.md
rename to docs/README.md
index 0ebff08..04ff20c 100644
--- a/hertzbeat/README.md
+++ b/docs/README.md
@@ -1,13 +1,13 @@
-# Helm Chart for Apache HertzBeat (incubating)
+# Helm Chart for HertzBeat
[](https://artifacthub.io/packages/search?repo=hertzbeat)
<div class="artifacthub-widget"
data-url="https://artifacthub.io/packages/helm/hertzbeat/hertzbeat"
data-theme="light" data-header="true" data-stars="true"
data-responsive="false"><blockquote><p lang="en" dir="ltr"><b>hertzbeat</b>: An
open-source, real-time monitoring system with custom monitoring, high
performance cluster and agentless capabilities.</p>— Open in <a
href="https://artifacthub.io/packages/helm/hertzbeat/hertzbeat">Artifact
Hub</a></blockquote></div><script async src [...]
-## What is Apache HertzBeat (incubating)?
+## What is HertzBeat?
-[Apache HertzBeat](https://github.com/apache/hertzbeat) (incubating) is an
easy-to-use, open source, real-time monitoring system with agentless, high
performance cluster, prometheus-compatible, offers powerful custom monitoring
and status page building capabilities.
+[HertzBeat](https://github.com/dromara/hertzbeat) is an open source, real-time
monitoring system with custom monitoring, high performance cluster,
prometheus-compatible and agentless capabilities.
### Features
@@ -17,14 +17,14 @@
* Compatible with the `Prometheus` ecosystem and more, can monitoring what
`Prometheus` can monitoring with few clicks on webui.
* High performance, supports horizontal expansion of multi-collector clusters,
multi-isolated network monitoring and cloud-edge collaboration.
* Provides flexible alarm threshold rules and timely notifications delivered
via `Discord` `Slack` `Telegram` `Email` `Dingtalk` `WeChat` `FeiShu`
`Webhook` `SMS` `ServerChan`.
-* Provides powerful status page building capabilities, easily communicate the
real-time status of your service to users.
-> HertzBeat's powerful customization, multi-type support, high performance,
easy expansion, and low coupling, aims to help developers and teams quickly
build their own monitoring system.
+> HertzBeat's powerful customization, multi-type support, high performance,
easy expansion, and low coupling, aims to help users quickly build their own
monitoring system.
+> We also provide **[SaaS Monitoring Cloud](https://console.tancloud.cn)**,
users no longer need to deploy a cumbersome monitoring system to monitor their
resources. **[Get started online for free](https://console.tancloud.cn)**.
## Helm Chart for HertzBeat
-This [Helm](https://github.com/kubernetes/helm) chart installs
[HertzBeat](https://github.com/apache/hertzbeat) in a Kubernetes cluster.
Welcome to
[contribute](https://github.com/apache/hertzbeat/tree/master/script/helm) to
Helm Chart for HertzBeat.
+This [Helm](https://github.com/kubernetes/helm) chart installs
[HertzBeat](https://github.com/dromara/hertzbeat) in a Kubernetes cluster.
Welcome to
[contribute](https://github.com/dromara/hertzbeat/tree/master/script/helm) to
Helm Chart for HertzBeat.
## Prerequisites
@@ -36,7 +36,7 @@ This [Helm](https://github.com/kubernetes/helm) chart
installs [HertzBeat](https
### Add Helm repository
```bash
-helm repo add hertzbeat https://charts.hertzbeat.com/
+helm repo add hertzbeat https://charts.hertzbeat.apache.org/
helm repo update
```
@@ -60,7 +60,7 @@ The external URL for HertzBeat core service is used to:
Format: `protocol://domain[:port]`. Usually:
-- if service exposed via `Ingress`, the `domain` should be the value of
`expose.ingress.hosts`
+- if service exposed via `Ingress`, the `domain` should be the value of
`expose.ingress.hosts.core`
- if service exposed via `ClusterIP`, the `domain` should be the value of
`expose.clusterIP.name`
- if service exposed via `NodePort`, the `domain` should be the IP address of
one Kubernetes node
- if service exposed via `LoadBalancer`, set the `domain` as your own domain
name and add a CNAME record to map the domain name to the one you got from the
cloud provider
@@ -95,7 +95,7 @@ The following table lists the configurable parameters of the
HertzBeat chart and
| Parameter | Description
| Default |
|---------------------------------------|-----------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------|-----------------|
| **Expose** |
| |
-| `expose.type` | How to expose the service:
`Ingress`, `ClusterIP`, `NodePort` or `LoadBalancer`, other values will be
ignored and the creation of service will be skipped.
| `Ingress` |
+| `expose.type` | How to expose the service:
`ingress`, `clusterIP`, `nodePort` or `loadBalancer`, other values will be
ignored and the creation of service will be skipped.
| `ingress` |
| `expose.clusterIP.name` | The name of ClusterIP service
| `hertzbeat` |
| `expose.clusterIP.annotations` | The annotations attached to the
ClusterIP service
| {} |
| `expose.clusterIP.ports.port` | The service port HertzBeat listens
on when serving HTTP
| `80` |
@@ -155,7 +155,7 @@ The following table lists the configurable parameters of
the HertzBeat chart and
[resources]:
https://kubernetes.io/docs/concepts/configuration/manage-compute-resources-container/
-[hertzbeat]: https://github.com/apache/hertzbeat/
+[hertzbeat]: https://github.com/dromara/hertzbeat/
[artifacthub]: https://artifacthub.io/
[helm]: https://helm.sh/
diff --git a/docs/artifacthub-repo.yml b/docs/artifacthub-repo.yml
new file mode 100644
index 0000000..7c8d20d
--- /dev/null
+++ b/docs/artifacthub-repo.yml
@@ -0,0 +1,5 @@
+# Artifact Hub repository metadata file
+repositoryID: d4da459e-96a5-4c30-a43e-63beb9be4e29
+owners:
+ - name: tom
+ email: [email protected]
diff --git a/docs/hertzbeat-1.5.0.tgz b/docs/hertzbeat-1.5.0.tgz
new file mode 100644
index 0000000..d4da098
Binary files /dev/null and b/docs/hertzbeat-1.5.0.tgz differ
diff --git a/docs/hertzbeat-1.6.0.tgz b/docs/hertzbeat-1.6.0.tgz
new file mode 100644
index 0000000..6b3c7ff
Binary files /dev/null and b/docs/hertzbeat-1.6.0.tgz differ
diff --git a/docs/index.yaml b/docs/index.yaml
new file mode 100644
index 0000000..212dbf1
--- /dev/null
+++ b/docs/index.yaml
@@ -0,0 +1,42 @@
+apiVersion: v1
+entries:
+ hertzbeat:
+ - apiVersion: v2
+ appVersion: v1.6.0
+ created: "2024-06-11T16:47:50.490962+08:00"
+ description: An open-source, real-time monitoring system with custom
monitoring,
+ high performance cluster and agentless capabilities.
+ digest: 43e927f4c8df9ea73bffb4118f9ece7f12fdd99c399eeb11d08d2bff6e88d204
+ home: https://hertzbeat.apache.org/
+ icon:
https://raw.githubusercontent.com/apache/hertzbeat/master/home/static/img/hertzbeat-logo.png
+ maintainers:
+ - email: [email protected]
+ name: hertzbeat-dev
+ name: hertzbeat
+ sources:
+ - https://github.com/apache/hertzbeat
+ - charts.hertzbeat.apache.org
+ type: application
+ urls:
+ - hertzbeat-1.6.0.tgz
+ version: 1.6.0
+ - apiVersion: v2
+ appVersion: v1.5.0
+ created: "2024-06-11T16:47:50.490415+08:00"
+ description: An open-source, real-time monitoring system with custom
monitoring,
+ high performance cluster and agentless capabilities.
+ digest: 306de194b2f99be2f3dde343d638d5b8b85e2cc220541938bdbffd2515da0202
+ home: https://hertzbeat.apache.org/
+ icon:
https://raw.githubusercontent.com/apache/hertzbeat/master/home/static/img/hertzbeat-logo.png
+ maintainers:
+ - email: [email protected]
+ name: tom
+ name: hertzbeat
+ sources:
+ - https://github.com/dromara/hertzbeat
+ - https://charts.hertzbeat.apache.org
+ type: application
+ urls:
+ - hertzbeat-1.5.0.tgz
+ version: 1.5.0
+generated: "2024-06-11T16:47:50.485497+08:00"
---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]