Compare commits
2
Commits
9977e7a79a
...
b92c778244
| Author | SHA1 | Date | |
|---|---|---|---|
|
|
b92c778244 | ||
|
|
a80033c785 |
@@ -0,0 +1,45 @@
|
|||||||
|
apiVersion: apps/v1
|
||||||
|
kind: Deployment
|
||||||
|
metadata:
|
||||||
|
name: bentopdf
|
||||||
|
namespace: bentopdf
|
||||||
|
spec:
|
||||||
|
replicas: 1
|
||||||
|
selector:
|
||||||
|
matchLabels:
|
||||||
|
app.kubernetes.io/name: bentopdf
|
||||||
|
template:
|
||||||
|
metadata:
|
||||||
|
labels:
|
||||||
|
app.kubernetes.io/name: bentopdf
|
||||||
|
spec:
|
||||||
|
containers:
|
||||||
|
- image: ghcr.io/alam00000/bentopdf-simple:latest@sha256:3d62b8f8eece5fe947026ac3925ff08fda245b3d6ba2c3916b94da91e0010c74
|
||||||
|
livenessProbe:
|
||||||
|
httpGet:
|
||||||
|
path: /
|
||||||
|
port: http
|
||||||
|
name: bentopdf
|
||||||
|
ports:
|
||||||
|
- containerPort: 8080
|
||||||
|
name: http
|
||||||
|
readinessProbe:
|
||||||
|
httpGet:
|
||||||
|
path: /
|
||||||
|
port: http
|
||||||
|
resources:
|
||||||
|
limits:
|
||||||
|
cpu: 100m
|
||||||
|
memory: 128Mi
|
||||||
|
requests:
|
||||||
|
cpu: 10m
|
||||||
|
memory: 32Mi
|
||||||
|
securityContext:
|
||||||
|
allowPrivilegeEscalation: false
|
||||||
|
capabilities:
|
||||||
|
drop:
|
||||||
|
- ALL
|
||||||
|
securityContext:
|
||||||
|
runAsNonRoot: true
|
||||||
|
seccompProfile:
|
||||||
|
type: RuntimeDefault
|
||||||
@@ -3,8 +3,8 @@ kind: HTTPRoute
|
|||||||
metadata:
|
metadata:
|
||||||
annotations:
|
annotations:
|
||||||
argocd.argoproj.io/sync-wave: "2"
|
argocd.argoproj.io/sync-wave: "2"
|
||||||
name: stirling-pdf
|
name: bentopdf
|
||||||
namespace: stirling-pdf
|
namespace: bentopdf
|
||||||
spec:
|
spec:
|
||||||
hostnames:
|
hostnames:
|
||||||
- pdf.whyredfire.dev
|
- pdf.whyredfire.dev
|
||||||
@@ -15,8 +15,8 @@ spec:
|
|||||||
sectionName: websecure
|
sectionName: websecure
|
||||||
rules:
|
rules:
|
||||||
- backendRefs:
|
- backendRefs:
|
||||||
- name: anubis
|
- name: bentopdf
|
||||||
port: 80
|
port: 8080
|
||||||
matches:
|
matches:
|
||||||
- path:
|
- path:
|
||||||
type: PathPrefix
|
type: PathPrefix
|
||||||
@@ -1,6 +1,6 @@
|
|||||||
apiVersion: kustomize.config.k8s.io/v1beta1
|
apiVersion: kustomize.config.k8s.io/v1beta1
|
||||||
kind: Kustomization
|
kind: Kustomization
|
||||||
resources:
|
resources:
|
||||||
- anubis-key-sealedsecret.yaml
|
- deployment.yaml
|
||||||
- anubis-proxy.yaml
|
- service.yaml
|
||||||
- httproute.yaml
|
- httproute.yaml
|
||||||
@@ -0,0 +1,12 @@
|
|||||||
|
apiVersion: v1
|
||||||
|
kind: Service
|
||||||
|
metadata:
|
||||||
|
name: bentopdf
|
||||||
|
namespace: bentopdf
|
||||||
|
spec:
|
||||||
|
ports:
|
||||||
|
- name: http
|
||||||
|
port: 8080
|
||||||
|
targetPort: http
|
||||||
|
selector:
|
||||||
|
app.kubernetes.io/name: bentopdf
|
||||||
@@ -1,12 +0,0 @@
|
|||||||
apiVersion: bitnami.com/v1alpha1
|
|
||||||
kind: SealedSecret
|
|
||||||
metadata:
|
|
||||||
name: anubis-key
|
|
||||||
namespace: stirling-pdf
|
|
||||||
spec:
|
|
||||||
encryptedData:
|
|
||||||
ED25519_PRIVATE_KEY_HEX: AgA81eNBpnSj7I5hSRoZxhU+d3+7u8xM93SzO0eNbMJ448rgvDG+MHzmmLgIxXlE2Sf7OS98+Xwi29eePt9+EiMrhWV5tqgy+gKAFYq1SEEe9tkMn5Ie/rdBgAfdwgnerg2kjLLeRnqeJOaqrHXXcMuxUFM7nc0DwqHe5dLPqVysJGQy4dGzBo+QxvYJuQ7TPtDXEGdE41AchPcR/2UfV7dGH8pqldqlFSJlb0M4rj/2XvinHWEKzPb8mXOHQ+aaENgm4NHTMJ6wjFX1VrO+MAQ7Ktm4ttcF4U/7PMwpMjBF+MaPmdGhFxnENOTvLhV/qcHw3qEDzsEFCosbMAJ4UxqXi0DwdqHYdfsp6bus0xL7RLrQxQw0SQmSYL0Cy+S78/3uk4EhBthvfi/VcJw536WvxZZrzhVp1ItRn9nUWI/oh1iNHAlyXQbMkmWIGIDC8iXtvE0DVWa8Ui16X14dPAZg7z1BAbjPZ+oi1MjcO4kuqVoDknkrBJxMEMYTxtQ8nbqDsKbTA9kNLo0JCmHOiP9l3/4f6hVw/B8uB5O6O2Vionz5U0AsnrunLMNvfeYleaS9290m+msg6T/umr7BgrVNXUEkG3GfJZ3xt8urHNjwXb/ESG5T5JnPYIRdTcITLuzLSKul5lBL+4PT3zOdjt9G/XD6HootT+AN9DuvfebM08RtMIK1mpI3Gx2owcKHxICIdgV/oaIGpe1q0L21jDp5sd30wm/3rfr6eKq1zuDiObA6N6EHI/7224Xw0sUuN2GmnRJ6RA5BQSXwSdeGqdG3
|
|
||||||
template:
|
|
||||||
metadata:
|
|
||||||
name: anubis-key
|
|
||||||
namespace: stirling-pdf
|
|
||||||
@@ -1,52 +0,0 @@
|
|||||||
apiVersion: anubis.techaro.dev/v1alpha1
|
|
||||||
kind: AnubisProxy
|
|
||||||
metadata:
|
|
||||||
annotations:
|
|
||||||
argocd.argoproj.io/sync-wave: "1"
|
|
||||||
name: anubis
|
|
||||||
namespace: stirling-pdf
|
|
||||||
spec:
|
|
||||||
anubis:
|
|
||||||
envExtra:
|
|
||||||
- name: DIFFICULTY
|
|
||||||
value: "4"
|
|
||||||
- name: SERVE_ROBOTS_TXT
|
|
||||||
value: "true"
|
|
||||||
- name: OG_PASSTHROUGH
|
|
||||||
value: "true"
|
|
||||||
- name: OG_EXPIRY_TIME
|
|
||||||
value: 24h
|
|
||||||
- name: COOKIE_DOMAIN
|
|
||||||
value: pdf.whyredfire.dev
|
|
||||||
- name: REDIRECT_DOMAINS
|
|
||||||
value: pdf.whyredfire.dev
|
|
||||||
- name: COOKIE_PARTITIONED
|
|
||||||
value: "true"
|
|
||||||
- name: COOKIE_HTTP_ONLY
|
|
||||||
value: "true"
|
|
||||||
- name: COOKIE_SAME_SITE
|
|
||||||
value: Lax
|
|
||||||
- name: DIFFICULTY_IN_JWT
|
|
||||||
value: "true"
|
|
||||||
- name: SLOG_LEVEL
|
|
||||||
value: INFO
|
|
||||||
image:
|
|
||||||
tag: v1.26.2
|
|
||||||
keys:
|
|
||||||
existingSecret: anubis-key
|
|
||||||
metrics:
|
|
||||||
enabled: false
|
|
||||||
persistence:
|
|
||||||
enabled: false
|
|
||||||
resources:
|
|
||||||
limits:
|
|
||||||
memory: 128Mi
|
|
||||||
requests:
|
|
||||||
cpu: 50m
|
|
||||||
memory: 64Mi
|
|
||||||
networkPolicy:
|
|
||||||
enabled: true
|
|
||||||
target:
|
|
||||||
service:
|
|
||||||
name: stirling-pdf
|
|
||||||
port: 8080
|
|
||||||
@@ -0,0 +1,22 @@
|
|||||||
|
apiVersion: argoproj.io/v1alpha1
|
||||||
|
kind: Application
|
||||||
|
metadata:
|
||||||
|
annotations:
|
||||||
|
argocd.argoproj.io/sync-wave: "3"
|
||||||
|
name: bentopdf
|
||||||
|
namespace: argocd
|
||||||
|
spec:
|
||||||
|
destination:
|
||||||
|
namespace: bentopdf
|
||||||
|
server: https://kubernetes.default.svc
|
||||||
|
project: default
|
||||||
|
source:
|
||||||
|
path: apps/bentopdf
|
||||||
|
repoURL: https://gitea.whyredfire.dev/whyredfire/gitops.git
|
||||||
|
targetRevision: main
|
||||||
|
syncPolicy:
|
||||||
|
automated:
|
||||||
|
prune: true
|
||||||
|
selfHeal: true
|
||||||
|
syncOptions:
|
||||||
|
- CreateNamespace=true
|
||||||
@@ -2,6 +2,7 @@ apiVersion: kustomize.config.k8s.io/v1beta1
|
|||||||
kind: Kustomization
|
kind: Kustomization
|
||||||
resources:
|
resources:
|
||||||
- autoregexbot.yaml
|
- autoregexbot.yaml
|
||||||
|
- bentopdf.yaml
|
||||||
- betterslcm.yaml
|
- betterslcm.yaml
|
||||||
- garage.yaml
|
- garage.yaml
|
||||||
- garage-ui.yaml
|
- garage-ui.yaml
|
||||||
@@ -9,4 +10,3 @@ resources:
|
|||||||
- legislative-summarization.yaml
|
- legislative-summarization.yaml
|
||||||
- qbit.yaml
|
- qbit.yaml
|
||||||
- scriptscribe.yaml
|
- scriptscribe.yaml
|
||||||
- stirling-pdf.yaml
|
|
||||||
|
|||||||
@@ -1,40 +0,0 @@
|
|||||||
apiVersion: argoproj.io/v1alpha1
|
|
||||||
kind: Application
|
|
||||||
metadata:
|
|
||||||
annotations:
|
|
||||||
argocd.argoproj.io/sync-wave: "3"
|
|
||||||
name: stirling-pdf
|
|
||||||
namespace: argocd
|
|
||||||
spec:
|
|
||||||
destination:
|
|
||||||
namespace: stirling-pdf
|
|
||||||
server: https://kubernetes.default.svc
|
|
||||||
project: default
|
|
||||||
sources:
|
|
||||||
- chart: stirling-pdf-chart
|
|
||||||
helm:
|
|
||||||
values: |
|
|
||||||
fullnameOverride: stirling-pdf
|
|
||||||
persistence:
|
|
||||||
enabled: true
|
|
||||||
size: 512Mi
|
|
||||||
deployment:
|
|
||||||
extraVolumeMounts:
|
|
||||||
- name: storage-volume
|
|
||||||
mountPath: /configs
|
|
||||||
probes:
|
|
||||||
liveness:
|
|
||||||
initialDelaySeconds: 90
|
|
||||||
readiness:
|
|
||||||
initialDelaySeconds: 60
|
|
||||||
repoURL: https://docs.stirlingpdf.com/Stirling-PDF-chart
|
|
||||||
targetRevision: 3.1.0
|
|
||||||
- path: apps/stirling-pdf
|
|
||||||
repoURL: https://gitea.whyredfire.dev/whyredfire/gitops.git
|
|
||||||
targetRevision: main
|
|
||||||
syncPolicy:
|
|
||||||
automated:
|
|
||||||
prune: true
|
|
||||||
selfHeal: true
|
|
||||||
syncOptions:
|
|
||||||
- CreateNamespace=true
|
|
||||||
Reference in New Issue
Block a user