ca-cert.yaml 435 B

1234567891011121314
  1. {{- if .Values.global.enableSecurity }}
  2. apiVersion: certmanager.k8s.io/v1alpha1
  3. kind: Certificate
  4. metadata:
  5. name: {{ template "seaweedfs.name" . }}-ca-cert
  6. namespace: {{ .Release.Namespace }}
  7. spec:
  8. secretName: {{ template "seaweedfs.name" . }}-ca-cert
  9. commonName: "{{ template "seaweedfs.name" . }}-root-ca"
  10. isCA: true
  11. issuerRef:
  12. name: {{ template "seaweedfs.name" . }}-clusterissuer
  13. kind: ClusterIssuer
  14. {{- end }}