add stirling-pdf
This commit is contained in:
parent
55fc1ece4a
commit
c4ab4fb6fc
20
argocd-applications/base/stirling-pdf-application.yaml
Normal file
20
argocd-applications/base/stirling-pdf-application.yaml
Normal file
@ -0,0 +1,20 @@
|
||||
apiVersion: argoproj.io/v1alpha1
|
||||
kind: Application
|
||||
metadata:
|
||||
name: argo-app-stirling-pdf
|
||||
namespace: argocd
|
||||
spec:
|
||||
destination:
|
||||
name: ''
|
||||
namespace: default
|
||||
server: https://kubernetes.default.svc
|
||||
source:
|
||||
path: stirling-pdf
|
||||
repoURL: https://git.mziesel.nl/mans/argocd-test
|
||||
targetRevision: HEAD
|
||||
sources: []
|
||||
project: default
|
||||
syncPolicy:
|
||||
automated:
|
||||
prune: true
|
||||
selfHeal: true
|
@ -23,3 +23,4 @@ resources:
|
||||
- ./base/awx-application.yaml
|
||||
- ./base/backstage-application.yaml
|
||||
- ./base/smokeping-application.yaml
|
||||
- ./base/stirling-pdf-application.yaml
|
||||
|
23
stirling-pdf/base/stirling-pdf-deployment.yaml
Normal file
23
stirling-pdf/base/stirling-pdf-deployment.yaml
Normal file
@ -0,0 +1,23 @@
|
||||
apiVersion: apps/v1
|
||||
kind: Deployment
|
||||
metadata:
|
||||
name: stirling-pdf
|
||||
namespace: stirling-pdf
|
||||
spec:
|
||||
replicas: 1
|
||||
selector:
|
||||
matchLabels:
|
||||
app: stirling-pdf
|
||||
template:
|
||||
metadata:
|
||||
labels:
|
||||
app: stirling-pdf
|
||||
spec:
|
||||
containers:
|
||||
- image: stirlingtools/stirling-pdf:0.45.0@sha256:fdeb7410e64f3d0d34278848b017d59da210978aded8877e13e77b104ef11132
|
||||
name: stirling-pdf
|
||||
ports:
|
||||
- name: web
|
||||
containerPort: 8080
|
||||
env:
|
||||
DOCKER_ENABLE_SECURITY: false
|
12
stirling-pdf/base/stirling-pdf-ingress.yaml
Normal file
12
stirling-pdf/base/stirling-pdf-ingress.yaml
Normal file
@ -0,0 +1,12 @@
|
||||
apiVersion: traefik.io/v1alpha1
|
||||
kind: IngressRoute
|
||||
metadata:
|
||||
name: stirling-pdf-ingressroute
|
||||
spec:
|
||||
routes:
|
||||
- match: Host(`pdf.mziesel.nl`) || Host(`pdf.k8s.mziesel.nl`)
|
||||
kind: Rule
|
||||
services:
|
||||
- name: stirling-pdf
|
||||
port: web
|
||||
tls: {}
|
4
stirling-pdf/base/stirling-pdf-namespace.yaml
Normal file
4
stirling-pdf/base/stirling-pdf-namespace.yaml
Normal file
@ -0,0 +1,4 @@
|
||||
apiVersion: v1
|
||||
kind: Namespace
|
||||
metadata:
|
||||
name: stirling-pdf
|
11
stirling-pdf/base/stirling-pdf-svc.yaml
Normal file
11
stirling-pdf/base/stirling-pdf-svc.yaml
Normal file
@ -0,0 +1,11 @@
|
||||
apiVersion: v1
|
||||
kind: Service
|
||||
metadata:
|
||||
name: stirling-pdf
|
||||
spec:
|
||||
ports:
|
||||
- name: web
|
||||
port: 80
|
||||
targetPort: web
|
||||
selector:
|
||||
app: stirling-pdf
|
10
stirling-pdf/kustomization.yaml
Normal file
10
stirling-pdf/kustomization.yaml
Normal file
@ -0,0 +1,10 @@
|
||||
apiVersion: kustomize.config.k8s.io/v1beta1
|
||||
kind: Kustomization
|
||||
|
||||
namespace: stirling-pdf
|
||||
|
||||
resources:
|
||||
- ./base/stirling-pdf-namespace.yaml
|
||||
- ./base/stirling-pdf-deployment.yaml
|
||||
- ./base/stirling-pdf-svc.yaml
|
||||
- ./base/stirling-pdf-ingress.yaml
|
Loading…
x
Reference in New Issue
Block a user