mirror of
https://github.com/k8s-at-home/charts.git
synced 2025-02-02 23:39:03 +00:00
[dsmr-reader] Migrate to common v3 (#968)
Signed-off-by: Bᴇʀɴᴅ Sᴄʜᴏʀɢᴇʀs <me@bjw-s.dev>
This commit is contained in:
parent
053e1952e8
commit
097d61499e
@ -1,8 +1,8 @@
|
||||
apiVersion: v2
|
||||
appVersion: v4.9.0
|
||||
appVersion: "2021.06.01"
|
||||
description: DSMR-protocol reader, telegram data storage and energy consumption visualizer.
|
||||
name: dsmr-reader
|
||||
version: 3.5.1
|
||||
version: 4.0.0
|
||||
kubeVersion: ">=1.16.0-0"
|
||||
keywords:
|
||||
- dsmr-reader
|
||||
@ -18,8 +18,8 @@ maintainers:
|
||||
dependencies:
|
||||
- name: common
|
||||
repository: https://library-charts.k8s-at-home.com
|
||||
version: 2.5.0
|
||||
version: 3.0.2
|
||||
- name: postgresql
|
||||
version: 10.4.8
|
||||
version: 10.4.9
|
||||
repository: https://charts.bitnami.com/bitnami
|
||||
condition: postgresql.enabled
|
||||
|
@ -1,6 +1,6 @@
|
||||
# dsmr-reader
|
||||
|
||||
![Version: 3.5.1](https://img.shields.io/badge/Version-3.5.1-informational?style=flat-square) ![AppVersion: v4.9.0](https://img.shields.io/badge/AppVersion-v4.9.0-informational?style=flat-square)
|
||||
![Version: 4.0.0](https://img.shields.io/badge/Version-4.0.0-informational?style=flat-square) ![AppVersion: 2021.06.01](https://img.shields.io/badge/AppVersion-2021.06.01-informational?style=flat-square)
|
||||
|
||||
DSMR-protocol reader, telegram data storage and energy consumption visualizer.
|
||||
|
||||
@ -19,8 +19,8 @@ Kubernetes: `>=1.16.0-0`
|
||||
|
||||
| Repository | Name | Version |
|
||||
|------------|------|---------|
|
||||
| https://charts.bitnami.com/bitnami | postgresql | 10.4.8 |
|
||||
| https://library-charts.k8s-at-home.com | common | 2.5.0 |
|
||||
| https://charts.bitnami.com/bitnami | postgresql | 10.4.9 |
|
||||
| https://library-charts.k8s-at-home.com | common | 3.0.2 |
|
||||
|
||||
## TL;DR
|
||||
|
||||
@ -77,22 +77,17 @@ N/A
|
||||
|
||||
| Key | Type | Default | Description |
|
||||
|-----|------|---------|-------------|
|
||||
| env.DJANGO_DATABASE_NAME | string | `"dsmr-reader"` | |
|
||||
| env.DJANGO_DATABASE_PASSWORD | string | `"dsmr-reader-pass"` | |
|
||||
| env.DJANGO_DATABASE_PORT | int | `5432` | |
|
||||
| env.DJANGO_DATABASE_USER | string | `"dsmr-reader"` | |
|
||||
| image.pullPolicy | string | `"IfNotPresent"` | |
|
||||
| image.repository | string | `"xirixiz/dsmr-reader-docker"` | |
|
||||
| image.tag | string | `"latest-v4.9.0-amd64"` | |
|
||||
| ingress.enabled | bool | `false` | |
|
||||
| postgresql.enabled | bool | `false` | |
|
||||
| postgresql.persistence.enabled | bool | `false` | |
|
||||
| postgresql.postgresqlDatabase | string | `"dsmr-reader"` | |
|
||||
| postgresql.postgresqlPassword | string | `"dsmr-reader-pass"` | |
|
||||
| postgresql.postgresqlUsername | string | `"dsmr-reader"` | |
|
||||
| securityContext.privileged | bool | `true` | |
|
||||
| service.port.port | int | `80` | |
|
||||
| strategy.type | string | `"Recreate"` | |
|
||||
| env | object | See below | environment variables. See [image docs](https://github.com/xirixiz/dsmr-reader-docker#dsmr-reader---environment-variables) for more details. |
|
||||
| env.TZ | string | `"UTC"` | Set the container timezone |
|
||||
| image.pullPolicy | string | `"IfNotPresent"` | image pull policy |
|
||||
| image.repository | string | `"xirixiz/dsmr-reader-docker"` | image repository |
|
||||
| image.tag | string | `"latest-2021.06.01-amd64"` | 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. |
|
||||
| persistence.p1reader | object | See values.yaml | Set up a local USB p1 reader device. |
|
||||
| postgresql | object | See values.yaml | Enable and configure postgresql database subchart under this key. For more options see [postgresql chart documentation](https://github.com/bitnami/charts/tree/master/bitnami/postgresql) |
|
||||
| securityContext.privileged | bool | `nil` | Privileged securityContext may be required if USB devics are accessed directly through the host machine |
|
||||
| service | object | See values.yaml | Configures service settings for the chart. |
|
||||
|
||||
## Changelog
|
||||
|
||||
@ -100,6 +95,15 @@ All notable changes to this application Helm chart will be documented in this fi
|
||||
|
||||
The format is based on [Keep a Changelog](https://keepachangelog.com/en/1.0.0/), and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0.html).
|
||||
|
||||
### [4.0.0]
|
||||
|
||||
#### Changed
|
||||
|
||||
- **BREAKING**: Upgraded the common library dependency to version 3.0.2. This introduces several breaking changes (`service`, `ingress` and `persistence` keys have been refactored).
|
||||
Be sure to check out the [library chart](https://github.com/k8s-at-home/library-charts/blob/common-3.0.2/charts/stable/common/) for the up-to-date values.
|
||||
- Updated image tag to `latest-2021.06.01-amd64`.
|
||||
- Updated postgresql chart to `10.4.9`.
|
||||
|
||||
### [1.0.0]
|
||||
|
||||
#### Added
|
||||
|
@ -9,6 +9,15 @@ All notable changes to this application Helm chart will be documented in this fi
|
||||
|
||||
The format is based on [Keep a Changelog](https://keepachangelog.com/en/1.0.0/), and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0.html).
|
||||
|
||||
### [4.0.0]
|
||||
|
||||
#### Changed
|
||||
|
||||
- **BREAKING**: Upgraded the common library dependency to version 3.0.2. This introduces several breaking changes (`service`, `ingress` and `persistence` keys have been refactored).
|
||||
Be sure to check out the [library chart](https://github.com/k8s-at-home/library-charts/blob/common-3.0.2/charts/stable/common/) for the up-to-date values.
|
||||
- Updated image tag to `latest-2021.06.01-amd64`.
|
||||
- Updated postgresql chart to `10.4.9`.
|
||||
|
||||
### [1.0.0]
|
||||
|
||||
#### Added
|
||||
|
@ -6,45 +6,55 @@
|
||||
#
|
||||
|
||||
image:
|
||||
# -- image repository
|
||||
repository: xirixiz/dsmr-reader-docker
|
||||
# -- image tag
|
||||
tag: latest-2021.06.01-amd64
|
||||
# -- image pull policy
|
||||
pullPolicy: IfNotPresent
|
||||
tag: latest-v4.9.0-amd64
|
||||
|
||||
strategy:
|
||||
type: Recreate
|
||||
|
||||
# For all options see https://github.com/xirixiz/dsmr-reader-docker#dsmr-reader---environment-variables
|
||||
# -- environment variables. See [image docs](https://github.com/xirixiz/dsmr-reader-docker#dsmr-reader---environment-variables) for more details.
|
||||
# @default -- See below
|
||||
env:
|
||||
# TZ: UTC
|
||||
# DJANGO_TIME_ZONE: UTC
|
||||
# -- Set the container timezone
|
||||
TZ: UTC
|
||||
DJANGO_TIME_ZONE: UTC
|
||||
DJANGO_DATABASE_USER: dsmr-reader
|
||||
DJANGO_DATABASE_PASSWORD: dsmr-reader-pass
|
||||
DJANGO_DATABASE_PORT: 5432
|
||||
DJANGO_DATABASE_NAME: dsmr-reader
|
||||
|
||||
# -- Configures service settings for the chart.
|
||||
# @default -- See values.yaml
|
||||
service:
|
||||
port:
|
||||
port: 80
|
||||
main:
|
||||
ports:
|
||||
http:
|
||||
port: 80
|
||||
|
||||
ingress:
|
||||
enabled: false
|
||||
# -- Enable and configure ingress settings for the chart under this key.
|
||||
# @default -- See values.yaml
|
||||
main:
|
||||
enabled: false
|
||||
|
||||
securityContext:
|
||||
privileged: true
|
||||
# -- (bool) Privileged securityContext may be required if USB devics are accessed directly through the host machine
|
||||
privileged: # true
|
||||
|
||||
# Path to your p1 reader device in the container
|
||||
# additionalVolumeMounts:
|
||||
# - name: p1reader
|
||||
# mountPath: /dev/ttyUSB0
|
||||
# -- Configure persistence settings for the chart under this key.
|
||||
# @default -- See values.yaml
|
||||
persistence:
|
||||
# -- Set up a local USB p1 reader device.
|
||||
# @default -- See values.yaml
|
||||
p1reader:
|
||||
enabled: false
|
||||
type: hostPath
|
||||
hostPath: /dev/ttyUSB0
|
||||
|
||||
# Path to your p1 reader device on the host
|
||||
# additionalVolumes:
|
||||
# - name: p1reader
|
||||
# hostPath:
|
||||
# path: /dev/ttyUSB0
|
||||
|
||||
# Enable postgres
|
||||
# ... for more options see https://github.com/bitnami/charts/tree/master/bitnami/postgresql
|
||||
# -- Enable and configure postgresql database subchart under this key.
|
||||
# For more options see [postgresql chart documentation](https://github.com/bitnami/charts/tree/master/bitnami/postgresql)
|
||||
# @default -- See values.yaml
|
||||
postgresql:
|
||||
enabled: false
|
||||
postgresqlUsername: dsmr-reader
|
||||
|
Loading…
Reference in New Issue
Block a user