-
Notifications
You must be signed in to change notification settings - Fork 83
Expand file tree
/
Copy pathstepissuer.yml
More file actions
30 lines (30 loc) · 1.02 KB
/
stepissuer.yml
File metadata and controls
30 lines (30 loc) · 1.02 KB
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
{{- if .Values.stepIssuer.create }}
apiVersion: certmanager.step.sm/v1beta1
kind: StepIssuer
metadata:
name: "{{ template "step-issuer.fullname" . }}"
namespace: {{ .Release.Namespace }}
labels:
{{- with .Values.commonLabels }}
{{- toYaml . | nindent 4 }}
{{- end }}
{{- with .Values.stepIssuer.labels }}
{{- toYaml . | nindent 4 }}
{{- end }}
spec:
# The CA URL.
{{- if .Values.stepIssuer.caUrl }}
url: {{ .Values.stepIssuer.caUrl }}
{{- else }}
url: https://step-certificates.{{ .Release.Namespace }}.svc.cluster.local
{{- end }}
# The base64 encoded version of the CA root certificate in PEM format.
caBundle: {{ .Values.stepIssuer.caBundle }}
# The provisioner name, kid, and a reference to the provisioner password secret.
provisioner:
name: {{ .Values.stepIssuer.provisioner.name }}
kid: {{ .Values.stepIssuer.provisioner.kid }}
passwordRef:
name: {{ .Values.stepIssuer.provisioner.passwordRef.name }}
key: {{ .Values.stepIssuer.provisioner.passwordRef.key }}
{{- end }}