From 2caae48b996db8bba7291e9863ad34a387954eac Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?n=CE=B9c=D0=BDola=D1=95=20w=CE=B9lde?= Date: Sat, 12 Jun 2021 05:36:05 -0700 Subject: [PATCH] [esphome] Migrate to common v3 (#988) MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Signed-off-by: nιcнolaѕ wιlde --- charts/stable/esphome/Chart.yaml | 6 +-- charts/stable/esphome/README.md | 29 ++++++++------ .../stable/esphome/README_CHANGELOG.md.gotmpl | 9 +++++ charts/stable/esphome/values.yaml | 39 +++++++++---------- 4 files changed, 48 insertions(+), 35 deletions(-) diff --git a/charts/stable/esphome/Chart.yaml b/charts/stable/esphome/Chart.yaml index 2fbd84d6..eae1175a 100644 --- a/charts/stable/esphome/Chart.yaml +++ b/charts/stable/esphome/Chart.yaml @@ -1,8 +1,8 @@ apiVersion: v2 -appVersion: 1.16.2 +appVersion: 1.18.0 description: ESPHome is a system to control your ESP8266/ESP32 by simple yet powerful configuration files and control them remotely through Home Automation systems. name: esphome -version: 6.5.0 +version: 7.0.0 kubeVersion: ">=1.16.0-0" keywords: - esphome @@ -17,4 +17,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/esphome/README.md b/charts/stable/esphome/README.md index 795890e3..b50acd0e 100644 --- a/charts/stable/esphome/README.md +++ b/charts/stable/esphome/README.md @@ -1,6 +1,6 @@ # esphome -![Version: 6.5.0](https://img.shields.io/badge/Version-6.5.0-informational?style=flat-square) ![AppVersion: 1.16.2](https://img.shields.io/badge/AppVersion-1.16.2-informational?style=flat-square) +![Version: 7.0.0](https://img.shields.io/badge/Version-7.0.0-informational?style=flat-square) ![AppVersion: 1.18.0](https://img.shields.io/badge/AppVersion-1.18.0-informational?style=flat-square) ESPHome is a system to control your ESP8266/ESP32 by simple yet powerful configuration files and control them remotely through Home Automation systems. @@ -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,13 @@ N/A | Key | Type | Default | Description | |-----|------|---------|-------------| -| env | object | `{}` | | -| image.pullPolicy | string | `"IfNotPresent"` | | -| image.repository | string | `"esphome/esphome"` | | -| image.tag | string | `"1.16.2"` | | -| ingress.enabled | bool | `false` | | -| persistence.config.emptyDir.enabled | bool | `false` | | -| persistence.config.enabled | bool | `false` | | -| service.port.port | int | `6052` | | -| strategy.type | string | `"Recreate"` | | +| env | object | See below | environment variables. | +| image.pullPolicy | string | `"IfNotPresent"` | image pull policy | +| image.repository | string | `"esphome/esphome"` | image repository | +| image.tag | string | `"1.18.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 @@ -91,6 +89,14 @@ 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). +### [7.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. +- Changed image tag to `1.18.0`. + ### [6.4.2] #### Added @@ -119,6 +125,7 @@ The format is based on [Keep a Changelog](https://keepachangelog.com/en/1.0.0/), - N/A +[7.0.0]: #700 [6.4.2]: #642 [1.0.0]: #100 diff --git a/charts/stable/esphome/README_CHANGELOG.md.gotmpl b/charts/stable/esphome/README_CHANGELOG.md.gotmpl index 45ad844d..2b084971 100644 --- a/charts/stable/esphome/README_CHANGELOG.md.gotmpl +++ b/charts/stable/esphome/README_CHANGELOG.md.gotmpl @@ -9,6 +9,14 @@ 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). +### [7.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. +- Changed image tag to `1.18.0`. + ### [6.4.2] #### Added @@ -37,6 +45,7 @@ The format is based on [Keep a Changelog](https://keepachangelog.com/en/1.0.0/), - N/A +[7.0.0]: #700 [6.4.2]: #642 [1.0.0]: #100 {{- end -}} diff --git a/charts/stable/esphome/values.yaml b/charts/stable/esphome/values.yaml index 3156fc81..adcb795b 100644 --- a/charts/stable/esphome/values.yaml +++ b/charts/stable/esphome/values.yaml @@ -6,13 +6,15 @@ # image: + # -- image repository repository: esphome/esphome + # -- image pull policy pullPolicy: IfNotPresent - tag: 1.16.2 - -strategy: - type: Recreate + # -- image tag + tag: 1.18.0 +# -- environment variables. +# @default -- See below env: {} # ESPHOME_DASHBOARD_USE_PING: true # ESPHOME_DASHBOARD_RELATIVE_URL: "/" @@ -22,27 +24,22 @@ env: {} # USERNAME: # PASSWORD: +# -- Configures service settings for the chart. +# @default -- See values.yaml service: - port: - port: 6052 + main: + ports: + http: + port: 6052 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 - ## Persistent Volume Storage Class - ## If defined, storageClassName: - ## If set to "-", storageClassName: "", which disables dynamic provisioning - ## If undefined (the default) or set to null, no storageClassName spec is - ## set, choosing the default provisioner. (gp2 on AWS, standard on - ## GKE, AWS & OpenStack) - # storageClass: "-" - # accessMode: ReadWriteOnce - # size: 1Gi - ## Do not delete the pvc upon helm uninstall - # skipuninstall: false - # existingClaim: ""