webdav
This commit is contained in:
parent
4896336043
commit
d03b2848bd
@ -48,3 +48,35 @@ spec:
|
||||
name: downloads
|
||||
- mountPath: /watch
|
||||
name: watch
|
||||
---
|
||||
apiVersion: apps/v1
|
||||
kind: Deployment
|
||||
metadata:
|
||||
name: webdav
|
||||
spec:
|
||||
selector:
|
||||
matchLabels:
|
||||
app: webdav
|
||||
template:
|
||||
metadata:
|
||||
labels:
|
||||
app: webdav
|
||||
spec:
|
||||
volumes:
|
||||
- name: file
|
||||
hostPath:
|
||||
path: /data/transmission/downloads
|
||||
containers:
|
||||
- name: webdav
|
||||
image: bytemark/webdav
|
||||
resources:
|
||||
limits:
|
||||
memory: "64Mi"
|
||||
cpu: "100m"
|
||||
ports:
|
||||
- containerPort: 80
|
||||
envFrom:
|
||||
- configMapRef:
|
||||
name: webdav
|
||||
- secretRef:
|
||||
name: webdav
|
||||
|
@ -15,6 +15,14 @@ configMapGenerator:
|
||||
- config/USER
|
||||
- config/PGID
|
||||
- config/PUID
|
||||
- name: webdav
|
||||
files:
|
||||
- config/AUTH_TYPE
|
||||
- config/USERNAME
|
||||
secretGenerator:
|
||||
- name: webdav
|
||||
files:
|
||||
- config/PASSWORD
|
||||
images:
|
||||
- name: <Image>
|
||||
newName: linuxserver/transmission
|
||||
|
@ -19,3 +19,19 @@ spec:
|
||||
targetPort: s
|
||||
protocol: TCP
|
||||
name: torrent
|
||||
---
|
||||
apiVersion: v1
|
||||
kind: Service
|
||||
metadata:
|
||||
name: webdav
|
||||
spec:
|
||||
selector:
|
||||
app: webdav
|
||||
ports:
|
||||
- port: 9092
|
||||
targetPort: 80
|
||||
type: LoadBalancer
|
||||
ipFamilyPolicy: PreferDualStack
|
||||
ipFamilies:
|
||||
- IPv4
|
||||
- IPv6
|
Loading…
Reference in New Issue
Block a user