From 4dbcd74a038f98cff2c26a0347a6e1fe393c7815 Mon Sep 17 00:00:00 2001 From: Jonas Forsberg Date: Tue, 12 Nov 2024 07:18:48 +0100 Subject: [PATCH] added node-red --- charts/node-red/Chart.yaml | 18 +++++++++++++++++ charts/node-red/Makefile | 2 ++ charts/node-red/templates/base.tpl | 1 + charts/node-red/values.yaml | 32 ++++++++++++++++++++++++++++++ 4 files changed, 53 insertions(+) create mode 100644 charts/node-red/Chart.yaml create mode 100644 charts/node-red/Makefile create mode 100644 charts/node-red/templates/base.tpl create mode 100644 charts/node-red/values.yaml diff --git a/charts/node-red/Chart.yaml b/charts/node-red/Chart.yaml new file mode 100644 index 0000000..cb89dff --- /dev/null +++ b/charts/node-red/Chart.yaml @@ -0,0 +1,18 @@ +--- +apiVersion: v2 +name: node-red +description: +type: application +version: 1.0.0 +appVersion: +kubeVersion: ">=1.27.0" +home: +sources: + - https://git.rre.nu/jonas/helm-charts +maintainers: + - name: Jonas Forsberg + email: barregargamel@gmail.com +dependencies: + - name: lib + repository: https://git.rre.nu/api/packages/jonas/helm + version: 1.0.3 diff --git a/charts/node-red/Makefile b/charts/node-red/Makefile new file mode 100644 index 0000000..6cd25d8 --- /dev/null +++ b/charts/node-red/Makefile @@ -0,0 +1,2 @@ +doc: + frigate gen --output-format markdown --no-deps --no-credits ./ > README.md diff --git a/charts/node-red/templates/base.tpl b/charts/node-red/templates/base.tpl new file mode 100644 index 0000000..30c9b59 --- /dev/null +++ b/charts/node-red/templates/base.tpl @@ -0,0 +1 @@ +{{ include "lib.all" . }} diff --git a/charts/node-red/values.yaml b/charts/node-red/values.yaml new file mode 100644 index 0000000..7144aa4 --- /dev/null +++ b/charts/node-red/values.yaml @@ -0,0 +1,32 @@ +image: + repository: + tag: + +controller: # main workload + enabled: true # should the main workload be included or not + type: deployment # valid options are deployment, statefulset, job + +service: + http: + enabled: false + ports: + http: + port: 80 + targetPort: 8123 + +ingress: + enabled: false + service: http # what service should the ingress target + servicePort: 80 + className: "nginx" + hosts: + - host: example.local + paths: + - path: / + pathType: Prefix + annotations: + {} + tls: [] + # - secretName: chart-example-tls + # hosts: + # - chart-example.local