Commit new Chart releases for TrueCharts

Signed-off-by: TrueCharts-Bot <bot@truecharts.org>
This commit is contained in:
TrueCharts-Bot 2023-03-11 21:56:50 +00:00
parent d7b70796f0
commit 8db3885bb0
19 changed files with 44 additions and 33 deletions

View File

@ -4,6 +4,15 @@
## [cert-manager-1.0.10](https://github.com/truecharts/charts/compare/cert-manager-1.0.9...cert-manager-1.0.10) (2023-03-11)
### Chore
- validate names that are also used for k8s objects ([#7789](https://github.com/truecharts/charts/issues/7789))
## [cert-manager-1.0.9](https://github.com/truecharts/charts/compare/cert-manager-1.0.8...cert-manager-1.0.9) (2023-03-11)
### Fix
@ -88,12 +97,3 @@
## [cert-manager-0.0.6](https://github.com/truecharts/charts/compare/cert-manager-0.0.5...cert-manager-0.0.6) (2023-02-10)
### Fix
- ensure new helm deps repo is used in latest releases as well.
## [cert-manager-0.0.5](https://github.com/truecharts/charts/compare/cert-manager-0.0.4...cert-manager-0.0.5) (2023-01-18)

View File

@ -21,7 +21,7 @@ sources:
- https://github.com/truecharts/charts/tree/master/charts/enterprise/cert-manager
- https://cert-manager.io/
type: application
version: 1.0.9
version: 1.0.10
annotations:
truecharts.org/catagories: |
- core

View File

@ -0,0 +1,9 @@
## [cert-manager-1.0.10](https://github.com/truecharts/charts/compare/cert-manager-1.0.9...cert-manager-1.0.10) (2023-03-11)
### Chore
- validate names that are also used for k8s objects ([#7789](https://github.com/truecharts/charts/issues/7789))

View File

@ -56,6 +56,7 @@ questions:
schema:
type: string
required: true
valid_chars: '^[a-z]+(-?[a-z]){0,63}-?[a-z]+$'
default: ""
- variable: type
label: Type or DNS-Provider
@ -228,7 +229,7 @@ questions:
default: ""
- variable: CA
label: Certiticate Authority Issuer
label: Certificate Authority Issuer
schema:
type: list
default: []
@ -245,6 +246,7 @@ questions:
schema:
type: string
required: true
valid_chars: '^[a-z]+(-?[a-z]){0,63}-?[a-z]+$'
default: ""
- variable: selfSigned
label: selfSigned
@ -295,7 +297,8 @@ questions:
schema:
type: string
required: true
default: "selfSigned"
valid_chars: '^[a-z]+(-?[a-z]){0,63}-?[a-z]+$'
default: "selfsigned"
- variable: customMetrics
group: Metrics

View File

@ -1,6 +1,8 @@
{{- define "certmanager.clusterissuer.acme" -}}
{{- range .Values.clusterIssuer.ACME }}
{{- if not (mustRegexMatch "^[a-z]+(-?[a-z]){0,63}-?[a-z]+$" .name) -}}
{{- fail "ACME - Expected name to be all lowercase with hyphens, but not start or end with a hyphen" -}}
{{- end -}}
{{- $validTypes := list "HTTP01" "cloudflare" "route53" -}}
{{- if not (mustHas .type $validTypes) -}}
{{- fail (printf "Expected ACME type to be one of [%s], but got [%s]" (join ", " $validTypes) .type) -}}

View File

@ -1,5 +1,8 @@
{{- define "certmanager.clusterissuer.ca" -}}
{{- range .Values.clusterIssuer.CA }}
{{- if not (mustRegexMatch "^[a-z]+(-?[a-z]){0,63}-?[a-z]+$" .name) -}}
{{- fail "CA - Expected name to be all lowercase with hyphens, but not start or end with a hyphen" -}}
{{- end -}}
{{- if .selfSigned }}
---
apiVersion: cert-manager.io/v1

View File

@ -0,0 +1,14 @@
{{- define "certmanager.clusterissuer.selfsigned" -}}
{{- if .Values.clusterIssuer.selfSigned.enabled -}}
{{- if not (mustRegexMatch "^[a-z]+(-?[a-z]){0,63}-?[a-z]+$" .Values.clusterIssuer.selfSigned.name) -}}
{{- fail "Self Singed Issuer - Expected name to be all lowercase with hyphens, but not start or end with a hyphen" -}}
{{- end }}
---
apiVersion: cert-manager.io/v1
kind: ClusterIssuer
metadata:
name: {{ .Values.clusterIssuer.selfSigned.name }}
spec:
selfSigned: {}
{{- end }}
{{- end -}}

View File

@ -1,9 +0,0 @@
## [cert-manager-1.0.9](https://github.com/truecharts/charts/compare/cert-manager-1.0.8...cert-manager-1.0.9) (2023-03-11)
### Fix
- Do validation earlier, and add missing `---` before PodMonitor, causing objects to merge ([#7787](https://github.com/truecharts/charts/issues/7787))

View File

@ -1,11 +0,0 @@
{{- define "certmanager.clusterissuer.selfsigned" -}}
{{- if .Values.clusterIssuer.selfSigned.enabled }}
---
apiVersion: cert-manager.io/v1
kind: ClusterIssuer
metadata:
name: {{ .Values.clusterIssuer.selfSigned.name }}
spec:
selfSigned: {}
{{- end }}
{{- end -}}