From 7b0276ffceae096c85aa34934589cceea3ef0273 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?n=CE=B9c=D0=BDola=D1=95=20w=CE=B9lde?= Date: Thu, 10 Jun 2021 00:18:35 -0700 Subject: [PATCH] [reg] Migrate to common v3 (#958) * [reg] Migrate to common v3 Signed-off-by: Nicholas Wilde --- charts/stable/reg/Chart.yaml | 4 +-- charts/stable/reg/README.md | 28 +++++++++++++------- charts/stable/reg/README_CHANGELOG.md.gotmpl | 10 ++++++- charts/stable/reg/values.yaml | 28 +++++++++++++------- 4 files changed, 47 insertions(+), 23 deletions(-) diff --git a/charts/stable/reg/Chart.yaml b/charts/stable/reg/Chart.yaml index f092cd9c..7a6e44a0 100644 --- a/charts/stable/reg/Chart.yaml +++ b/charts/stable/reg/Chart.yaml @@ -3,7 +3,7 @@ apiVersion: v2 appVersion: 0.16.1 description: Docker registry v2 command line client and repo listing generator with security checks. name: reg -version: 1.2.0 +version: 2.0.0 kubeVersion: ">=1.16.0-0" keywords: - reg @@ -18,4 +18,4 @@ maintainers: dependencies: - name: common repository: https://library-charts.k8s-at-home.com - version: 2.5.0 + version: 3.0.1 diff --git a/charts/stable/reg/README.md b/charts/stable/reg/README.md index 57a1e0eb..41c153f0 100644 --- a/charts/stable/reg/README.md +++ b/charts/stable/reg/README.md @@ -1,6 +1,6 @@ # reg -![Version: 1.2.0](https://img.shields.io/badge/Version-1.2.0-informational?style=flat-square) ![AppVersion: 0.16.1](https://img.shields.io/badge/AppVersion-0.16.1-informational?style=flat-square) +![Version: 2.0.0](https://img.shields.io/badge/Version-2.0.0-informational?style=flat-square) ![AppVersion: 0.16.1](https://img.shields.io/badge/AppVersion-0.16.1-informational?style=flat-square) Docker registry v2 command line client and repo listing generator with security checks. @@ -19,7 +19,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.1 | ## TL;DR @@ -76,13 +76,13 @@ N/A | Key | Type | Default | Description | |-----|------|---------|-------------| -| env | object | `{}` | | -| image.pullPolicy | string | `"IfNotPresent"` | | -| image.repository | string | `"ghcr.io/k8s-at-home/reg"` | | -| image.tag | string | `"v0.16.1"` | | -| ingress.enabled | bool | `false` | | -| service.port.port | int | `8080` | | -| strategy.type | string | `"Recreate"` | | +| env | object | `{"TZ":"UTC"}` | environment variables. See more environment variables in the [reg documentation](https://github.com/genuinetools/reg). | +| env.TZ | string | `"UTC"` | Set the container timezone | +| image.pullPolicy | string | `"IfNotPresent"` | image pull policy | +| image.repository | string | `"ghcr.io/k8s-at-home/reg"` | image repository | +| image.tag | string | `"v0.16.1"` | image tag | +| ingress.main | object | See values.yaml | Enable and configure ingress settings for the chart under this key. | +| service | object | See values.yaml | Configures service settings for the chart. | ## Changelog @@ -90,13 +90,21 @@ 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). +### [2.0.0] + +#### Changed + +- **BREAKING**: Upgraded the common library dependency to version 3.0.1. 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.1/charts/stable/common/) for the up-to-date values. + ### [1.0.0] #### Added - Initial version -[1.0.0]: #1.0.0 +[2.0.0]: #200 +[1.0.0]: #100 ## Support diff --git a/charts/stable/reg/README_CHANGELOG.md.gotmpl b/charts/stable/reg/README_CHANGELOG.md.gotmpl index 330a9b4f..039e2d9a 100644 --- a/charts/stable/reg/README_CHANGELOG.md.gotmpl +++ b/charts/stable/reg/README_CHANGELOG.md.gotmpl @@ -9,11 +9,19 @@ 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). +### [2.0.0] + +#### Changed + +- **BREAKING**: Upgraded the common library dependency to version 3.0.1. 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.1/charts/stable/common/) for the up-to-date values. + ### [1.0.0] #### Added - Initial version -[1.0.0]: #1.0.0 +[2.0.0]: #200 +[1.0.0]: #100 {{- end -}} diff --git a/charts/stable/reg/values.yaml b/charts/stable/reg/values.yaml index 99c3aa74..72a07b31 100644 --- a/charts/stable/reg/values.yaml +++ b/charts/stable/reg/values.yaml @@ -6,22 +6,30 @@ # image: + # -- image repository repository: ghcr.io/k8s-at-home/reg + # -- image pull policy pullPolicy: IfNotPresent + # -- image tag tag: v0.16.1 -strategy: - type: Recreate - -# See more environment variables in the reg documentation -# https://github.com/genuinetools/reg -env: {} +# -- environment variables. See more environment variables in the [reg documentation](https://github.com/genuinetools/reg). +env: + # -- Set the container timezone + TZ: UTC + # -- Set the server registry # EXTRA_ARGS: "server --registry r.j3ss.co" - # TZ: +# -- Configures service settings for the chart. +# @default -- See values.yaml service: - port: - port: 8080 + main: + ports: + http: + port: 8080 ingress: - enabled: false + # -- Enable and configure ingress settings for the chart under this key. + # @default -- See values.yaml + main: + enabled: false