Guillaume B.B. Van Hemmen
d162d7651d
Introduced Kubernetes YAML configurations for deploying PrivateBin. This includes namespace, PVC, deployment, service, ingress, and a utility pod for data restoration. Updated README with instructions and added an MIT license file.
25 lines
634 B
YAML
25 lines
634 B
YAML
apiVersion: networking.k8s.io/v1
|
|
kind: Ingress
|
|
metadata:
|
|
namespace: privatebin
|
|
name: privatebin-ingress
|
|
annotations:
|
|
cert-manager.io/cluster-issuer: letsencrypt-production
|
|
external-dns.alpha.kubernetes.io/hostname: bin.van-hemmen.com
|
|
traefik.ingress.kubernetes.io/router.entrypoints: websecure
|
|
spec:
|
|
rules:
|
|
- host: bin.van-hemmen.com
|
|
http:
|
|
paths:
|
|
- path: /
|
|
pathType: Prefix
|
|
backend:
|
|
service:
|
|
name: app
|
|
port:
|
|
number: 80
|
|
tls:
|
|
- hosts:
|
|
- bin.van-hemmen.com
|
|
secretName: bin-web-tls
|