diff --git a/apps/privatebin/deployment.yaml b/apps/privatebin/deployment.yaml index 941a675..beeb566 100644 --- a/apps/privatebin/deployment.yaml +++ b/apps/privatebin/deployment.yaml @@ -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 @@ -76,4 +75,4 @@ spec: drop: - ALL seccompProfile: - type: RuntimeDefault \ No newline at end of file + type: RuntimeDefault diff --git a/apps/privatebin/kustomization.yaml b/apps/privatebin/kustomization.yaml index aaba80a..0e5fe18 100644 --- a/apps/privatebin/kustomization.yaml +++ b/apps/privatebin/kustomization.yaml @@ -1,5 +1,4 @@ resources: -- namespace.yaml - pvc.yaml - deployment.yaml - services.yaml diff --git a/apps/privatebin/namespace.yaml b/apps/privatebin/namespace.yaml deleted file mode 100644 index dee180d..0000000 --- a/apps/privatebin/namespace.yaml +++ /dev/null @@ -1,6 +0,0 @@ -kind: Namespace -apiVersion: v1 -metadata: - name: privatebin - labels: - name: privatebin \ No newline at end of file diff --git a/apps/privatebin/pvc.yaml b/apps/privatebin/pvc.yaml index 723d0ad..347ac21 100644 --- a/apps/privatebin/pvc.yaml +++ b/apps/privatebin/pvc.yaml @@ -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 \ No newline at end of file + storage: 5Gi + storageClassName: seaweedfs-storage diff --git a/apps/privatebin/secrets.sops.yaml b/apps/privatebin/secrets.sops.yaml index 1ff0b1f..90470a2 100644 --- a/apps/privatebin/secrets.sops.yaml +++ b/apps/privatebin/secrets.sops.yaml @@ -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] diff --git a/apps/privatebin/services.yaml b/apps/privatebin/services.yaml index 8d1da85..af3c45e 100644 --- a/apps/privatebin/services.yaml +++ b/apps/privatebin/services.yaml @@ -2,7 +2,6 @@ apiVersion: v1 kind: Service metadata: name: privatebin - namespace: privatebin spec: type: ClusterIP selector: