From dffee438710fc07eea4336b5759c3545a8b2b148 Mon Sep 17 00:00:00 2001 From: Michael Thomson Date: Wed, 3 Dec 2025 12:52:39 -0500 Subject: [PATCH] stirling pdf --- apps/stirling-pdf/dns-endpoint.yaml | 12 +++++++ apps/stirling-pdf/namespace.yaml | 4 +++ apps/stirling-pdf/release.yaml | 31 +++++++++++++++++++ apps/stirling-pdf/repository.yaml | 8 +++++ .../apps/kustomization-stirling-pdf.yaml | 15 +++++++++ 5 files changed, 70 insertions(+) create mode 100644 apps/stirling-pdf/dns-endpoint.yaml create mode 100644 apps/stirling-pdf/namespace.yaml create mode 100644 apps/stirling-pdf/release.yaml create mode 100644 apps/stirling-pdf/repository.yaml create mode 100644 bootstrap/apps/kustomization-stirling-pdf.yaml diff --git a/apps/stirling-pdf/dns-endpoint.yaml b/apps/stirling-pdf/dns-endpoint.yaml new file mode 100644 index 0000000..c315cfe --- /dev/null +++ b/apps/stirling-pdf/dns-endpoint.yaml @@ -0,0 +1,12 @@ +apiVersion: externaldns.k8s.io/v1alpha1 +kind: DNSEndpoint +metadata: + name: pdf.michaelthomson.dev + namespace: stirling-pdf +spec: + endpoints: + - dnsName: pdf.michaelthomson.dev + recordTTL: 180 + recordType: CNAME + targets: + - server.michaelthomson.dev diff --git a/apps/stirling-pdf/namespace.yaml b/apps/stirling-pdf/namespace.yaml new file mode 100644 index 0000000..4928d47 --- /dev/null +++ b/apps/stirling-pdf/namespace.yaml @@ -0,0 +1,4 @@ +apiVersion: v1 +kind: Namespace +metadata: + name: stirling-pdf diff --git a/apps/stirling-pdf/release.yaml b/apps/stirling-pdf/release.yaml new file mode 100644 index 0000000..c05f99f --- /dev/null +++ b/apps/stirling-pdf/release.yaml @@ -0,0 +1,31 @@ +apiVersion: helm.toolkit.fluxcd.io/v2 +kind: HelmRelease +metadata: + name: stirling-pdf + namespace: stirling-pdf +spec: + chart: + spec: + chart: stirling-pdf + version: 2.x + sourceRef: + kind: HelmRepository + name: stirling-pdf + interval: 15m + releaseName: stirling-pdf + values: + ingress: + enabled: true + annotations: + traefik.ingress.kubernetes.io/router.entrypoints: websecure + traefik.ingress.kubernetes.io/router.tls: "true" + hosts: + - host: pdf.michaelthomson.dev + paths: + - path: "/" + pathType: ImplementationSpecific + tls: + - hosts: + - pdf.michaelthomson.dev + secretName: letsencrypt-wildcard-cert-michaelthomson.dev + ingressClassName: traefik diff --git a/apps/stirling-pdf/repository.yaml b/apps/stirling-pdf/repository.yaml new file mode 100644 index 0000000..0cef2f0 --- /dev/null +++ b/apps/stirling-pdf/repository.yaml @@ -0,0 +1,8 @@ +apiVersion: source.toolkit.fluxcd.io/v1 +kind: HelmRepository +metadata: + name: stiring-pdf + namespace: stiring-pdf +spec: + interval: 15m + url: https://stirling-tools.github.io/Stirling-PDF-chart diff --git a/bootstrap/apps/kustomization-stirling-pdf.yaml b/bootstrap/apps/kustomization-stirling-pdf.yaml new file mode 100644 index 0000000..e6c8b6c --- /dev/null +++ b/bootstrap/apps/kustomization-stirling-pdf.yaml @@ -0,0 +1,15 @@ +apiVersion: kustomize.toolkit.fluxcd.io/v1 +kind: Kustomization +metadata: + name: stirling-pdf + namespace: flux-system +spec: + interval: 15m + path: ./apps/stirling-pdf + prune: true # remove any elements later removed from the above path + wait: true + sourceRef: + kind: GitRepository + name: flux-system + dependsOn: + - name: infra-configs