diff --git a/.github/ct-install.yaml b/.github/ct-install.yaml index 8e11edd5b84..675f2396187 100644 --- a/.github/ct-install.yaml +++ b/.github/ct-install.yaml @@ -11,6 +11,7 @@ chart-dirs: - charts/system excluded-charts: - charts/dependency/subchart + - charts/incubator/nebula-sync - charts/library/common - charts/stable/adguardhome-sync - charts/stable/alertmanager-bot diff --git a/charts/incubator/nebula-sync/.helmignore b/charts/incubator/nebula-sync/.helmignore new file mode 100644 index 00000000000..feb7464da6f --- /dev/null +++ b/charts/incubator/nebula-sync/.helmignore @@ -0,0 +1,32 @@ +# 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 +*~ +# Various IDEs +.project +.idea/ +*.tmproj +.vscode/ +# OWNERS file for Kubernetes +OWNERS +# helm-docs templates +*.gotmpl +# docs folder +/docs +# icon +icon.png +icon.webp +icon-small.webp diff --git a/charts/incubator/nebula-sync/CHANGELOG.md b/charts/incubator/nebula-sync/CHANGELOG.md new file mode 100644 index 00000000000..f3e8318aa10 --- /dev/null +++ b/charts/incubator/nebula-sync/CHANGELOG.md @@ -0,0 +1,4 @@ +--- +title: Changelog +pagefind: false +--- diff --git a/charts/incubator/nebula-sync/Chart.yaml b/charts/incubator/nebula-sync/Chart.yaml new file mode 100644 index 00000000000..c9f84ef7b7f --- /dev/null +++ b/charts/incubator/nebula-sync/Chart.yaml @@ -0,0 +1,38 @@ +annotations: + artifacthub.io/links: |- + - name: support + url: https://discord.com/invite/tVsPTHWTtr + truecharts.org/category: networking + truecharts.org/max_helm_version: "3.17" + truecharts.org/min_helm_version: "3.14" + truecharts.org/train: incubator +apiVersion: v2 +appVersion: v0.11.0 +dependencies: + - name: common + version: 28.13.0 + repository: oci://tccr.io/truecharts + condition: "" + alias: "" + tags: [] + import-values: [] +deprecated: false +description: Synchronize Pi-hole v6.x configuration to replicas. +home: https://truecharts.org/charts/incubator/nebula-sync +icon: https://truecharts.org/img/hotlink-ok/chart-icons/nebula-sync.webp +keywords: + - pihole + - sync + - adblocking +kubeVersion: '>=1.24.0-0' +maintainers: + - name: TrueCharts + email: info@truecharts.org + url: https://truecharts.org +name: nebula-sync +sources: + - https://ghcr.io/lovelaze/nebula-sync + - https://github.com/truecharts/charts/tree/master/charts/incubator/nebula-sync +type: application +version: 0.1.0 + diff --git a/charts/incubator/nebula-sync/README.md b/charts/incubator/nebula-sync/README.md new file mode 100644 index 00000000000..7ef0b890d73 --- /dev/null +++ b/charts/incubator/nebula-sync/README.md @@ -0,0 +1,3 @@ +--- +title: README +--- \ No newline at end of file diff --git a/charts/incubator/nebula-sync/icon-small.webp b/charts/incubator/nebula-sync/icon-small.webp new file mode 100644 index 00000000000..f7c7675281a Binary files /dev/null and b/charts/incubator/nebula-sync/icon-small.webp differ diff --git a/charts/incubator/nebula-sync/icon.webp b/charts/incubator/nebula-sync/icon.webp new file mode 100644 index 00000000000..96091c838f5 Binary files /dev/null and b/charts/incubator/nebula-sync/icon.webp differ diff --git a/charts/incubator/nebula-sync/templates/NOTES.txt b/charts/incubator/nebula-sync/templates/NOTES.txt new file mode 100644 index 00000000000..efcb74cb772 --- /dev/null +++ b/charts/incubator/nebula-sync/templates/NOTES.txt @@ -0,0 +1 @@ +{{- include "tc.v1.common.lib.chart.notes" $ -}} diff --git a/charts/incubator/nebula-sync/templates/common.yaml b/charts/incubator/nebula-sync/templates/common.yaml new file mode 100644 index 00000000000..b51394e00a4 --- /dev/null +++ b/charts/incubator/nebula-sync/templates/common.yaml @@ -0,0 +1 @@ +{{ include "tc.v1.common.loader.all" . }} diff --git a/charts/incubator/nebula-sync/values.yaml b/charts/incubator/nebula-sync/values.yaml new file mode 100644 index 00000000000..6662702780f --- /dev/null +++ b/charts/incubator/nebula-sync/values.yaml @@ -0,0 +1,51 @@ +image: + repository: ghcr.io/lovelaze/nebula-sync + pullPolicy: IfNotPresent + tag: v0.11.0@sha256:17177eb65637d73eee7169a789e69eda8395d4d4398cc0cd08e2cbeb7c2910f1 + +service: + main: + ports: + main: + port: 8080 +workload: + main: + podSpec: + containers: + main: + probes: + liveness: + path: /health + startup: + path: /health + readiness: + path: /health + env: + # Basic configuration + PRIMARY: "pi.hole|password" + REPLICAS: "pi2.hole|password" + FULL_SYNC: "false" + RUN_GRAVITY: "false" + CLIENT_SKIP_TLS_VERIFICATION: "true" + CRON: "*/15 * * * *" + + # Sync configuration options + SYNC_CONFIG_DNS: "true" + SYNC_CONFIG_DHCP: "false" + SYNC_CONFIG_NTP: "false" + SYNC_CONFIG_RESOLVER: "false" + SYNC_CONFIG_DATABASE: "false" + SYNC_CONFIG_MISC: "false" + SYNC_CONFIG_DEBUG: "false" + # TrueCharts Pi-hole chart defines upstream dns servers in "env" which can't be overwritten at runtime + SYNC_CONFIG_DNS_EXCLUDE: "upstreams" + + # Sync gravity options + SYNC_GRAVITY_DHCP_LEASES: "false" + SYNC_GRAVITY_GROUP: "false" + SYNC_GRAVITY_AD_LIST: "true" + SYNC_GRAVITY_AD_LIST_BY_GROUP: "true" + SYNC_GRAVITY_DOMAIN_LIST: "true" + SYNC_GRAVITY_DOMAIN_LIST_BY_GROUP: "true" + SYNC_GRAVITY_CLIENT: "false" + SYNC_GRAVITY_CLIENT_BY_GROUP: "false"