From 077afc9d2914fd27a56c7b90184bf160de24b155 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?n=CE=B9c=D0=BDola=D1=95=20w=CE=B9lde?= Date: Sun, 13 Jun 2021 00:46:26 -0700 Subject: [PATCH] [grocy] Migrate to common v3 (#1001) --- charts/stable/grocy/Chart.yaml | 6 +-- charts/stable/grocy/README.md | 39 ++++++++----------- .../stable/grocy/README_CHANGELOG.md.gotmpl | 16 +++----- charts/stable/grocy/values.yaml | 38 +++++++++++------- 4 files changed, 50 insertions(+), 49 deletions(-) diff --git a/charts/stable/grocy/Chart.yaml b/charts/stable/grocy/Chart.yaml index 2dec2a0c..779ad54f 100644 --- a/charts/stable/grocy/Chart.yaml +++ b/charts/stable/grocy/Chart.yaml @@ -1,8 +1,8 @@ apiVersion: v2 -appVersion: v2.7.1 +appVersion: v3.0.1 description: ERP beyond your fridge - grocy is a web-based self-hosted groceries & household management solution for your home name: grocy -version: 6.4.0 +version: 7.0.0 kubeVersion: ">=1.16.0-0" keywords: - grocy @@ -16,4 +16,4 @@ maintainers: dependencies: - name: common repository: https://library-charts.k8s-at-home.com - version: 2.5.0 + version: 3.0.2 diff --git a/charts/stable/grocy/README.md b/charts/stable/grocy/README.md index a78055ac..c75f6f80 100644 --- a/charts/stable/grocy/README.md +++ b/charts/stable/grocy/README.md @@ -1,6 +1,6 @@ # grocy -![Version: 6.4.0](https://img.shields.io/badge/Version-6.4.0-informational?style=flat-square) ![AppVersion: v2.7.1](https://img.shields.io/badge/AppVersion-v2.7.1-informational?style=flat-square) +![Version: 7.0.0](https://img.shields.io/badge/Version-7.0.0-informational?style=flat-square) ![AppVersion: v3.0.1](https://img.shields.io/badge/AppVersion-v3.0.1-informational?style=flat-square) ERP beyond your fridge - grocy is a web-based self-hosted groceries & household management solution for your home @@ -18,7 +18,7 @@ Kubernetes: `>=1.16.0-0` | Repository | Name | Version | |------------|------|---------| -| https://library-charts.k8s-at-home.com | common | 2.5.0 | +| https://library-charts.k8s-at-home.com | common | 3.0.2 | ## TL;DR @@ -75,15 +75,16 @@ N/A | Key | Type | Default | Description | |-----|------|---------|-------------| -| env | object | `{}` | | -| image.pullPolicy | string | `"IfNotPresent"` | | -| image.repository | string | `"linuxserver/grocy"` | | -| image.tag | string | `"version-v2.7.1"` | | -| ingress.enabled | bool | `false` | | -| persistence.config.emptyDir.enabled | bool | `false` | | -| persistence.config.enabled | bool | `false` | | -| service.port.port | int | `80` | | -| strategy.type | string | `"Recreate"` | | +| env | object | See below | environment variables. See more environment variables in the [${CHARTNAME} documentation](https://${CHARTNAME}.org/docs). | +| env.PGID | string | `"1000"` | Set the container group id | +| env.PUID | string | `"1000"` | Set the container user id | +| env.TZ | string | `"UTC"` | Set the container timezone | +| image.pullPolicy | string | `"IfNotPresent"` | image pull policy | +| image.repository | string | `"linuxserver/grocy"` | image repository | +| image.tag | string | `"version-v3.0.1"` | 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 @@ -91,21 +92,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). -### [1.0.0] - -#### Added - -- N/A +### [7.0.0] #### Changed -- N/A +- **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. +- Changed image tag to `version-v3.0.1`. -#### Removed - -- N/A - -[1.0.0]: #1.0.0 +[7.0.0]: #700 ## Support diff --git a/charts/stable/grocy/README_CHANGELOG.md.gotmpl b/charts/stable/grocy/README_CHANGELOG.md.gotmpl index 457def03..54bc358f 100644 --- a/charts/stable/grocy/README_CHANGELOG.md.gotmpl +++ b/charts/stable/grocy/README_CHANGELOG.md.gotmpl @@ -9,19 +9,13 @@ 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). -### [1.0.0] - -#### Added - -- N/A +### [7.0.0] #### Changed -- N/A +- **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. +- Changed image tag to `version-v3.0.1`. -#### Removed - -- N/A - -[1.0.0]: #1.0.0 +[7.0.0]: #700 {{- end -}} diff --git a/charts/stable/grocy/values.yaml b/charts/stable/grocy/values.yaml index f3187137..19a727d6 100644 --- a/charts/stable/grocy/values.yaml +++ b/charts/stable/grocy/values.yaml @@ -6,27 +6,39 @@ # image: + # -- image repository repository: linuxserver/grocy - tag: version-v2.7.1 + # -- image tag + tag: version-v3.0.1 + # -- image pull policy pullPolicy: IfNotPresent -strategy: - type: Recreate - -env: {} - # TZ: - # PUID: - # PGID: +# -- environment variables. See more environment variables in the [grocy documentation](https://github.com/linuxserver/docker-grocy#parameters). +# @default -- See below +env: + # -- Set the container timezone + TZ: UTC + # -- Set the container user id + PUID: "1000" + # -- Set the container group id + PGID: "1000" +# -- 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 +# -- Configure persistence settings for the chart under this key. +# @default -- See values.yaml persistence: config: enabled: false - emptyDir: - enabled: false