Skip to content

Commit

Permalink
*: deploy stirling pdf manipulation tool
Browse files Browse the repository at this point in the history
  • Loading branch information
paulfantom committed Jan 25, 2025
1 parent d9b7473 commit 34924e9
Show file tree
Hide file tree
Showing 7 changed files with 100 additions and 0 deletions.
13 changes: 13 additions & 0 deletions apps/stirling-pdf/kustomization.yaml
Original file line number Diff line number Diff line change
@@ -0,0 +1,13 @@
apiVersion: kustomize.config.k8s.io/v1beta1
kind: Kustomization
namespace: stirling-pdf
resources:
- repository.yaml
- namespace.yaml
- release.yaml
configMapGenerator:
- name: values
files:
- values.yaml=values.yaml
configurations:
- kustomizeconfig.yaml
8 changes: 8 additions & 0 deletions apps/stirling-pdf/kustomizeconfig.yaml
Original file line number Diff line number Diff line change
@@ -0,0 +1,8 @@
# Kustomize config for enabling HelmRelease values from
# ConfigMaps and Secrets generated by Kustomize
nameReference:
- kind: ConfigMap
version: v1
fieldSpecs:
- path: spec/valuesFrom/name
kind: HelmRelease
4 changes: 4 additions & 0 deletions apps/stirling-pdf/namespace.yaml
Original file line number Diff line number Diff line change
@@ -0,0 +1,4 @@
apiVersion: v1
kind: Namespace
metadata:
name: stirling-pdf
31 changes: 31 additions & 0 deletions apps/stirling-pdf/release.yaml
Original file line number Diff line number Diff line change
@@ -0,0 +1,31 @@
---
apiVersion: helm.toolkit.fluxcd.io/v2beta1
kind: HelmRelease
metadata:
name: stirling-pdf
spec:
chart:
spec:
chart: stirling-pdf
version: "1.5.0"
sourceRef:
kind: HelmRepository
name: stirling-pdf
namespace: stirling-pdf
interval: 5m
interval: 5m
timeout: 20m
install:
timeout: 20m
disableWait: false
crds: CreateReplace
createNamespace: true
remediation:
retries: 3
upgrade:
timeout: 20m
disableWait: false
crds: CreateReplace
valuesFrom:
- kind: ConfigMap
name: values
7 changes: 7 additions & 0 deletions apps/stirling-pdf/repository.yaml
Original file line number Diff line number Diff line change
@@ -0,0 +1,7 @@
apiVersion: source.toolkit.fluxcd.io/v1beta2
kind: HelmRepository
metadata:
name: stirling-pdf
spec:
interval: 5m
url: https://stirling-tools.github.io/Stirling-PDF-chart
25 changes: 25 additions & 0 deletions apps/stirling-pdf/values.yaml
Original file line number Diff line number Diff line change
@@ -0,0 +1,25 @@
# Config reference: https://github.com/Stirling-Tools/Stirling-PDF-chart/tree/main/charts/stirling-pdf

kind: Deployment

resources:

ingress:
enabled: true
annotations:
cert-manager.io/cluster-issuer: letsencrypt-prod
reloader.homer/group: Ankh Cloud
reloader.homer/logo: https://stirlingpdf.io/favicon.svg
reloader.homer/name: Stirling PDF
reloader.homer/subtitle: PDF manipulation tool
labels:
probe: enabled
reloader.homer/enabled: "true"
hosts:
- name: pdf.krupa.net.pl
path: /
tls: true
tlsSecret: pdf.krupa.net.pl

serviceMonitor:
enabled: true
12 changes: 12 additions & 0 deletions base/flux-apps/stirling-pdf.yaml
Original file line number Diff line number Diff line change
@@ -0,0 +1,12 @@
apiVersion: kustomize.toolkit.fluxcd.io/v1
kind: Kustomization
metadata:
name: stirling-pdf
namespace: flux-apps
spec:
interval: 15m0s
path: ./apps/stirling-pdf
prune: true
sourceRef:
kind: GitRepository
name: ankhmorpork

0 comments on commit 34924e9

Please sign in to comment.