Skip to content
This repository was archived by the owner on Aug 22, 2022. It is now read-only.

Commit 781ae0c

Browse files
author
angelnu
committed
update to common-v3
1 parent 656b00c commit 781ae0c

File tree

13 files changed

+176
-96
lines changed

13 files changed

+176
-96
lines changed

Diff for: charts/stable/dnsmadeeasy-webhook/Chart.yaml

+2-2
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,7 @@ apiVersion: v2
22
appVersion: 1.1.0
33
description: Cert-Manager Webhook for DNSMadeEasy
44
name: dnsmadeeasy-webhook
5-
version: 2.5.0
5+
version: 3.0.0
66
keywords:
77
- cert-manager
88
- dnsmadeeasy
@@ -18,4 +18,4 @@ maintainers:
1818
dependencies:
1919
- name: common
2020
repository: https://library-charts.k8s-at-home.com
21-
version: 2.5.0
21+
version: 3.0.2

Diff for: charts/stable/dnsmadeeasy-webhook/README.md

+18-24
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
# dnsmadeeasy-webhook
22

3-
![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)
3+
![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)
44

55
Cert-Manager Webhook for DNSMadeEasy
66

@@ -17,7 +17,7 @@ Cert-Manager Webhook for DNSMadeEasy
1717

1818
| Repository | Name | Version |
1919
|------------|------|---------|
20-
| https://library-charts.k8s-at-home.com | common | 2.5.0 |
20+
| https://library-charts.k8s-at-home.com | common | 3.0.2 |
2121

2222
## TL;DR
2323

@@ -74,34 +74,12 @@ N/A
7474

7575
| Key | Type | Default | Description |
7676
|-----|------|---------|-------------|
77-
| additionalVolumeMounts[0].mountPath | string | `"/tls"` | |
78-
| additionalVolumeMounts[0].name | string | `"certs"` | |
79-
| additionalVolumeMounts[0].readOnly | bool | `true` | |
80-
| args | string | `"[\"--tls-cert-file=/tls/tls.crt\",\"--tls-private-key-file=/tls/tls.key\",\"--secure-port=4443\"]"` | |
8177
| certManager.namespace | string | `"cert-manager"` | Namespace where the cert-manager operator was installed to |
8278
| certManager.serviceAccountName | string | `"cert-manager"` | Service account used by the cert-manager |
8379
| 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. |
8480
| image.pullPolicy | string | `"IfNotPresent"` | Image pull policy |
8581
| image.repository | string | `"ghcr.io/k8s-at-home/dnsmadeeasy-webhook"` | Image repository |
8682
| image.tag | string | `"v1.0.0"` | Image tag |
87-
| probes.liveness.custom | bool | `true` | |
88-
| probes.liveness.enabled | bool | `true` | |
89-
| probes.liveness.spec.httpGet.path | string | `"/healthz"` | |
90-
| probes.liveness.spec.httpGet.port | string | `"https"` | |
91-
| probes.liveness.spec.httpGet.scheme | string | `"HTTPS"` | |
92-
| probes.readiness.custom | bool | `true` | |
93-
| probes.readiness.enabled | bool | `true` | |
94-
| probes.readiness.spec.httpGet.path | string | `"/healthz"` | |
95-
| probes.readiness.spec.httpGet.port | string | `"https"` | |
96-
| probes.readiness.spec.httpGet.scheme | string | `"HTTPS"` | |
97-
| probes.startup.custom | bool | `true` | |
98-
| probes.startup.enabled | bool | `true` | |
99-
| probes.startup.spec.httpGet.path | string | `"/healthz"` | |
100-
| probes.startup.spec.httpGet.port | string | `"https"` | |
101-
| probes.startup.spec.httpGet.scheme | string | `"HTTPS"` | |
102-
| service.port.name | string | `"https"` | |
103-
| service.port.port | int | `443` | |
104-
| service.port.targetPort | int | `4443` | |
10583
| serviceAccount.create | bool | `true` | Create service account |
10684

10785
## Changelog
@@ -110,6 +88,22 @@ All notable changes to this application Helm chart will be documented in this fi
11088

11189
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).
11290

91+
### [3.0.0]
92+
93+
#### Added
94+
95+
- N/A
96+
97+
#### Changed
98+
99+
- **BREAKING**: Upgraded the common library dependency to version 3.0.2. This introduces several breaking changes (`service`, `ingress` and `persistence` keys have been refactored).
100+
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.
101+
- moved harcoded values into common.tpl
102+
103+
#### Removed
104+
105+
- N/A
106+
113107
### [1.0.0]
114108

115109
#### Added

Diff for: charts/stable/dnsmadeeasy-webhook/README_CHANGELOG.md.gotmpl

+16
Original file line numberDiff line numberDiff line change
@@ -9,6 +9,22 @@ All notable changes to this application Helm chart will be documented in this fi
99

1010
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).
1111

12+
### [3.0.0]
13+
14+
#### Added
15+
16+
- N/A
17+
18+
#### Changed
19+
20+
- **BREAKING**: Upgraded the common library dependency to version 3.0.2. This introduces several breaking changes (`service`, `ingress` and `persistence` keys have been refactored).
21+
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.
22+
- moved harcoded values into common.tpl
23+
24+
#### Removed
25+
26+
- N/A
27+
1228
### [1.0.0]
1329

1430
#### Added

Diff for: charts/stable/dnsmadeeasy-webhook/templates/common.tpl

+50-11
Original file line numberDiff line numberDiff line change
@@ -18,21 +18,60 @@
1818
{{- end -}}
1919

2020

21-
{{- $_ := set .Values.env "GROUP_NAME" .Values.groupName -}}
21+
{{/* Append the hardcoded settings */}}
22+
{{- define "dnsmadeeasy-webhook.harcodedValues" -}}
2223

24+
# -- Configure persistence settings for the chart under this key.
25+
persistence:
26+
certs:
27+
enabled: true
28+
type: custom
29+
mountPath: /tls
30+
readOnly: true
31+
volumeSpec:
32+
name: certs
33+
secret:
34+
secretName: {{ include "dnsmadeeasy-webhook.servingCertificate" . }}
2335

24-
{{/* Append the cert secret to the additionalVolumes */}}
25-
{{- define "dnsmadeeasy-webhook.servingCertificate.volume" -}}
26-
name: certs
27-
secret:
28-
secretName: {{ include "dnsmadeeasy-webhook.servingCertificate" . }}
29-
{{- end -}}
36+
probes:
37+
liveness:
38+
enabled: true
39+
custom: true
40+
spec:
41+
httpGet:
42+
scheme: HTTPS
43+
path: /healthz
44+
port: https
45+
readiness:
46+
enabled: true
47+
custom: true
48+
spec:
49+
httpGet:
50+
scheme: HTTPS
51+
path: /healthz
52+
port: https
53+
startup:
54+
enabled: true
55+
custom: true
56+
spec:
57+
httpGet:
58+
scheme: HTTPS
59+
path: /healthz
60+
port: https
61+
service:
62+
main:
63+
port:
64+
name: https
65+
targetPort: 4443
66+
port: 443
67+
68+
args: '["--tls-cert-file=/tls/tls.crt","--tls-private-key-file=/tls/tls.key","--secure-port=4443"]'
69+
70+
env:
71+
GROUP_NAME: {{ .Values.groupName }}
3072

31-
{{- $volume := include "dnsmadeeasy-webhook.servingCertificate.volume" . | fromYaml -}}
32-
{{- if $volume -}}
33-
{{- $additionalVolumes := append .Values.additionalVolumes $volume }}
34-
{{- $_ := set .Values "additionalVolumes" (deepCopy $additionalVolumes) -}}
3573
{{- end -}}
74+
{{- $_ := mergeOverwrite .Values (include "dnsmadeeasy-webhook.harcodedValues" . | fromYaml) -}}
3675

3776

3877
{{/* Render the templates */}}

Diff for: charts/stable/dnsmadeeasy-webhook/values.yaml

-39
Original file line numberDiff line numberDiff line change
@@ -27,42 +27,3 @@ image:
2727
pullPolicy: IfNotPresent
2828
# -- Image tag
2929
tag: v1.0.0
30-
31-
args: '["--tls-cert-file=/tls/tls.crt","--tls-private-key-file=/tls/tls.key","--secure-port=4443"]'
32-
33-
additionalVolumeMounts:
34-
- name: certs
35-
mountPath: /tls
36-
readOnly: true
37-
38-
39-
probes:
40-
liveness:
41-
enabled: true
42-
custom: true
43-
spec:
44-
httpGet:
45-
scheme: HTTPS
46-
path: /healthz
47-
port: https
48-
readiness:
49-
enabled: true
50-
custom: true
51-
spec:
52-
httpGet:
53-
scheme: HTTPS
54-
path: /healthz
55-
port: https
56-
startup:
57-
enabled: true
58-
custom: true
59-
spec:
60-
httpGet:
61-
scheme: HTTPS
62-
path: /healthz
63-
port: https
64-
service:
65-
port:
66-
name: https
67-
targetPort: 4443
68-
port: 443

Diff for: charts/stable/tt-rss/Chart.yaml

+2-2
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,7 @@ apiVersion: v2
22
appVersion: 1.0.0
33
description: Tiny Tiny RSS is a free and open source web-based news feed (RSS/Atom) reader and aggregator
44
name: tt-rss
5-
version: 2.5.1
5+
version: 3.0.0
66
kubeVersion: ">=1.16.0-0"
77
keywords:
88
- tt-rss
@@ -16,7 +16,7 @@ maintainers:
1616
dependencies:
1717
- name: common
1818
repository: https://library-charts.k8s-at-home.com
19-
version: 2.5.0
19+
version: 3.0.2
2020
- name: postgresql
2121
version: 10.4.8
2222
repository: https://charts.bitnami.com/bitnami

Diff for: charts/stable/tt-rss/README.md

+23-8
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
# tt-rss
22

3-
![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)
3+
![Version: 3.0.0](https://img.shields.io/badge/Version-3.0.0-informational?style=flat-square) ![AppVersion: 1.0.0](https://img.shields.io/badge/AppVersion-1.0.0-informational?style=flat-square)
44

55
Tiny Tiny RSS is a free and open source web-based news feed (RSS/Atom) reader and aggregator
66

@@ -19,7 +19,7 @@ Kubernetes: `>=1.16.0-0`
1919
| Repository | Name | Version |
2020
|------------|------|---------|
2121
| https://charts.bitnami.com/bitnami | postgresql | 10.4.8 |
22-
| https://library-charts.k8s-at-home.com | common | 2.5.0 |
22+
| https://library-charts.k8s-at-home.com | common | 3.0.2 |
2323

2424
## TL;DR
2525

@@ -82,18 +82,18 @@ N/A
8282
| env.TTRSS_DB_PORT | string | `"5432"` | Postgres database port. |
8383
| env.TTRSS_DB_USER | string | postgresql.postgresqlUsername value | Postgres database user name |
8484
| env.TTRSS_SELF_URL_PATH | string | `""` | External URL you use to connect to the RSS (the one you enter in your browser) |
85-
| image.pullPolicy | string | `"IfNotPresent"` | |
86-
| image.repository | string | `"ghcr.io/k8s-at-home/tt-rss"` | |
87-
| image.tag | string | `"v1.8723.0"` | |
88-
| ingress.enabled | bool | `false` | |
85+
| image.pullPolicy | string | `"IfNotPresent"` | image pull policy |
86+
| image.repository | string | `"ghcr.io/k8s-at-home/tt-rss"` | image repository |
87+
| image.tag | string | `"v1.8723.0"` | image tag |
88+
| ingress | object | `{"main":{"enabled":false}}` | Configure the ingresses for the chart here. |
8989
| postgresql | object | see bellow | Bitnami postgres chart. For more options see https://github.com/bitnami/charts/tree/master/bitnami/postgresql |
9090
| postgresql.enabled | bool | `true` | By default uses an internal postgress. Dissable if you use your own Postgres. |
9191
| postgresql.persistence.enabled | bool | `false` | if database is stored to a PVC. Set to true when you are done testing. |
9292
| postgresql.postgresqlDatabase | string | `"tt-rss"` | Postgres database password |
9393
| postgresql.postgresqlPassword | string | `"changeme"` | Postgres database password |
9494
| postgresql.postgresqlUsername | string | `"postgres"` | Postgres database user name |
95-
| probes.startup.enabled | bool | `true` | |
96-
| service.port.port | int | `8080` | |
95+
| probes | object | `{"startup":{"enabled":true}}` | Configure the probes for the chart here. |
96+
| service | object | `{"main":{"ports":{"http":{"port":8080}}}}` | Configure the services for the chart here. |
9797
| strategy.type | string | `"Recreate"` | |
9898

9999
## Changelog
@@ -102,6 +102,21 @@ All notable changes to this application Helm chart will be documented in this fi
102102

103103
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).
104104

105+
### [3.0.0]
106+
107+
#### Added
108+
109+
- N/A
110+
111+
#### Changed
112+
113+
- **BREAKING**: Upgraded the common library dependency to version 3.0.2. This introduces several breaking changes (`service`, `ingress` and `persistence` keys have been refactored).
114+
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.
115+
116+
#### Removed
117+
118+
- N/A
119+
105120
### [1.0.6]
106121

107122
#### Added

Diff for: charts/stable/tt-rss/README_CHANGELOG.md.gotmpl

+16-1
Original file line numberDiff line numberDiff line change
@@ -9,6 +9,21 @@ All notable changes to this application Helm chart will be documented in this fi
99

1010
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).
1111

12+
### [3.0.0]
13+
14+
#### Added
15+
16+
- N/A
17+
18+
#### Changed
19+
20+
- **BREAKING**: Upgraded the common library dependency to version 3.0.2. This introduces several breaking changes (`service`, `ingress` and `persistence` keys have been refactored).
21+
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.
22+
23+
#### Removed
24+
25+
- N/A
26+
1227
### [1.0.6]
1328

1429
#### Added
@@ -18,7 +33,7 @@ The format is based on [Keep a Changelog](https://keepachangelog.com/en/1.0.0/),
1833
#### Changed
1934

2035
- Use generated template
21-
- Use k8s-at-home repository
36+
- Use k8s-at-home repository
2237
- Generate helm-docs
2338

2439
#### Removed

Diff for: charts/stable/tt-rss/values.yaml

+12-3
Original file line numberDiff line numberDiff line change
@@ -6,8 +6,11 @@
66
#
77

88
image:
9+
# -- image repository
910
repository: ghcr.io/k8s-at-home/tt-rss
11+
# -- image pull policy
1012
pullPolicy: IfNotPresent
13+
# -- image tag
1114
tag: v1.8723.0
1215

1316
strategy:
@@ -33,13 +36,19 @@ env:
3336
# @default -- postgresql.postgresqlDatabase value
3437
TTRSS_DB_NAME: ""
3538

39+
# -- Configure the services for the chart here.
3640
service:
37-
port:
38-
port: 8080
41+
main:
42+
ports:
43+
http:
44+
port: 8080
3945

46+
# -- Configure the ingresses for the chart here.
4047
ingress:
41-
enabled: false
48+
main:
49+
enabled: false
4250

51+
# -- Configure the probes for the chart here.
4352
probes:
4453
startup:
4554
enabled: true

Diff for: charts/stable/zalando-postgres-cluster/Chart.yaml

+2-2
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
apiVersion: v2
2-
version: 1.3.0
2+
version: 2.0.0
33
description: Creates a postgres cluster using the Zalando Postgres operator and local storage
44
name: zalando-postgres-cluster
55
appVersion: 1.0.0
@@ -17,4 +17,4 @@ maintainers:
1717
dependencies:
1818
- name: common
1919
repository: https://library-charts.k8s-at-home.com
20-
version: 2.5.0
20+
version: 3.0.2

0 commit comments

Comments
 (0)