17 lines
388 B
YAML
17 lines
388 B
YAML
|
{{- if .Values.fluentd.enabled }}
|
||
|
apiVersion: cert-manager.io/v1alpha2
|
||
|
kind: Certificate
|
||
|
metadata:
|
||
|
name: fluentd-ingress-cert
|
||
|
namespace: {{ .Release.Namespace }}
|
||
|
labels:
|
||
|
{{ include "kubezero-lib.labels" . | indent 4 }}
|
||
|
spec:
|
||
|
secretName: fluentd-certificate
|
||
|
issuerRef:
|
||
|
name: letsencrypt-dns-prod
|
||
|
kind: ClusterIssuer
|
||
|
dnsNames:
|
||
|
- "{{ .Values.fluentd.url }}"
|
||
|
{{- end }}
|