Commit new Chart releases for TrueCharts

Signed-off-by: TrueCharts-Bot <bot@truecharts.org>
This commit is contained in:
TrueCharts-Bot 2023-07-19 12:09:15 +00:00
parent 7559135e8a
commit b77b928cd9
18 changed files with 35 additions and 4471 deletions

View File

@ -1,9 +0,0 @@
## [clusterissuer-1.0.11](https://github.com/truecharts/charts/compare/clusterissuer-1.0.10...clusterissuer-1.0.11) (2023-07-14)
### Chore
- update container image tccr.io/truecharts/scratch to latest ([#10451](https://github.com/truecharts/charts/issues/10451))

File diff suppressed because it is too large Load Diff

View File

@ -1,26 +0,0 @@
{{- define "certmanager.metrics" -}}
{{- if .Values.customMetrics.enabled }}
---
apiVersion: monitoring.coreos.com/v1
kind: PodMonitor
metadata:
name: cert-manager
namespace: cert-manager
labels:
app: cert-manager
app.kubernetes.io/name: cert-manager
app.kubernetes.io/instance: cert-manager
app.kubernetes.io/component: "controller"
spec:
jobLabel: app.kubernetes.io/name
selector:
matchLabels:
app: cert-manager
app.kubernetes.io/name: cert-manager
app.kubernetes.io/instance: cert-manager
app.kubernetes.io/component: "controller"
podMetricsEndpoints:
- port: http
honorLabels: true
{{- end }}
{{- end -}}

View File

@ -4,6 +4,15 @@
## [clusterissuer-1.0.12](https://github.com/truecharts/charts/compare/clusterissuer-1.0.11...clusterissuer-1.0.12) (2023-07-19)
### Fix
- ensure clusterissuer is compatible with new cert-manager operator
## [clusterissuer-1.0.11](https://github.com/truecharts/charts/compare/clusterissuer-1.0.10...clusterissuer-1.0.11) (2023-07-14)
### Chore
@ -88,12 +97,3 @@
## [clusterissuer-1.0.3](https://github.com/truecharts/charts/compare/clusterissuer-1.0.2...clusterissuer-1.0.3) (2023-06-07)
### Chore
- update helm general non-major ([#9423](https://github.com/truecharts/charts/issues/9423))

View File

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

View File

@ -0,0 +1,9 @@
## [clusterissuer-1.0.12](https://github.com/truecharts/charts/compare/clusterissuer-1.0.11...clusterissuer-1.0.12) (2023-07-19)
### Fix
- ensure clusterissuer is compatible with new cert-manager operator

View File

@ -1,4 +1,10 @@
{{- define "certmanager.clusterissuer.acme" -}}
{{- $namespace := "cert-manager" -}}
{{- if $.Values.operator.certmanager -}}
{{- if $.Values.operator.certmanager.namespace -}}
{{- $namespace = $.Values.operator.certmanager.namespace -}}
{{- end -}}
{{- end -}}
{{- 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" -}}
@ -80,7 +86,7 @@ spec:
apiVersion: v1
kind: Secret
metadata:
namespace: cert-manager
namespace: {{ $namespace }}
name: {{ $issuerSecretName }}
type: Opaque
stringData:

View File

@ -1,4 +1,11 @@
{{- define "certmanager.clusterissuer.ca" -}}
{{- $namespace := "cert-manager" -}}
{{- if $.Values.operator.certmanager -}}
{{- if $.Values.operator.certmanager.namespace -}}
{{- $namespace = $.Values.operator.certmanager.namespace -}}
{{- end -}}
{{- end -}}
{{- 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" -}}
@ -16,7 +23,7 @@ apiVersion: cert-manager.io/v1
kind: Certificate
metadata:
name: {{ .name }}-selfsigned-ca
namespace: cert-manager
namespace: {{ $namespace }}
spec:
isCA: true
commonName: {{ .selfSignedCommonName }}
@ -34,7 +41,7 @@ apiVersion: v1
kind: Secret
metadata:
name: {{ .name }}-ca
namespace: cert-manager
namespace: {{ $namespace }}
data:
tls.crt: {{ .crt | b64enc }}
tls.key: {{ .key | b64enc }}

View File

@ -7,4 +7,3 @@
{{- include "certmanager.clusterissuer.acme" . }}
{{- include "certmanager.clusterissuer.selfsigned" . }}
{{- include "certmanager.clusterissuer.ca" . }}
{{- include "certmanager.metrics" . }}