Difference between revisions of "Kind: Certificate"

From wikieduonline
Jump to navigation Jump to search
 
(24 intermediate revisions by 2 users not shown)
Line 2: Line 2:
 
  [[kind:]] Certificate
 
  [[kind:]] Certificate
  
 +
https://cert-manager.io/docs/concepts/certificate/
 +
apiVersion: cert-manager.io/v1
 +
kind: Certificate
 +
metadata:
 +
  name: your-cert
 +
spec:
 +
  [[secretName:]] acme-crt-secret
 +
  dnsNames:
 +
  - example.com
 +
  - foo.example.com
 +
  [[issuerRef:]]
 +
    name: letsencrypt-prod
 +
    # We can reference ClusterIssuers by changing the kind here.
 +
    # The default value is Issuer (i.e. a locally namespaced Issuer)
 +
    [[kind: Issuer]]
 +
    [[group:]] [[cert-manager.io]]
 +
 +
kubectl apply -f certificate.yml
 +
certificate.cert-manager.io/your-cert created
 +
 +
[[kubectl describe cert]] your-cert && [[kubectl describe certificaterequest]] your-cert && [[kubectl describe challenge]]
 +
 +
 +
== Related ==
 +
* <code>[[kind: ClusterIssuer]]</code>
 +
* [[certificates.k8s.io]]
 +
* [[kubectl get issuer]]
 +
* [[kubectl delete certificate]]
 +
* [[kubectl describe challenges]]
 +
* [[kubectl get cr]]
 +
* [[kind: Order]]
  
 
== See also ==
 
== See also ==
* {{[K8s}}
+
* {{kubectl certificate}}
 +
* {{kind: Certificate}}
 +
* {{cert-manager}}
 +
* {{kind}}
  
 
[[Category:K8s]]
 
[[Category:K8s]]

Latest revision as of 19:27, 15 February 2024

kind: Certificate

https://cert-manager.io/docs/concepts/certificate/

apiVersion: cert-manager.io/v1
kind: Certificate
metadata:
  name: your-cert
spec:
  secretName: acme-crt-secret
  dnsNames:
  - example.com
  - foo.example.com
  issuerRef:
    name: letsencrypt-prod
    # We can reference ClusterIssuers by changing the kind here.
    # The default value is Issuer (i.e. a locally namespaced Issuer)
    kind: Issuer
    group: cert-manager.io
kubectl apply -f certificate.yml
certificate.cert-manager.io/your-cert created
kubectl describe cert your-cert && kubectl describe certificaterequest your-cert && kubectl describe challenge

Related[edit]

See also[edit]

Advertising: