You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

14 lines
435 B

  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 }}