|
@@ -3,7 +3,7 @@ apiVersion: apps/v1
|
|
|
kind: Deployment
|
|
kind: Deployment
|
|
|
metadata:
|
|
metadata:
|
|
|
name: copyparty
|
|
name: copyparty
|
|
|
- namespace: copyparty
|
|
|
|
|
|
|
+ namespace: plex
|
|
|
spec:
|
|
spec:
|
|
|
strategy:
|
|
strategy:
|
|
|
type: Recreate
|
|
type: Recreate
|
|
@@ -27,7 +27,8 @@ spec:
|
|
|
name: http-web-svc
|
|
name: http-web-svc
|
|
|
volumeMounts:
|
|
volumeMounts:
|
|
|
- mountPath: "/w"
|
|
- mountPath: "/w"
|
|
|
- name: copyparty
|
|
|
|
|
|
|
+ name: data
|
|
|
|
|
+ subPath: copyparty
|
|
|
- name: accounts
|
|
- name: accounts
|
|
|
mountPath: /cfg/accounts.conf
|
|
mountPath: /cfg/accounts.conf
|
|
|
subPath: accounts.conf
|
|
subPath: accounts.conf
|
|
@@ -35,9 +36,6 @@ spec:
|
|
|
mountPath: /cfg/default.conf
|
|
mountPath: /cfg/default.conf
|
|
|
subPath: default.conf
|
|
subPath: default.conf
|
|
|
volumes:
|
|
volumes:
|
|
|
- - name: copyparty
|
|
|
|
|
- persistentVolumeClaim:
|
|
|
|
|
- claimName: copyparty-pvc
|
|
|
|
|
- name: config-default
|
|
- name: config-default
|
|
|
configMap:
|
|
configMap:
|
|
|
name: copyparty-config
|
|
name: copyparty-config
|
|
@@ -48,12 +46,15 @@ spec:
|
|
|
- name: accounts
|
|
- name: accounts
|
|
|
secret:
|
|
secret:
|
|
|
secretName: copyparty-accounts
|
|
secretName: copyparty-accounts
|
|
|
|
|
+ - name: data
|
|
|
|
|
+ persistentVolumeClaim:
|
|
|
|
|
+ claimName: data-ec-pvc
|
|
|
---
|
|
---
|
|
|
apiVersion: v1
|
|
apiVersion: v1
|
|
|
kind: ConfigMap
|
|
kind: ConfigMap
|
|
|
metadata:
|
|
metadata:
|
|
|
name: copyparty-config
|
|
name: copyparty-config
|
|
|
- namespace: copyparty
|
|
|
|
|
|
|
+ namespace: plex
|
|
|
data:
|
|
data:
|
|
|
default.conf: |
|
|
default.conf: |
|
|
|
[global]
|
|
[global]
|
|
@@ -123,7 +124,7 @@ apiVersion: v1
|
|
|
kind: Service
|
|
kind: Service
|
|
|
metadata:
|
|
metadata:
|
|
|
name: copyparty-service
|
|
name: copyparty-service
|
|
|
- namespace: copyparty
|
|
|
|
|
|
|
+ namespace: plex
|
|
|
spec:
|
|
spec:
|
|
|
selector:
|
|
selector:
|
|
|
app: copyparty
|
|
app: copyparty
|
|
@@ -138,7 +139,7 @@ apiVersion: networking.k8s.io/v1
|
|
|
kind: Ingress
|
|
kind: Ingress
|
|
|
metadata:
|
|
metadata:
|
|
|
name: copyparty
|
|
name: copyparty
|
|
|
- namespace: copyparty
|
|
|
|
|
|
|
+ namespace: plex
|
|
|
annotations:
|
|
annotations:
|
|
|
traefik.ingress.kubernetes.io/router.entrypoints: websecure
|
|
traefik.ingress.kubernetes.io/router.entrypoints: websecure
|
|
|
spec:
|
|
spec:
|
|
@@ -158,7 +159,7 @@ apiVersion: external-secrets.io/v1
|
|
|
kind: ExternalSecret
|
|
kind: ExternalSecret
|
|
|
metadata:
|
|
metadata:
|
|
|
name: copyparty-accounts
|
|
name: copyparty-accounts
|
|
|
- namespace: copyparty
|
|
|
|
|
|
|
+ namespace: plex
|
|
|
spec:
|
|
spec:
|
|
|
target:
|
|
target:
|
|
|
name: copyparty-accounts
|
|
name: copyparty-accounts
|