ManagedCertificate

Here’s an example of a ManagedCertificate.

.kubes/resources/web/managed_certificate.rb

name "cert1"
domains(["cert1.example.com"])

Produces:

.kubes/output/web/managed_certificate.yaml

---
apiVersion: networking.gke.io/v1beta2
kind: ManagedCertificate
metadata:
  name: cert1
spec:
  domains:
  - cert1.example.com

DSL Methods

Here’s a list of more common methods:

Top-level and special fields:

  • domain
  • domains

For a full list of the available methods, refer to the source itself syntax/managed_certificate.rb.