add redlib (formerly libreddit)
This commit is contained in:
parent
0c63a9682c
commit
90c65fceba
20
argocd-applications/base/redlib-application.yaml
Normal file
20
argocd-applications/base/redlib-application.yaml
Normal file
@ -0,0 +1,20 @@
|
|||||||
|
apiVersion: argoproj.io/v1alpha1
|
||||||
|
kind: Application
|
||||||
|
metadata:
|
||||||
|
name: argo-app-redlib
|
||||||
|
namespace: argocd
|
||||||
|
spec:
|
||||||
|
destination:
|
||||||
|
name: ''
|
||||||
|
namespace: default
|
||||||
|
server: https://kubernetes.default.svc
|
||||||
|
source:
|
||||||
|
path: redlib
|
||||||
|
repoURL: https://git.mziesel.nl/mans/argocd-test
|
||||||
|
targetRevision: HEAD
|
||||||
|
sources: []
|
||||||
|
project: default
|
||||||
|
syncPolicy:
|
||||||
|
automated:
|
||||||
|
prune: true
|
||||||
|
selfHeal: true
|
32
redlib/base/redlib-deployment.yaml
Normal file
32
redlib/base/redlib-deployment.yaml
Normal file
@ -0,0 +1,32 @@
|
|||||||
|
apiVersion: apps/v1
|
||||||
|
kind: Deployment
|
||||||
|
metadata:
|
||||||
|
name: redlib
|
||||||
|
namespace: redlib
|
||||||
|
spec:
|
||||||
|
replicas: 3
|
||||||
|
selector:
|
||||||
|
matchLabels:
|
||||||
|
app: redlib
|
||||||
|
template:
|
||||||
|
metadata:
|
||||||
|
labels:
|
||||||
|
app: redlib
|
||||||
|
spec:
|
||||||
|
containers:
|
||||||
|
- image: quay.io/redlib/redlib:latest
|
||||||
|
name: redlib
|
||||||
|
ports:
|
||||||
|
- name: web
|
||||||
|
containerPort: 80
|
||||||
|
env:
|
||||||
|
- name: REDLIB_DEFAULT_SHOW_NSFW
|
||||||
|
value: "on"
|
||||||
|
- name: REDLIB_DEFAULT_BLUR_NSFW
|
||||||
|
value: "off"
|
||||||
|
- name: REDLIB_DEFAULT_USE_HLS
|
||||||
|
value: "on"
|
||||||
|
- name: REDLIB_DEFAULT_HIDE_HLS_NOTIFICATION
|
||||||
|
value: "off"
|
||||||
|
- name: ROBOTS_DISABLE_INDEXING
|
||||||
|
value: "on"
|
12
redlib/base/redlib-ingress.yaml
Normal file
12
redlib/base/redlib-ingress.yaml
Normal file
@ -0,0 +1,12 @@
|
|||||||
|
apiVersion: traefik.io/v1alpha1
|
||||||
|
kind: IngressRoute
|
||||||
|
metadata:
|
||||||
|
name: redlib-ingressroute
|
||||||
|
spec:
|
||||||
|
routes:
|
||||||
|
- match: Host(`libreddit.mziesel.nl`)
|
||||||
|
kind: Rule
|
||||||
|
services:
|
||||||
|
- name: redlib
|
||||||
|
port: web
|
||||||
|
tls: {}
|
4
redlib/base/redlib-namespace.yaml
Normal file
4
redlib/base/redlib-namespace.yaml
Normal file
@ -0,0 +1,4 @@
|
|||||||
|
apiVersion: v1
|
||||||
|
kind: Namespace
|
||||||
|
metadata:
|
||||||
|
name: redlib
|
11
redlib/base/redlib-svc.yaml
Normal file
11
redlib/base/redlib-svc.yaml
Normal file
@ -0,0 +1,11 @@
|
|||||||
|
apiVersion: v1
|
||||||
|
kind: Service
|
||||||
|
metadata:
|
||||||
|
name: redlib
|
||||||
|
spec:
|
||||||
|
ports:
|
||||||
|
- name: web
|
||||||
|
port: 80
|
||||||
|
targetPort: web
|
||||||
|
selector:
|
||||||
|
app: redlib
|
10
redlib/kustomization.yaml
Normal file
10
redlib/kustomization.yaml
Normal file
@ -0,0 +1,10 @@
|
|||||||
|
apiVersion: kustomize.config.k8s.io/v1beta1
|
||||||
|
kind: Kustomization
|
||||||
|
|
||||||
|
namespace: redlib
|
||||||
|
|
||||||
|
resources:
|
||||||
|
- ./base/redlib-namespace.yaml
|
||||||
|
- ./base/redlib-deployment.yaml
|
||||||
|
- ./base/redlib-svc.yaml
|
||||||
|
- ./base/redlib-ingress.yaml
|
Loading…
Reference in New Issue
Block a user