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 kind: Deployment
metadata: metadata:
name: privatebin name: privatebin
namespace: privatebin
labels: labels:
app.kubernetes.io/name: privatebin app.kubernetes.io/name: privatebin
spec: spec:
replicas: 3 replicas: 2
selector: selector:
matchLabels: matchLabels:
app.kubernetes.io/name: privatebin app.kubernetes.io/name: privatebin
@@ -18,7 +17,7 @@ spec:
volumes: volumes:
- name: privatebin-data - name: privatebin-data
persistentVolumeClaim: persistentVolumeClaim:
claimName: privatebin-data-yuyuko-pvc claimName: privatebin-data-pvc
containers: containers:
- image: privatebin/nginx-fpm-alpine:1.7.8 - image: privatebin/nginx-fpm-alpine:1.7.8
name: privatebin name: privatebin
@@ -76,4 +75,4 @@ spec:
drop: drop:
- ALL - ALL
seccompProfile: seccompProfile:
type: RuntimeDefault type: RuntimeDefault

View File

@@ -1,5 +1,4 @@
resources: resources:
- namespace.yaml
- pvc.yaml - pvc.yaml
- deployment.yaml - deployment.yaml
- services.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 apiVersion: v1
kind: PersistentVolumeClaim kind: PersistentVolumeClaim
metadata: metadata:
name: privatebin-data-yuyuko-pvc name: privatebin-data-pvc
namespace: privatebin
spec: spec:
accessModes: accessModes:
- ReadWriteMany - ReadWriteOnce
storageClassName: s3yuyuko
resources: resources:
requests: requests:
storage: 5Gi storage: 5Gi
storageClassName: seaweedfs-storage

View File

@@ -2,7 +2,6 @@ apiVersion: v1
kind: Secret kind: Secret
metadata: metadata:
name: anubis-key name: anubis-key
namespace: privatebin
type: Opaque type: Opaque
data: data:
ED25519_PRIVATE_KEY_HEX: ENC[AES256_GCM,data:DBMXjeG7KguofrBF8wFRZoplFKhsxRGvWAXga5QJkhYn4HNF6WvFr8dkCww7Z6qpqdskKqBQqBiYq6OgTe5f55or9sWeO5XwKprjTUYYJ+/Yxvg1MBMlSg==,iv:MfK068uL94QNPlh62FNjBMK26M6Uig9yWvHRLpmEASE=,tag:0w4OMh/KcWsK5n4xnkLzaw==,type:str] 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 kind: Service
metadata: metadata:
name: privatebin name: privatebin
namespace: privatebin
spec: spec:
type: ClusterIP type: ClusterIP
selector: selector: