mirror of
https://github.com/seaweedfs/seaweedfs.git
synced 2024-12-18 04:37:52 +08:00
16 lines
642 B
YAML
16 lines
642 B
YAML
{{- if and .Values.global.enableSecurity (not .Values.certificates.externalCertificates.enabled)}}
|
|
apiVersion: cert-manager.io/v1{{ if .Values.global.certificates.alphacrds }}alpha1{{ end }}
|
|
kind: Issuer
|
|
metadata:
|
|
name: {{ template "seaweedfs.name" . }}-ca-issuer
|
|
namespace: {{ .Release.Namespace }}
|
|
labels:
|
|
app.kubernetes.io/name: {{ template "seaweedfs.name" . }}
|
|
helm.sh/chart: {{ .Chart.Name }}-{{ .Chart.Version | replace "+" "_" }}
|
|
app.kubernetes.io/managed-by: {{ .Release.Service }}
|
|
app.kubernetes.io/instance: {{ .Release.Name }}
|
|
spec:
|
|
ca:
|
|
secretName: {{ template "seaweedfs.name" . }}-ca-cert
|
|
{{- end }}
|