-
Notifications
You must be signed in to change notification settings - Fork 0
/
filebrowser
49 lines (48 loc) · 1.15 KB
/
filebrowser
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
apiVersion: apps/v1
kind: Deployment
metadata:
name: filebrowser-couchbase
spec:
replicas: 1
selector:
matchLabels:
webapp: netapp-filebrowser-couchbase
role: file-transfer-couchbase
template:
metadata:
labels:
webapp: netapp-filebrowser-couchbase
role: file-transfer-couchbase
spec:
securityContext:
fsGroup: 1000590000
containers:
- name: filebrowser #default login admin/admin
image: filebrowser/filebrowser
ports:
- containerPort: 80
volumeMounts:
- name: nfsvol
mountPath: /srv
volumes:
- name: nfsvol
persistentVolumeClaim:
claimName: basiccouchclone
---
apiVersion: v1
kind: Service
metadata:
name: filebrowser-service-couchbase
labels:
webapp: netapp-filebrowser-couchbase
role: file-transfer-couchbase
spec:
type: NodePort
ports:
# The port that this service serves on.
- port: 80
nodePort: 31176
# Label keys and values that must match in order to receive traffic for this service.
selector:
webapp: netapp-filebrowser-couchbase
role: file-transfer-couchbase