[dnsmadeeasy-webhook][tt-rss][zalando-postgres-cluster] update to common-v3 (#986)

This commit is contained in:
Angel Nunez Mencias 2021-06-14 17:35:22 +02:00 committed by GitHub
parent bdac05e23b
commit 13c4cb5493
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
14 changed files with 195 additions and 112 deletions

View File

@ -2,7 +2,7 @@ apiVersion: v2
appVersion: 1.1.0
description: Cert-Manager Webhook for DNSMadeEasy
name: dnsmadeeasy-webhook
version: 2.5.0
version: 3.0.0
keywords:
- cert-manager
- dnsmadeeasy
@ -18,4 +18,4 @@ maintainers:
dependencies:
- name: common
repository: https://library-charts.k8s-at-home.com
version: 2.5.0
version: 3.1.0

View File

@ -1,6 +1,6 @@
# dnsmadeeasy-webhook
![Version: 2.5.0](https://img.shields.io/badge/Version-2.5.0-informational?style=flat-square) ![AppVersion: 1.1.0](https://img.shields.io/badge/AppVersion-1.1.0-informational?style=flat-square)
![Version: 3.0.0](https://img.shields.io/badge/Version-3.0.0-informational?style=flat-square) ![AppVersion: 1.1.0](https://img.shields.io/badge/AppVersion-1.1.0-informational?style=flat-square)
Cert-Manager Webhook for DNSMadeEasy
@ -17,7 +17,7 @@ Cert-Manager Webhook for DNSMadeEasy
| 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,34 +74,12 @@ N/A
| Key | Type | Default | Description |
|-----|------|---------|-------------|
| additionalVolumeMounts[0].mountPath | string | `"/tls"` | |
| additionalVolumeMounts[0].name | string | `"certs"` | |
| additionalVolumeMounts[0].readOnly | bool | `true` | |
| args | string | `"[\"--tls-cert-file=/tls/tls.crt\",\"--tls-private-key-file=/tls/tls.key\",\"--secure-port=4443\"]"` | |
| certManager.namespace | string | `"cert-manager"` | Namespace where the cert-manager operator was installed to |
| certManager.serviceAccountName | string | `"cert-manager"` | Service account used by the cert-manager |
| groupName | string | `"acme.mycompany.com"` | The GroupName here is used to identify your company or business unit that created this webhook. This name will need to be referenced in each Issuer's `webhook` stanza to inform cert-manager of where to send ChallengePayload resources in order to solve the DNS01 challenge. This group name should be **unique**, hence using your own company's domain here is recommended. |
| image.pullPolicy | string | `"IfNotPresent"` | Image pull policy |
| image.repository | string | `"ghcr.io/k8s-at-home/dnsmadeeasy-webhook"` | Image repository |
| image.tag | string | `"v1.0.0"` | Image tag |
| probes.liveness.custom | bool | `true` | |
| probes.liveness.enabled | bool | `true` | |
| probes.liveness.spec.httpGet.path | string | `"/healthz"` | |
| probes.liveness.spec.httpGet.port | string | `"https"` | |
| probes.liveness.spec.httpGet.scheme | string | `"HTTPS"` | |
| probes.readiness.custom | bool | `true` | |
| probes.readiness.enabled | bool | `true` | |
| probes.readiness.spec.httpGet.path | string | `"/healthz"` | |
| probes.readiness.spec.httpGet.port | string | `"https"` | |
| probes.readiness.spec.httpGet.scheme | string | `"HTTPS"` | |
| probes.startup.custom | bool | `true` | |
| probes.startup.enabled | bool | `true` | |
| probes.startup.spec.httpGet.path | string | `"/healthz"` | |
| probes.startup.spec.httpGet.port | string | `"https"` | |
| probes.startup.spec.httpGet.scheme | string | `"HTTPS"` | |
| service.port.name | string | `"https"` | |
| service.port.port | int | `443` | |
| service.port.targetPort | int | `4443` | |
| serviceAccount.create | bool | `true` | Create service account |
## Changelog
@ -110,6 +88,22 @@ 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]
#### Added
- N/A
#### 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.
- moved harcoded values into common.tpl
#### Removed
- N/A
### [1.0.0]
#### Added

View File

@ -9,6 +9,22 @@ 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]
#### Added
- N/A
#### 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.
- moved harcoded values into common.tpl
#### Removed
- N/A
### [1.0.0]
#### Added

View File

@ -18,21 +18,60 @@
{{- end -}}
{{- $_ := set .Values.env "GROUP_NAME" .Values.groupName -}}
{{/* Append the hardcoded settings */}}
{{- define "dnsmadeeasy-webhook.harcodedValues" -}}
# -- Configure persistence settings for the chart under this key.
persistence:
certs:
enabled: true
type: custom
mountPath: /tls
readOnly: true
volumeSpec:
name: certs
secret:
secretName: {{ include "dnsmadeeasy-webhook.servingCertificate" . }}
probes:
liveness:
enabled: true
custom: true
spec:
httpGet:
scheme: HTTPS
path: /healthz
port: https
readiness:
enabled: true
custom: true
spec:
httpGet:
scheme: HTTPS
path: /healthz
port: https
startup:
enabled: true
custom: true
spec:
httpGet:
scheme: HTTPS
path: /healthz
port: https
service:
main:
port:
name: https
targetPort: 4443
port: 443
args: '["--tls-cert-file=/tls/tls.crt","--tls-private-key-file=/tls/tls.key","--secure-port=4443"]'
env:
GROUP_NAME: {{ .Values.groupName }}
{{/* Append the cert secret to the additionalVolumes */}}
{{- define "dnsmadeeasy-webhook.servingCertificate.volume" -}}
name: certs
secret:
secretName: {{ include "dnsmadeeasy-webhook.servingCertificate" . }}
{{- end -}}
{{- $volume := include "dnsmadeeasy-webhook.servingCertificate.volume" . | fromYaml -}}
{{- if $volume -}}
{{- $additionalVolumes := append .Values.additionalVolumes $volume }}
{{- $_ := set .Values "additionalVolumes" (deepCopy $additionalVolumes) -}}
{{- end -}}
{{- $_ := mergeOverwrite .Values (include "dnsmadeeasy-webhook.harcodedValues" . | fromYaml) -}}
{{/* Render the templates */}}

View File

@ -27,42 +27,3 @@ image:
pullPolicy: IfNotPresent
# -- Image tag
tag: v1.0.0
args: '["--tls-cert-file=/tls/tls.crt","--tls-private-key-file=/tls/tls.key","--secure-port=4443"]'
additionalVolumeMounts:
- name: certs
mountPath: /tls
readOnly: true
probes:
liveness:
enabled: true
custom: true
spec:
httpGet:
scheme: HTTPS
path: /healthz
port: https
readiness:
enabled: true
custom: true
spec:
httpGet:
scheme: HTTPS
path: /healthz
port: https
startup:
enabled: true
custom: true
spec:
httpGet:
scheme: HTTPS
path: /healthz
port: https
service:
port:
name: https
targetPort: 4443
port: 443

View File

@ -1,8 +1,8 @@
apiVersion: v2
appVersion: 1.0.0
appVersion: v1.8723.0
description: Tiny Tiny RSS is a free and open source web-based news feed (RSS/Atom) reader and aggregator
name: tt-rss
version: 2.5.1
version: 3.0.0
kubeVersion: ">=1.16.0-0"
keywords:
- tt-rss
@ -16,7 +16,7 @@ maintainers:
dependencies:
- name: common
repository: https://library-charts.k8s-at-home.com
version: 2.5.0
version: 3.1.0
- name: postgresql
version: 10.4.8
repository: https://charts.bitnami.com/bitnami

View File

@ -1,6 +1,6 @@
# tt-rss
![Version: 2.5.1](https://img.shields.io/badge/Version-2.5.1-informational?style=flat-square) ![AppVersion: 1.0.0](https://img.shields.io/badge/AppVersion-1.0.0-informational?style=flat-square)
![Version: 3.0.0](https://img.shields.io/badge/Version-3.0.0-informational?style=flat-square) ![AppVersion: v1.8723.0](https://img.shields.io/badge/AppVersion-v1.8723.0-informational?style=flat-square)
Tiny Tiny RSS is a free and open source web-based news feed (RSS/Atom) reader and aggregator
@ -19,7 +19,7 @@ Kubernetes: `>=1.16.0-0`
| Repository | Name | Version |
|------------|------|---------|
| https://charts.bitnami.com/bitnami | postgresql | 10.4.8 |
| https://library-charts.k8s-at-home.com | common | 2.5.0 |
| https://library-charts.k8s-at-home.com | common | 3.1.0 |
## TL;DR
@ -76,25 +76,24 @@ N/A
| Key | Type | Default | Description |
|-----|------|---------|-------------|
| env | object | See below. | See more environment variables in the tt-rss documentation https://git.tt-rss.org/fox/tt-rss/src/branch/master/classes/config.php#L9 |
| env.TTRSS_DB_HOST | string | internal postgresql URL | Postgres database hostname |
| env.TTRSS_DB_NAME | string | postgresql.postgresqlDatabase value | Postgres database password |
| env.TTRSS_DB_PASS | string | postgresql.postgresqlPassword value | Postgres database password |
| env.TTRSS_DB_PORT | string | `"5432"` | Postgres database port. |
| env.TTRSS_DB_USER | string | postgresql.postgresqlUsername value | Postgres database user name |
| env.TTRSS_SELF_URL_PATH | string | `""` | External URL you use to connect to the RSS (the one you enter in your browser) |
| image.pullPolicy | string | `"IfNotPresent"` | |
| image.repository | string | `"ghcr.io/k8s-at-home/tt-rss"` | |
| image.tag | string | `"v1.8723.0"` | |
| ingress.enabled | bool | `false` | |
| image.pullPolicy | string | `"IfNotPresent"` | image pull policy |
| image.repository | string | `"ghcr.io/k8s-at-home/tt-rss"` | image repository |
| image.tag | string | `"v1.8723.0"` | image tag |
| ingress.main | object | See values.yaml | Enable and configure ingress settings for the chart under this key. |
| postgresql | object | see bellow | Bitnami postgres chart. For more options see https://github.com/bitnami/charts/tree/master/bitnami/postgresql |
| postgresql.enabled | bool | `true` | By default uses an internal postgress. Dissable if you use your own Postgres. |
| postgresql.persistence.enabled | bool | `false` | if database is stored to a PVC. Set to true when you are done testing. |
| postgresql.postgresqlDatabase | string | `"tt-rss"` | Postgres database password |
| postgresql.postgresqlPassword | string | `"changeme"` | Postgres database password |
| postgresql.postgresqlUsername | string | `"postgres"` | Postgres database user name |
| probes.startup.enabled | bool | `true` | |
| service.port.port | int | `8080` | |
| strategy.type | string | `"Recreate"` | |
| service | object | See below. | Configure the services for the chart here. |
## Changelog
@ -102,6 +101,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).
### [3.0.0]
#### Added
- N/A
#### 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.
#### Removed
- N/A
### [1.0.6]
#### Added

View File

@ -9,6 +9,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).
### [3.0.0]
#### Added
- N/A
#### 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.
#### Removed
- N/A
### [1.0.6]
#### Added
@ -18,7 +33,7 @@ The format is based on [Keep a Changelog](https://keepachangelog.com/en/1.0.0/),
#### Changed
- Use generated template
- Use k8s-at-home repository
- Use k8s-at-home repository
- Generate helm-docs
#### Removed

View File

@ -6,15 +6,16 @@
#
image:
# -- image repository
repository: ghcr.io/k8s-at-home/tt-rss
# -- image pull policy
pullPolicy: IfNotPresent
# -- image tag
tag: v1.8723.0
strategy:
type: Recreate
# See more environment variables in the tt-rss documentation
# -- See more environment variables in the tt-rss documentation
# https://git.tt-rss.org/fox/tt-rss/src/branch/master/classes/config.php#L9
# @default -- See below.
env:
# -- External URL you use to connect to the RSS (the one you enter in your browser)
TTRSS_SELF_URL_PATH: ""
@ -33,16 +34,19 @@ env:
# @default -- postgresql.postgresqlDatabase value
TTRSS_DB_NAME: ""
# -- Configure the services for the chart here.
# @default -- See below.
service:
port:
port: 8080
main:
ports:
http:
port: 8080
ingress:
enabled: false
probes:
startup:
enabled: true
# -- Enable and configure ingress settings for the chart under this key.
# @default -- See values.yaml
main:
enabled: false
# -- Bitnami postgres chart. For more options see https://github.com/bitnami/charts/tree/master/bitnami/postgresql
# @default -- see bellow

View File

@ -1,5 +1,5 @@
apiVersion: v2
version: 1.3.0
version: 2.0.0
description: Creates a postgres cluster using the Zalando Postgres operator and local storage
name: zalando-postgres-cluster
appVersion: 1.0.0
@ -17,4 +17,4 @@ maintainers:
dependencies:
- name: common
repository: https://library-charts.k8s-at-home.com
version: 2.5.0
version: 3.1.0

View File

@ -1,6 +1,6 @@
# zalando-postgres-cluster
![Version: 1.3.0](https://img.shields.io/badge/Version-1.3.0-informational?style=flat-square) ![AppVersion: 1.0.0](https://img.shields.io/badge/AppVersion-1.0.0-informational?style=flat-square)
![Version: 2.0.0](https://img.shields.io/badge/Version-2.0.0-informational?style=flat-square) ![AppVersion: 1.0.0](https://img.shields.io/badge/AppVersion-1.0.0-informational?style=flat-square)
Creates a postgres cluster using the Zalando Postgres operator and local storage
@ -16,7 +16,7 @@ Creates a postgres cluster using the Zalando Postgres operator and local storage
| 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
@ -80,7 +80,7 @@ Features added by this wrapper:
| Key | Type | Default | Description |
|-----|------|---------|-------------|
| controllerType | string | `""` | |
| controller.enabled | bool | `false` | |
| dumpBackup.existingClaim | string | `nil` | |
| dumpBackup.image.pullPolicy | string | `"IfNotPresent"` | |
| dumpBackup.image.repository | string | `"postgres"` | |
@ -104,7 +104,7 @@ Features added by this wrapper:
| postgresql.users | object | `{"postgres":["superuser","createdb"]}` | DB users to create (see operator) |
| postgresql.volume.size | string | `"1Gi"` | Size of the persistance volume to allocate |
| postgresql.volume.storageClass | string | `nil` | Name of the storage class |
| service.enabled | bool | `false` | |
| service.main.enabled | bool | `false` | |
| superuser.password | string | `nil` | Superuser password |
| superuser.secret | string | `nil` | Superuser k8s secret name. It must match the patter used by the operator |
| superuser.user | string | `nil` | Superuser user used for cronjobs |
@ -115,6 +115,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]
#### Added
- N/A
#### 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.
#### Removed
- N/A
### [1.0.0]
#### Added

View File

@ -9,6 +9,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]
#### Added
- N/A
#### 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.
#### Removed
- N/A
### [1.0.0]
#### Added

View File

@ -33,5 +33,20 @@
{{- default (printf "%s/%s" .Values.dumpBackup.subpathPrefix (include "common.names.fullname" .)) .Values.dumpBackup.subpath -}}
{{- end -}}
{{/* Append the hardcoded settings */}}
{{- define "zalando-postgres-cluster.harcodedValues" -}}
# Disable Deployment
controller:
enabled: false
# Disable Service
service:
main:
enabled: false
{{- end -}}
{{- $_ := mergeOverwrite .Values (include "zalando-postgres-cluster.harcodedValues" . | fromYaml) -}}
{{/* Render the templates */}}
{{ include "common.all" . }}

View File

@ -76,8 +76,3 @@ dumpBackup:
requests:
memory: "10Mi"
cpu: "5m"
# Dissable Deployment and Service
controllerType: ""
service:
enabled: false