Naar de inhoud
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-staging/kustomizeconfig.yaml

Bekijk op GitHub ↗ (opent in een nieuw tabblad)
yaml
# Traefik CRDs are unknown to kustomize's built-in name references, so without
# this an overlay's namePrefix renames the Service but leaves the IngressRoute
# pointing at the old name.
nameReference:
  - kind: Service
    fieldSpecs:
      - path: spec/routes/services/name
        kind: IngressRoute
  - kind: Middleware
    fieldSpecs:
      - path: spec/routes/middlewares/name
        kind: IngressRoute
  - kind: Secret
    fieldSpecs:
      - path: spec/basicAuth/secret
        kind: Middleware
      - path: spec/tls/secretName
        kind: IngressRoute
  - kind: TLSOption
    fieldSpecs:
      - path: spec/tls/options/name
        kind: IngressRoute