From 4f5bb0a7475ccf6fb3ed71e50fe0a189619f215a Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?B=E1=B4=87=CA=80=C9=B4=E1=B4=85=20S=E1=B4=84=CA=9C?= =?UTF-8?q?=E1=B4=8F=CA=80=C9=A2=E1=B4=87=CA=80s?= Date: Tue, 8 Jun 2021 21:14:46 +0200 Subject: [PATCH] [template] Update chart template MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Signed-off-by: Bᴇʀɴᴅ Sᴄʜᴏʀɢᴇʀs --- templates/chart/Chart.yaml | 4 ++-- templates/chart/README.md | 21 ++++++++++--------- templates/chart/values.yaml | 42 ++++++++++++++++++++++--------------- 3 files changed, 38 insertions(+), 29 deletions(-) diff --git a/templates/chart/Chart.yaml b/templates/chart/Chart.yaml index 4038d305..61d450d4 100644 --- a/templates/chart/Chart.yaml +++ b/templates/chart/Chart.yaml @@ -2,7 +2,7 @@ apiVersion: v2 appVersion: 1.0.0 description: ${CHARTNAME} helm package name: ${CHARTNAME} -version: 1.3.0 +version: 1.0.0 kubeVersion: ">=1.16.0-0" keywords: - ${CHARTNAME} @@ -16,4 +16,4 @@ maintainers: dependencies: - name: common repository: https://library-charts.k8s-at-home.com - version: 2.5.0 + version: 3.0.0 diff --git a/templates/chart/README.md b/templates/chart/README.md index 761e07e2..3ac31c37 100644 --- a/templates/chart/README.md +++ b/templates/chart/README.md @@ -18,7 +18,7 @@ Kubernetes: `>=1.16.0-0` | Repository | Name | Version | |------------|------|---------| -| https://library-charts.k8s-at-home.com | common | 1.0.0 | +| https://library-charts.k8s-at-home.com | common | 3.0.0 | ## TL;DR @@ -75,13 +75,14 @@ N/A | Key | Type | Default | Description | |-----|------|---------|-------------| -| env | object | `{}` | | -| image.pullPolicy | string | `"IfNotPresent"` | | -| image.repository | string | `"${CHARTNAME}/${CHARTNAME}"` | | -| image.tag | string | `"1.0.0"` | | -| ingress.enabled | bool | `false` | | -| service.port.port | int | `1880` | | -| strategy.type | string | `"Recreate"` | | +| env | object | See below | environment variables. See more environment variables in the [${CHARTNAME} documentation](https://${CHARTNAME}.org/docs). | +| env.TZ | string | `"UTC"` | Set the container timezone | +| image.pullPolicy | string | `"IfNotPresent"` | image pull policy | +| image.repository | string | `"${CHARTNAME}/${CHARTNAME}"` | image repository | +| image.tag | string | `"1.0.0"` | 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. | ## Changelog @@ -93,7 +94,7 @@ The format is based on [Keep a Changelog](https://keepachangelog.com/en/1.0.0/), #### Added -- N/A +- Initial version #### Changed @@ -113,4 +114,4 @@ The format is based on [Keep a Changelog](https://keepachangelog.com/en/1.0.0/), - Join our [Discord](https://discord.gg/sTMX7Vh) community ---------------------------------------------- -Autogenerated from chart metadata using [helm-docs v1.5.0](https://github.com/norwoodj/helm-docs/releases/v1.5.0) \ No newline at end of file +Autogenerated from chart metadata using [helm-docs v1.5.0](https://github.com/norwoodj/helm-docs/releases/v1.5.0) diff --git a/templates/chart/values.yaml b/templates/chart/values.yaml index f33c1446..55a86643 100644 --- a/templates/chart/values.yaml +++ b/templates/chart/values.yaml @@ -6,28 +6,36 @@ # image: + # -- image repository repository: ${CHARTNAME}/${CHARTNAME} - pullPolicy: IfNotPresent + # -- image tag tag: 1.0.0 + # -- image pull policy + pullPolicy: IfNotPresent -strategy: - type: Recreate - -# See more environment variables in the ${CHARTNAME} documentation -# https://${CHARTNAME}.org/docs -env: {} - # TZ: +# -- environment variables. See more environment variables in the [${CHARTNAME} documentation](https://${CHARTNAME}.org/docs). +# @default -- See below +env: + # -- Set the container timezone + TZ: UTC +# -- Configures service settings for the chart. +# @default -- See values.yaml service: - port: - port: 1880 + main: + ports: + http: + port: 1880 ingress: - enabled: false + # -- Enable and configure ingress settings for the chart under this key. + # @default -- See values.yaml + main: + enabled: false -# persistence: -# data: -# enabled: false -# emptyDir: -# enabled: false -# mountPath: /data +# -- Configure persistence settings for the chart under this key. +# @default -- See values.yaml +persistence: {} + # data: + # enabled: false + # mountPath: /data