3 Commits

Author SHA1 Message Date
renovate 5fbd4ab5dd Update rancher/mirrored-library-traefik Docker tag to v3 2026-05-15 03:15:18 +00:00
AverageMarcus 18917ae78d Fix liveness probe
Signed-off-by: Marcus Noble <github@marcusnoble.co.uk>
2026-05-14 07:42:43 +01:00
AverageMarcus 2cf9b56629 Added PairDrop
Signed-off-by: Marcus Noble <github@marcusnoble.co.uk>
2026-05-14 07:40:55 +01:00
3 changed files with 114 additions and 1 deletions
+25
View File
@@ -0,0 +1,25 @@
apiVersion: argoproj.io/v1alpha1
kind: Application
metadata:
name: pairdrop
namespace: argocd
finalizers:
- resources-finalizer.argocd.argoproj.io
spec:
project: cluster.fun
destination:
namespace: pairdrop
name: cluster-fun (v2)
source:
path: manifests/pairdrop
repoURL: "https://git.cluster.fun/AverageMarcus/cluster.fun.git"
targetRevision: HEAD
syncPolicy:
automated: {}
syncOptions:
- CreateNamespace=true
ignoreDifferences:
- kind: Secret
jsonPointers:
- /data
+88
View File
@@ -0,0 +1,88 @@
apiVersion: v1
kind: Service
metadata:
name: pairdrop
namespace: pairdrop
spec:
type: ClusterIP
ports:
- port: 80
targetPort: web
name: web
selector:
app: pairdrop
---
apiVersion: apps/v1
kind: Deployment
metadata:
name: pairdrop
namespace: pairdrop
spec:
replicas: 1
selector:
matchLabels:
app: pairdrop
template:
metadata:
labels:
app: pairdrop
spec:
imagePullSecrets:
- name: docker-config
priorityClassName: low
containers:
- name: web
image: ghcr.io/schlagmichdoch/pairdrop:v1.11.2
imagePullPolicy: IfNotPresent
ports:
- containerPort: 3000
name: web
env:
- name: RATE_LIMIT
value: "1"
- name: DONATION_BUTTON_ACTIVE
value: "false"
- name: TWITTER_BUTTON_ACTIVE
value: "false"
- name: MASTODON_BUTTON_ACTIVE
value: "false"
- name: BLUESKY_BUTTON_ACTIVE
value: "false"
- name: PRIVACYPOLICY_BUTTON_ACTIVE
value: "false"
resources:
limits:
memory: 100Mi
requests:
memory: 100Mi
livenessProbe:
httpGet:
path: /
port: web
---
apiVersion: networking.k8s.io/v1
kind: Ingress
metadata:
name: pairdrop
namespace: pairdrop
annotations:
cert-manager.io/cluster-issuer: letsencrypt
ingress.kubernetes.io/ssl-redirect: "true"
nginx.ingress.kubernetes.io/force-ssl-redirect: "true"
spec:
ingressClassName: nginx
tls:
- hosts:
- drop.cluster.fun
secretName: pairdrop-ingress
rules:
- host: drop.cluster.fun
http:
paths:
- path: /
pathType: ImplementationSpecific
backend:
service:
name: pairdrop
port:
number: 80
+1 -1
View File
@@ -45,7 +45,7 @@ spec:
- --entrypoints.websecure.http.tls=true
- --entrypoints.web.http.redirections.entrypoint.to=websecure
- --entrypoints.web.http.redirections.entrypoint.scheme=https
image: rancher/mirrored-library-traefik:2.11.42
image: rancher/mirrored-library-traefik:3.6.13
imagePullPolicy: IfNotPresent
livenessProbe:
failureThreshold: 3