apps(privatebin): Moved to default namespace, replicas to 2, and moved storage to seaweedfs-storage

This commit is contained in:
2025-06-30 09:18:07 -04:00
parent feabc1f16f
commit a119072dc7
6 changed files with 8 additions and 18 deletions

View File

@@ -2,11 +2,10 @@ apiVersion: apps/v1
kind: Deployment
metadata:
name: privatebin
namespace: privatebin
labels:
app.kubernetes.io/name: privatebin
spec:
replicas: 3
replicas: 2
selector:
matchLabels:
app.kubernetes.io/name: privatebin
@@ -18,7 +17,7 @@ spec:
volumes:
- name: privatebin-data
persistentVolumeClaim:
claimName: privatebin-data-yuyuko-pvc
claimName: privatebin-data-pvc
containers:
- image: privatebin/nginx-fpm-alpine:1.7.8
name: privatebin

View File

@@ -1,5 +1,4 @@
resources:
- namespace.yaml
- pvc.yaml
- deployment.yaml
- services.yaml

View File

@@ -1,6 +0,0 @@
kind: Namespace
apiVersion: v1
metadata:
name: privatebin
labels:
name: privatebin

View File

@@ -1,12 +1,12 @@
---
apiVersion: v1
kind: PersistentVolumeClaim
metadata:
name: privatebin-data-yuyuko-pvc
namespace: privatebin
name: privatebin-data-pvc
spec:
accessModes:
- ReadWriteMany
storageClassName: s3yuyuko
- ReadWriteOnce
resources:
requests:
storage: 5Gi
storageClassName: seaweedfs-storage

View File

@@ -2,7 +2,6 @@ apiVersion: v1
kind: Secret
metadata:
name: anubis-key
namespace: privatebin
type: Opaque
data:
ED25519_PRIVATE_KEY_HEX: ENC[AES256_GCM,data:DBMXjeG7KguofrBF8wFRZoplFKhsxRGvWAXga5QJkhYn4HNF6WvFr8dkCww7Z6qpqdskKqBQqBiYq6OgTe5f55or9sWeO5XwKprjTUYYJ+/Yxvg1MBMlSg==,iv:MfK068uL94QNPlh62FNjBMK26M6Uig9yWvHRLpmEASE=,tag:0w4OMh/KcWsK5n4xnkLzaw==,type:str]

View File

@@ -2,7 +2,6 @@ apiVersion: v1
kind: Service
metadata:
name: privatebin
namespace: privatebin
spec:
type: ClusterIP
selector: