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

33 lines
604 B
YAML

apiVersion: cert-manager.io/v1alpha2
kind: Certificate
metadata:
name: kiam-agent
labels:
{{ include "kubezero-lib.labels" . | indent 4 }}
spec:
secretName: kiam-agent-tls
issuerRef:
name: kubezero-local-ca-issuer
usages:
- "any"
dnsNames:
- "kiam-agent"
---
apiVersion: cert-manager.io/v1alpha2
kind: Certificate
metadata:
name: kiam-server
labels:
{{ include "kubezero-lib.labels" . | indent 4 }}
spec:
secretName: kiam-server-tls
issuerRef:
name: kubezero-local-ca-issuer
usages:
- "any"
dnsNames:
- "localhost"
- "kiam-server"
ipAddresses:
- "127.0.0.1"