[reg] Migrate to common v3 (#958)

* [reg] Migrate to common v3

Signed-off-by: Nicholas Wilde <ncwilde43@gmail.com>
This commit is contained in:
nιcнolaѕ wιlde 2021-06-10 00:18:35 -07:00 committed by GitHub
parent 98603fdc8a
commit 7b0276ffce
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
4 changed files with 47 additions and 23 deletions

View File

@ -3,7 +3,7 @@ apiVersion: v2
appVersion: 0.16.1 appVersion: 0.16.1
description: Docker registry v2 command line client and repo listing generator with security checks. description: Docker registry v2 command line client and repo listing generator with security checks.
name: reg name: reg
version: 1.2.0 version: 2.0.0
kubeVersion: ">=1.16.0-0" kubeVersion: ">=1.16.0-0"
keywords: keywords:
- reg - reg
@ -18,4 +18,4 @@ maintainers:
dependencies: dependencies:
- name: common - name: common
repository: https://library-charts.k8s-at-home.com repository: https://library-charts.k8s-at-home.com
version: 2.5.0 version: 3.0.1

View File

@ -1,6 +1,6 @@
# reg # 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. 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 | | 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 ## TL;DR
@ -76,13 +76,13 @@ N/A
| Key | Type | Default | Description | | Key | Type | Default | Description |
|-----|------|---------|-------------| |-----|------|---------|-------------|
| env | object | `{}` | | | env | object | `{"TZ":"UTC"}` | environment variables. See more environment variables in the [reg documentation](https://github.com/genuinetools/reg). |
| image.pullPolicy | string | `"IfNotPresent"` | | | env.TZ | string | `"UTC"` | Set the container timezone |
| image.repository | string | `"ghcr.io/k8s-at-home/reg"` | | | image.pullPolicy | string | `"IfNotPresent"` | image pull policy |
| image.tag | string | `"v0.16.1"` | | | image.repository | string | `"ghcr.io/k8s-at-home/reg"` | image repository |
| ingress.enabled | bool | `false` | | | image.tag | string | `"v0.16.1"` | image tag |
| service.port.port | int | `8080` | | | ingress.main | object | See values.yaml | Enable and configure ingress settings for the chart under this key. |
| strategy.type | string | `"Recreate"` | | | service | object | See values.yaml | Configures service settings for the chart. |
## Changelog ## 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). 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] ### [1.0.0]
#### Added #### Added
- Initial version - Initial version
[1.0.0]: #1.0.0 [2.0.0]: #200
[1.0.0]: #100
## Support ## Support

View File

@ -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). 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] ### [1.0.0]
#### Added #### Added
- Initial version - Initial version
[1.0.0]: #1.0.0 [2.0.0]: #200
[1.0.0]: #100
{{- end -}} {{- end -}}

View File

@ -6,22 +6,30 @@
# #
image: image:
# -- image repository
repository: ghcr.io/k8s-at-home/reg repository: ghcr.io/k8s-at-home/reg
# -- image pull policy
pullPolicy: IfNotPresent pullPolicy: IfNotPresent
# -- image tag
tag: v0.16.1 tag: v0.16.1
strategy: # -- environment variables. See more environment variables in the [reg documentation](https://github.com/genuinetools/reg).
type: Recreate env:
# -- Set the container timezone
# See more environment variables in the reg documentation TZ: UTC
# https://github.com/genuinetools/reg # -- Set the server registry
env: {}
# EXTRA_ARGS: "server --registry r.j3ss.co" # EXTRA_ARGS: "server --registry r.j3ss.co"
# TZ:
# -- Configures service settings for the chart.
# @default -- See values.yaml
service: service:
port: main:
port: 8080 ports:
http:
port: 8080
ingress: ingress:
enabled: false # -- Enable and configure ingress settings for the chart under this key.
# @default -- See values.yaml
main:
enabled: false