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) ## [clusterissuer-1.0.11](https://github.com/truecharts/charts/compare/clusterissuer-1.0.10...clusterissuer-1.0.11) (2023-07-14)
### Chore ### 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://github.com/truecharts/charts/tree/master/charts/enterprise/clusterissuer
- https://cert-manager.io/ - https://cert-manager.io/
type: application type: application
version: 1.0.11 version: 1.0.12
annotations: annotations:
truecharts.org/catagories: | truecharts.org/catagories: |
- core - 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" -}} {{- 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 }} {{- range .Values.clusterIssuer.ACME }}
{{- if not (mustRegexMatch "^[a-z]+(-?[a-z]){0,63}-?[a-z]+$" .name) -}} {{- 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" -}} {{- 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 apiVersion: v1
kind: Secret kind: Secret
metadata: metadata:
namespace: cert-manager namespace: {{ $namespace }}
name: {{ $issuerSecretName }} name: {{ $issuerSecretName }}
type: Opaque type: Opaque
stringData: stringData:

View File

@ -1,4 +1,11 @@
{{- define "certmanager.clusterissuer.ca" -}} {{- 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 }} {{- range .Values.clusterIssuer.CA }}
{{- if not (mustRegexMatch "^[a-z]+(-?[a-z]){0,63}-?[a-z]+$" .name) -}} {{- 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" -}} {{- 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 kind: Certificate
metadata: metadata:
name: {{ .name }}-selfsigned-ca name: {{ .name }}-selfsigned-ca
namespace: cert-manager namespace: {{ $namespace }}
spec: spec:
isCA: true isCA: true
commonName: {{ .selfSignedCommonName }} commonName: {{ .selfSignedCommonName }}
@ -34,7 +41,7 @@ apiVersion: v1
kind: Secret kind: Secret
metadata: metadata:
name: {{ .name }}-ca name: {{ .name }}-ca
namespace: cert-manager namespace: {{ $namespace }}
data: data:
tls.crt: {{ .crt | b64enc }} tls.crt: {{ .crt | b64enc }}
tls.key: {{ .key | b64enc }} tls.key: {{ .key | b64enc }}

View File

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