From b78794d3bc424f6ec1bec61538033984689aa41e Mon Sep 17 00:00:00 2001 From: Brian O'Reilly Date: Thu, 31 Mar 2022 02:09:47 -0800 Subject: [PATCH] [babybuddy] add chart: babybuddy (#1471) * initial version of new babybuddy chart Signed-off-by: Brian O'Reilly --- charts/incubator/babybuddy/.helmignore | 26 ++++++++++++ charts/incubator/babybuddy/Chart.yaml | 25 +++++++++++ charts/incubator/babybuddy/README.md | 42 +++++++++++++++++++ .../babybuddy/README_CONFIG.md.gotmpl | 9 ++++ .../incubator/babybuddy/templates/NOTES.txt | 1 + .../incubator/babybuddy/templates/common.yaml | 1 + charts/incubator/babybuddy/values.yaml | 41 ++++++++++++++++++ 7 files changed, 145 insertions(+) create mode 100644 charts/incubator/babybuddy/.helmignore create mode 100644 charts/incubator/babybuddy/Chart.yaml create mode 100644 charts/incubator/babybuddy/README.md create mode 100644 charts/incubator/babybuddy/README_CONFIG.md.gotmpl create mode 100644 charts/incubator/babybuddy/templates/NOTES.txt create mode 100644 charts/incubator/babybuddy/templates/common.yaml create mode 100644 charts/incubator/babybuddy/values.yaml diff --git a/charts/incubator/babybuddy/.helmignore b/charts/incubator/babybuddy/.helmignore new file mode 100644 index 00000000..4379e2b3 --- /dev/null +++ b/charts/incubator/babybuddy/.helmignore @@ -0,0 +1,26 @@ +# 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 diff --git a/charts/incubator/babybuddy/Chart.yaml b/charts/incubator/babybuddy/Chart.yaml new file mode 100644 index 00000000..8bea0369 --- /dev/null +++ b/charts/incubator/babybuddy/Chart.yaml @@ -0,0 +1,25 @@ +apiVersion: v2 +appVersion: 1.10.2 +description: A buddy for babies! Helps caregivers track sleep, feedings, diaper changes, tummy time and more to learn about and predict baby's needs without (as much) guess work. +name: babybuddy +version: 1.0.0 +kubeVersion: ">=1.16.0-0" +keywords: + - babybuddy + - baby +home: https://github.com/k8s-at-home/charts/tree/master/charts/incubator/babybuddy +icon: https://github.com/babybuddy/babybyddy/blob/master/babybuddy/static_src/logo/icon.png?raw=true +sources: + - https://github.com/babybuddy/babybuddy + - https://hub.docker.com/r/linuxserver/babybuddy +maintainers: + - name: brianporeilly + email: brianporeilly@gmail.com +dependencies: + - name: common + repository: https://library-charts.k8s-at-home.com + version: 4.3.0 +annotations: + artifacthub.io/changes: | + - kind: added + description: Initial version diff --git a/charts/incubator/babybuddy/README.md b/charts/incubator/babybuddy/README.md new file mode 100644 index 00000000..c06a301f --- /dev/null +++ b/charts/incubator/babybuddy/README.md @@ -0,0 +1,42 @@ +# babybuddy + +![Version: 1.0.0](https://img.shields.io/badge/Version-1.0.0-informational?style=flat-square) ![AppVersion: 1.10.2](https://img.shields.io/badge/AppVersion-1.10.2-informational?style=flat-square) + +A buddy for babies! Helps caregivers track sleep, feedings, diaper changes, tummy time and more to learn about and predict baby's needs without (as much) guess work. + +**Homepage:** + +## Maintainers + +| Name | Email | Url | +| ---- | ------ | --- | +| brianporeilly | brianporeilly@gmail.com | | + +## Source Code + +* +* + +## Requirements + +Kubernetes: `>=1.16.0-0` + +| Repository | Name | Version | +|------------|------|---------| +| https://library-charts.k8s-at-home.com | common | 4.3.0 | + +## Values + +| Key | Type | Default | Description | +|-----|------|---------|-------------| +| env | object | See below | environment variables. See [babybuddy docs](https://docs.baby-buddy.net/setup/configuration/) for more details. | +| env.TZ | string | `"UTC"` | Set the container timezone | +| image.pullPolicy | string | `"IfNotPresent"` | image pull policy | +| image.repository | string | `"linuxserver/babybuddy"` | image repository | +| image.tag | string | `"1.10.2"` | image tag | +| ingress.main | object | See values.yaml | Enable and configure ingress settings for the chart under this key. | +| persistence | object | See values.yaml | Configure persistence settings for the chart under this key. | +| service | object | See values.yaml | Configures service settings for the chart. | + +---------------------------------------------- +Autogenerated from chart metadata using [helm-docs v1.6.0](https://github.com/norwoodj/helm-docs/releases/v1.6.0) diff --git a/charts/incubator/babybuddy/README_CONFIG.md.gotmpl b/charts/incubator/babybuddy/README_CONFIG.md.gotmpl new file mode 100644 index 00000000..e93d80bf --- /dev/null +++ b/charts/incubator/babybuddy/README_CONFIG.md.gotmpl @@ -0,0 +1,9 @@ +{{- define "custom.custom.configuration.header" -}} +## Custom configuration +{{- end -}} + +{{- define "custom.custom.configuration" -}} +{{ template "custom.custom.configuration.header" . }} + +N/A +{{- end -}} diff --git a/charts/incubator/babybuddy/templates/NOTES.txt b/charts/incubator/babybuddy/templates/NOTES.txt new file mode 100644 index 00000000..90f7b653 --- /dev/null +++ b/charts/incubator/babybuddy/templates/NOTES.txt @@ -0,0 +1 @@ +{{- include "common.notes.defaultNotes" . -}} diff --git a/charts/incubator/babybuddy/templates/common.yaml b/charts/incubator/babybuddy/templates/common.yaml new file mode 100644 index 00000000..a6613c2c --- /dev/null +++ b/charts/incubator/babybuddy/templates/common.yaml @@ -0,0 +1 @@ +{{ include "common.all" . }} diff --git a/charts/incubator/babybuddy/values.yaml b/charts/incubator/babybuddy/values.yaml new file mode 100644 index 00000000..62bf72a8 --- /dev/null +++ b/charts/incubator/babybuddy/values.yaml @@ -0,0 +1,41 @@ +# +# IMPORTANT NOTE +# +# This chart inherits from our common library chart. You can check the default values/options here: +# https://github.com/k8s-at-home/library-charts/tree/main/charts/stable/common/values.yaml +# + +image: + # -- image repository + repository: linuxserver/babybuddy + # @default -- chart.appVersion + tag: + # -- image pull policy + pullPolicy: IfNotPresent + +# -- environment variables. See [babybuddy docs](https://docs.baby-buddy.net/setup/configuration/) for more details. +# @default -- See below +env: + # -- Set the container timezone + TZ: UTC + +# -- Configures service settings for the chart. +# @default -- See values.yaml +service: + main: + ports: + http: + port: 8000 + +ingress: + # -- Enable and configure ingress settings for the chart under this key. + # @default -- See values.yaml + main: + enabled: false + +# -- Configure persistence settings for the chart under this key. +# @default -- See values.yaml +persistence: + config: + enabled: false + mountPath: /config