mirror of
https://github.com/seaweedfs/seaweedfs.git
synced 2024-01-19 02:48:24 +00:00
15 lines
435 B
YAML
15 lines
435 B
YAML
{{- if .Values.global.enableSecurity }}
|
|
apiVersion: certmanager.k8s.io/v1alpha1
|
|
kind: Certificate
|
|
metadata:
|
|
name: {{ template "seaweedfs.name" . }}-ca-cert
|
|
namespace: {{ .Release.Namespace }}
|
|
spec:
|
|
secretName: {{ template "seaweedfs.name" . }}-ca-cert
|
|
commonName: "{{ template "seaweedfs.name" . }}-root-ca"
|
|
isCA: true
|
|
issuerRef:
|
|
name: {{ template "seaweedfs.name" . }}-clusterissuer
|
|
kind: ClusterIssuer
|
|
{{- end }}
|