[template] Update chart template

Signed-off-by: Bᴇʀɴᴅ Sᴄʜᴏʀɢᴇʀs <me@bjw-s.dev>
This commit is contained in:
Bᴇʀɴᴅ Sᴄʜᴏʀɢᴇʀs 2021-06-08 21:14:46 +02:00
parent 404ab7f4cb
commit 4f5bb0a747
No known key found for this signature in database
GPG Key ID: 228A77789D71A6E2
3 changed files with 38 additions and 29 deletions

View File

@ -2,7 +2,7 @@ apiVersion: v2
appVersion: 1.0.0 appVersion: 1.0.0
description: ${CHARTNAME} helm package description: ${CHARTNAME} helm package
name: ${CHARTNAME} name: ${CHARTNAME}
version: 1.3.0 version: 1.0.0
kubeVersion: ">=1.16.0-0" kubeVersion: ">=1.16.0-0"
keywords: keywords:
- ${CHARTNAME} - ${CHARTNAME}
@ -16,4 +16,4 @@ maintainers:
dependencies: dependencies:
- name: common - name: common
repository: https://library-charts.k8s-at-home.com repository: https://library-charts.k8s-at-home.com
version: 2.5.0 version: 3.0.0

View File

@ -18,7 +18,7 @@ Kubernetes: `>=1.16.0-0`
| Repository | Name | Version | | 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 ## TL;DR
@ -75,13 +75,14 @@ N/A
| Key | Type | Default | Description | | Key | Type | Default | Description |
|-----|------|---------|-------------| |-----|------|---------|-------------|
| env | object | `{}` | | | env | object | See below | environment variables. See more environment variables in the [${CHARTNAME} documentation](https://${CHARTNAME}.org/docs). |
| image.pullPolicy | string | `"IfNotPresent"` | | | env.TZ | string | `"UTC"` | Set the container timezone |
| image.repository | string | `"${CHARTNAME}/${CHARTNAME}"` | | | image.pullPolicy | string | `"IfNotPresent"` | image pull policy |
| image.tag | string | `"1.0.0"` | | | image.repository | string | `"${CHARTNAME}/${CHARTNAME}"` | image repository |
| ingress.enabled | bool | `false` | | | image.tag | string | `"1.0.0"` | image tag |
| service.port.port | int | `1880` | | | ingress.main | object | See values.yaml | Enable and configure ingress settings for the chart under this key. |
| strategy.type | string | `"Recreate"` | | | 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 ## Changelog
@ -93,7 +94,7 @@ The format is based on [Keep a Changelog](https://keepachangelog.com/en/1.0.0/),
#### Added #### Added
- N/A - Initial version
#### Changed #### Changed

View File

@ -6,28 +6,36 @@
# #
image: image:
# -- image repository
repository: ${CHARTNAME}/${CHARTNAME} repository: ${CHARTNAME}/${CHARTNAME}
pullPolicy: IfNotPresent # -- image tag
tag: 1.0.0 tag: 1.0.0
# -- image pull policy
pullPolicy: IfNotPresent
strategy: # -- environment variables. See more environment variables in the [${CHARTNAME} documentation](https://${CHARTNAME}.org/docs).
type: Recreate # @default -- See below
env:
# See more environment variables in the ${CHARTNAME} documentation # -- Set the container timezone
# https://${CHARTNAME}.org/docs TZ: UTC
env: {}
# TZ:
# -- Configures service settings for the chart.
# @default -- See values.yaml
service: service:
port: main:
port: 1880 ports:
http:
port: 1880
ingress: ingress:
enabled: false # -- Enable and configure ingress settings for the chart under this key.
# @default -- See values.yaml
main:
enabled: false
# persistence: # -- Configure persistence settings for the chart under this key.
# data: # @default -- See values.yaml
# enabled: false persistence: {}
# emptyDir: # data:
# enabled: false # enabled: false
# mountPath: /data # mountPath: /data