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.

UnreleasedYou're reading the docs from main. Things here can change before the next release.Back to the latest release →
examples / main

overlay-staging/certificate.yaml

View on GitHub ↗ (opens in a new tab)
yaml
apiVersion: cert-manager.io/v1
kind: Certificate
metadata:
  name: app-staging-tls
  labels:
    app.kubernetes.io/component: certificate
spec:
  # The deploy workflow prefixes any `secretName: *-staging-tls` with the
  # branch slug, here and in ingress.yaml, so branches don't share a cert.
  secretName: app-staging-tls
  issuerRef:
    name: letsencrypt-prod
    kind: ClusterIssuer
  dnsNames:
    - staging.example.com
  usages:
    - digital signature
    - key encipherment