39 lines
943 B
YAML
39 lines
943 B
YAML
|
apiVersion: apps/v1
|
||
|
kind: Deployment
|
||
|
metadata:
|
||
|
name: ocis
|
||
|
spec:
|
||
|
replicas: 1
|
||
|
selector:
|
||
|
matchLabels:
|
||
|
app: ocis
|
||
|
template:
|
||
|
metadata:
|
||
|
labels:
|
||
|
app: ocis
|
||
|
spec:
|
||
|
containers:
|
||
|
- name: ocis
|
||
|
image: owncloud/ocis
|
||
|
ports:
|
||
|
- containerPort: 9200
|
||
|
env:
|
||
|
- name: IDM_CREATE_DEMO_USERS
|
||
|
value: "true"
|
||
|
- name: INSECURE
|
||
|
value: "true"
|
||
|
- name: OCIS_JWT_SECRET
|
||
|
value: "Something_random_not_normal"
|
||
|
- name: STORAGE_TRANSFER_SECRET
|
||
|
value: "Something_very_secure"
|
||
|
- name: OCIS_MACHINE_AUTH_API_KEY
|
||
|
value: "A_very_random_api_key"
|
||
|
volumeMounts:
|
||
|
- name: mnt
|
||
|
mountPath: /etc/ocis/ocis.yaml
|
||
|
subPath: ocis-config
|
||
|
volumes:
|
||
|
- name: mnt
|
||
|
configMap:
|
||
|
name: ocis-cfmap
|