diff --git a/charts/kubezero-graph/.helmignore b/charts/kubezero-graph/.helmignore new file mode 100644 index 00000000..0e8a0eb3 --- /dev/null +++ b/charts/kubezero-graph/.helmignore @@ -0,0 +1,23 @@ +# Patterns to ignore when building packages. +# This supports shell glob matching, relative path matching, and +# negation (prefixed with !). Only one pattern per line. +.DS_Store +# Common VCS dirs +.git/ +.gitignore +.bzr/ +.bzrignore +.hg/ +.hgignore +.svn/ +# Common backup files +*.swp +*.bak +*.tmp +*.orig +*~ +# Various IDEs +.project +.idea/ +*.tmproj +.vscode/ diff --git a/charts/kubezero-graph/Chart.yaml b/charts/kubezero-graph/Chart.yaml new file mode 100644 index 00000000..98d46544 --- /dev/null +++ b/charts/kubezero-graph/Chart.yaml @@ -0,0 +1,23 @@ +apiVersion: v2 +name: kubezero-graph +description: KubeZero GraphQL and GraphDB +type: application +version: 0.1.0 +home: https://kubezero.com +icon: https://cdn.zero-downtime.net/assets/kubezero/logo-small-64.png +keywords: + - kubezero + - neo4j +maintainers: + - name: Stefan Reimer + email: stefan@zero-downtime.net +dependencies: + - name: kubezero-lib + version: ">= 0.2.1" + repository: https://cdn.zero-downtime.net/charts/ + - name: neo4j + version: 5.26.0 + repository: https://helm.neo4j.com/neo4j + condition: neo4j.enabled + +kubeVersion: ">= 1.29.0-0" diff --git a/charts/kubezero-graph/README.md b/charts/kubezero-graph/README.md new file mode 100644 index 00000000..c7532e71 --- /dev/null +++ b/charts/kubezero-graph/README.md @@ -0,0 +1,44 @@ +# kubezero-graph + +![Version: 0.1.0](https://img.shields.io/badge/Version-0.1.0-informational?style=flat-square) ![Type: application](https://img.shields.io/badge/Type-application-informational?style=flat-square) + +KubeZero GraphQL and GraphDB + +**Homepage:** + +## Maintainers + +| Name | Email | Url | +| ---- | ------ | --- | +| Stefan Reimer | | | + +## Requirements + +Kubernetes: `>= 1.29.0-0` + +| Repository | Name | Version | +|------------|------|---------| +| https://cdn.zero-downtime.net/charts/ | kubezero-lib | >= 0.2.1 | +| https://helm.neo4j.com/neo4j | neo4j | 5.26.0 | + +## Values + +| Key | Type | Default | Description | +|-----|------|---------|-------------| +| neo4j.disableLookups | bool | `true` | | +| neo4j.enabled | bool | `false` | | +| neo4j.neo4j.name | string | `"test-db"` | | +| neo4j.serviceMonitor.enabled | bool | `false` | | +| neo4j.services.neo4j.enabled | bool | `false` | | +| neo4j.volumes.data.mode | string | `"defaultStorageClass"` | | + +# Dashboards +https://grafana.com/grafana/dashboards/11835 + +## Redis + +# Resources +- https://ot-container-kit.github.io/redis-operator/ +- https://github.com/helm/charts/tree/master/stable/redis +- https://github.com/rustudorcalin/deploying-redis-cluster +- diff --git a/charts/kubezero-graph/README.md.gotmpl b/charts/kubezero-graph/README.md.gotmpl new file mode 100644 index 00000000..3fc4fc78 --- /dev/null +++ b/charts/kubezero-graph/README.md.gotmpl @@ -0,0 +1,27 @@ +{{ template "chart.header" . }} +{{ template "chart.deprecationWarning" . }} + +{{ template "chart.versionBadge" . }}{{ template "chart.typeBadge" . }}{{ template "chart.appVersionBadge" . }} + +{{ template "chart.description" . }} + +{{ template "chart.homepageLine" . }} + +{{ template "chart.maintainersSection" . }} + +{{ template "chart.sourcesSection" . }} + +{{ template "chart.requirementsSection" . }} + +{{ template "chart.valuesSection" . }} + +# Dashboards +https://grafana.com/grafana/dashboards/11835 + +## Redis + +# Resources +- https://ot-container-kit.github.io/redis-operator/ +- https://github.com/helm/charts/tree/master/stable/redis +- https://github.com/rustudorcalin/deploying-redis-cluster +- diff --git a/charts/kubezero-graph/update.sh b/charts/kubezero-graph/update.sh new file mode 100755 index 00000000..173e8fe7 --- /dev/null +++ b/charts/kubezero-graph/update.sh @@ -0,0 +1,9 @@ +#!/bin/bash +set -ex + +. ../../scripts/lib-update.sh + +#login_ecr_public +update_helm + +update_docs diff --git a/charts/kubezero-graph/values.yaml b/charts/kubezero-graph/values.yaml new file mode 100644 index 00000000..d3bacc89 --- /dev/null +++ b/charts/kubezero-graph/values.yaml @@ -0,0 +1,18 @@ +neo4j: + enabled: false + + disableLookups: true + + neo4j: + name: test-db + + volumes: + data: + mode: defaultStorageClass + + services: + neo4j: + enabled: false + + serviceMonitor: + enabled: false