Skip to content
imlostincode
ENNL
Deployment kit

astro-k8s-deployment-kit

Shared deploy setup for Astro sites. Fix it once, and every site picks it up on its next update.

examples / 1.1

overlay-production/certificate.yaml

View on GitHub ↗ (opens in a new tab)
yaml
apiVersion: cert-manager.io/v1
kind: Certificate
metadata:
  name: app-tls
  labels:
    app.kubernetes.io/component: certificate
spec:
  # cert-manager creates this Secret at runtime, so it is not part of the
  # kustomize graph and namePrefix leaves both this value and the IngressRoute's
  # tls.secretName untouched. They match literally — rename them together.
  secretName: app-tls
  issuerRef:
    name: letsencrypt-prod
    kind: ClusterIssuer
  dnsNames:
    - example.com
    - www.example.com
  usages:
    - digital signature
    - key encipherment