From a16010c772a762990a1200672b05bbfea9059f8e 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: Mon, 14 Jun 2021 18:24:35 +0200 Subject: [PATCH] [healthchecks] Migrate to common v3 (#1006) MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Signed-off-by: Bᴇʀɴᴅ Sᴄʜᴏʀɢᴇʀs --- charts/stable/healthchecks/Chart.yaml | 6 +- charts/stable/healthchecks/README.md | 47 ++++++++++---- .../healthchecks/README_CHANGELOG.md.gotmpl | 24 +++++++ charts/stable/healthchecks/values.yaml | 64 +++++-------------- 4 files changed, 78 insertions(+), 63 deletions(-) diff --git a/charts/stable/healthchecks/Chart.yaml b/charts/stable/healthchecks/Chart.yaml index dd3b8255..18d4b266 100644 --- a/charts/stable/healthchecks/Chart.yaml +++ b/charts/stable/healthchecks/Chart.yaml @@ -1,8 +1,8 @@ apiVersion: v2 -appVersion: 1.19.0 +appVersion: version-v1.20.0 description: Healthchecks is a cron job monitoring service. It listens for HTTP requests and email messages ("pings") from your cron jobs and scheduled tasks ("checks"). When a ping does not arrive on time, Healthchecks sends out alerts. name: healthchecks -version: 2.4.0 +version: 3.0.0 keywords: - cron - monitoring @@ -18,4 +18,4 @@ maintainers: dependencies: - name: common repository: https://library-charts.k8s-at-home.com - version: 2.5.0 + version: 3.1.0 diff --git a/charts/stable/healthchecks/README.md b/charts/stable/healthchecks/README.md index b996620a..5cdb618f 100644 --- a/charts/stable/healthchecks/README.md +++ b/charts/stable/healthchecks/README.md @@ -1,6 +1,6 @@ # healthchecks -![Version: 2.4.0](https://img.shields.io/badge/Version-2.4.0-informational?style=flat-square) ![AppVersion: 1.19.0](https://img.shields.io/badge/AppVersion-1.19.0-informational?style=flat-square) +![Version: 3.0.0](https://img.shields.io/badge/Version-3.0.0-informational?style=flat-square) ![AppVersion: version-v1.20.0](https://img.shields.io/badge/AppVersion-version--v1.20.0-informational?style=flat-square) Healthchecks is a cron job monitoring service. It listens for HTTP requests and email messages ("pings") from your cron jobs and scheduled tasks ("checks"). When a ping does not arrive on time, Healthchecks sends out alerts. @@ -17,7 +17,7 @@ Healthchecks is a cron job monitoring service. It listens for HTTP requests and | Repository | Name | Version | |------------|------|---------| -| https://library-charts.k8s-at-home.com | common | 2.5.0 | +| https://library-charts.k8s-at-home.com | common | 3.1.0 | ## TL;DR @@ -74,21 +74,19 @@ N/A | Key | Type | Default | Description | |-----|------|---------|-------------| -| affinity | object | `{}` | Affinity settings for pod assignment of the GUI | +| env | object | See below | environment variables. See [image docs](https://github.com/linuxserver/docker-healthchecks#parameters) for more details. | | env.REGENERATE_SETTINGS | string | `"True"` | Set to true to always override the local_settings.py file with values from environment variables. Do not set to True if you have made manual modifications to this file. | | env.SITE_NAME | int | `8265` | The site's name (e.g., "Example Corp HealthChecks") | | env.SITE_ROOT | string | `"https://healthchecks.domain"` | The site's top-level URL and the port it listens to | | env.SUPERUSER_EMAIL | string | `"email@healthchecks.io"` | Superuser email | | env.SUPERUSER_PASSWORD | string | `"myVeryStrongPassword"` | Superuser password | -| image.pullPolicy | string | `"IfNotPresent"` | | -| image.repository | string | `"linuxserver/healthchecks"` | healthchecks image | -| image.tag | string | `"v1.19.0-ls79"` | healthchecks image tag | -| nodeSelector | object | `{}` | Node labels for pod assignment of the GUI | -| persistence.config | object | `{"emptyDir":{"enabled":false},"enabled":false,"mountpath":"/config"}` | Volume used for configuration | -| podAnnotations | object | `{}` | Pod annotations | -| resources | object | `{}` | | -| service.port.port | int | `8000` | Kubernetes port where the GUI is exposed | -| tolerations | list | `[]` | Toleration labels for pod assignment of the GUI | +| env.TZ | string | `"UTC"` | Set the container timezone | +| image.pullPolicy | string | `"IfNotPresent"` | image pull policy | +| image.repository | string | `"linuxserver/healthchecks"` | image repository | +| image.tag | string | `"version-v1.20.0"` | image tag | +| persistence | object | See values.yaml | Configure persistence settings for the chart under this key. | +| persistence.config | object | `{"enabled":false,"mountpath":"/config"}` | Volume used for configuration | +| service | object | See values.yaml | Configures service settings for the chart. | ## Changelog @@ -96,6 +94,31 @@ 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). +### [3.0.0] + +#### Changed + +- **BREAKING**: Upgraded the common library dependency to version 3.1.0. 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.1.0/charts/stable/common/) for the up-to-date values. +- Changed image tag to `version-v1.20.0`. + +### [1.0.0] + +#### Added + +- Initial version + +#### Changed + +- N/A + +#### Removed + +- N/A + +[3.0.0]: #3.0.0 +[1.0.0]: #1.0.0 + ## Support - See the [Docs](https://docs.k8s-at-home.com/our-helm-charts/getting-started/) diff --git a/charts/stable/healthchecks/README_CHANGELOG.md.gotmpl b/charts/stable/healthchecks/README_CHANGELOG.md.gotmpl index 91bbd3c1..0978cbdc 100644 --- a/charts/stable/healthchecks/README_CHANGELOG.md.gotmpl +++ b/charts/stable/healthchecks/README_CHANGELOG.md.gotmpl @@ -9,4 +9,28 @@ 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). +### [3.0.0] + +#### Changed + +- **BREAKING**: Upgraded the common library dependency to version 3.1.0. 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.1.0/charts/stable/common/) for the up-to-date values. +- Changed image tag to `version-v1.20.0`. + +### [1.0.0] + +#### Added + +- Initial version + +#### Changed + +- N/A + +#### Removed + +- N/A + +[3.0.0]: #3.0.0 +[1.0.0]: #1.0.0 {{- end -}} diff --git a/charts/stable/healthchecks/values.yaml b/charts/stable/healthchecks/values.yaml index 0b075d1a..ed646cd4 100644 --- a/charts/stable/healthchecks/values.yaml +++ b/charts/stable/healthchecks/values.yaml @@ -1,34 +1,26 @@ # Default values for healthchecks. image: - # -- healthchecks image + # -- image repository repository: linuxserver/healthchecks - # -- healthchecks image tag - tag: v1.19.0-ls79 - # healthchecks image pull policy + # -- image tag + tag: version-v1.20.0 + # -- image pull policy pullPolicy: IfNotPresent -resources: {} - # We usually recommend not to specify default resources and to leave this as a conscious - # choice for the user. This also increases chances charts run on environments with little - # resources, such as Minikube. If you do want to specify resources, uncomment the following - # lines, adjust them as necessary, and remove the curly braces after 'resources:'. - # limits: - # cpu: 100m - # memory: 128Mi - # requests: - # cpu: 100m - # memory: 128Mi - +# -- Configures service settings for the chart. +# @default -- See values.yaml service: - port: - # -- Kubernetes port where the GUI is exposed - port: 8000 - - - # Please consult https://github.com/linuxserver/docker-healthchecks#parameters to see all parameters + main: + ports: + http: + port: 8000 +# -- environment variables. See [image docs](https://github.com/linuxserver/docker-healthchecks#parameters) for more details. +# @default -- See below env: + # -- Set the container timezone + TZ: UTC # -- Set to true to always override the local_settings.py file with values from environment variables. Do not set to True if you have made manual modifications to this file. REGENERATE_SETTINGS: "True" # -- The site's top-level URL and the port it listens to @@ -40,34 +32,10 @@ env: # -- Superuser password SUPERUSER_PASSWORD: myVeryStrongPassword -# -- Node labels for pod assignment of the GUI -nodeSelector: {} - -# -- Toleration labels for pod assignment of the GUI -tolerations: [] - -# -- Affinity settings for pod assignment of the GUI -affinity: {} - -# -- Pod annotations -podAnnotations: {} - +# -- Configure persistence settings for the chart under this key. +# @default -- See values.yaml persistence: # -- Volume used for configuration config: enabled: false - emptyDir: - enabled: false mountpath: /config - ## 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: ""