45 lines
891 B
YAML
45 lines
891 B
YAML
name: privatebin
|
|
replicas: 1
|
|
image:
|
|
repository: privatebin/nginx-fpm-alpine
|
|
imagePullPolicy: Always
|
|
tag: 1.6.0
|
|
ports:
|
|
- containerPort: 8080
|
|
protocol: TCP
|
|
name: tcp8080
|
|
volumeMounts:
|
|
- name: data
|
|
mountPath: /srv/data
|
|
subPath: privatebin/data
|
|
- name: data
|
|
mountPath: /srv/cfg
|
|
subPath: privatebin/cfg
|
|
volumes:
|
|
- name: data
|
|
persistentVolumeClaim:
|
|
claimName: cephfs-privatebin
|
|
ingress:
|
|
enabled: true
|
|
annotations:
|
|
kubernetes.io/ingress.class: traefik
|
|
cert-manager.io/cluster-issuer: letsencrypt-prod
|
|
hosts:
|
|
- host: paste.linux-help.org
|
|
paths:
|
|
- path: /
|
|
pathType: Prefix
|
|
port: 8080
|
|
tls:
|
|
- secretName: paste-linux-help.org-tls
|
|
hosts:
|
|
- paste.linux-help.org
|
|
pvc:
|
|
enabled: true
|
|
name: cephfs-privatebin
|
|
storageClassName: cephfs
|
|
size: 2Gi
|
|
accessModes:
|
|
- ReadWriteMany
|
|
|