KubeZero/charts/kubezero-kiam/templates/certificates.yaml

37 lines
716 B
YAML
Raw Normal View History

apiVersion: cert-manager.io/v1
2020-05-15 15:07:01 +00:00
kind: Certificate
metadata:
name: kiam-agent
namespace: {{ .Release.Namespace }}
2020-05-19 10:48:15 +00:00
labels:
{{ include "kubezero-lib.labels" . | indent 4 }}
2020-05-15 15:07:01 +00:00
spec:
secretName: kiam-agent-tls
issuerRef:
name: kubezero-local-ca-issuer
kind: ClusterIssuer
2020-05-15 15:07:01 +00:00
usages:
- "any"
dnsNames:
- "kiam-agent"
---
apiVersion: cert-manager.io/v1
2020-05-15 15:07:01 +00:00
kind: Certificate
metadata:
name: kiam-server
namespace: {{ .Release.Namespace }}
2020-05-19 10:48:15 +00:00
labels:
{{ include "kubezero-lib.labels" . | indent 4 }}
2020-05-15 15:07:01 +00:00
spec:
secretName: kiam-server-tls
issuerRef:
name: kubezero-local-ca-issuer
kind: ClusterIssuer
2020-05-15 15:07:01 +00:00
usages:
- "any"
dnsNames:
- "localhost"
- "kiam-server"
ipAddresses:
- "127.0.0.1"