55 lines
1.4 KiB
YAML
55 lines
1.4 KiB
YAML
---
|
|
kind: Deployment
|
|
apiVersion: apps/v1
|
|
metadata:
|
|
name: vr-node
|
|
namespace: vr
|
|
labels:
|
|
app: vr-node
|
|
spec:
|
|
replicas: 1
|
|
selector:
|
|
matchLabels:
|
|
app: vr-node
|
|
template:
|
|
metadata:
|
|
creationTimestamp:
|
|
labels:
|
|
app: vr-node
|
|
spec:
|
|
volumes:
|
|
- name: server-storage
|
|
persistentVolumeClaim:
|
|
claimName: vr-shared-storage-claim
|
|
containers:
|
|
- name: vr
|
|
image: docker.sunet.se/drive/nextcloud-custom:25.0.3.3-4
|
|
volumeMounts:
|
|
- name: server-storage
|
|
mountPath: /var/www/html
|
|
subPath: server-data
|
|
env:
|
|
- name: GSS_MASTER_URL
|
|
value: "https://drive.test.sunet.se"
|
|
- name: LOOKUP_SERVER
|
|
value: "https://lookup.drive.test.sunet.se"
|
|
- name: MAIL_DOMAIN
|
|
value: "drive.test.sunet.se"
|
|
- name: MAIL_SMTPNAME
|
|
value: "noreply@drive.test.sunet.se"
|
|
- name: MYSQL_DATABASE
|
|
value: "vr_nextcloud"
|
|
- name: MYSQL_USER
|
|
value: "vr_nextcloud"
|
|
- name: NEXTCLOUD_TRUSTED_DOMAINS
|
|
value: "vr.drive.test.sunet.se"
|
|
- name: NEXTCLOUD_VERSION_STRING
|
|
value: "25.0.3.3"
|
|
- name: OBJECTSTORE_S3_BUCKET
|
|
value: "primary-vr-drive-test.sunet.se"
|
|
- name: SITE_NAME
|
|
value: "vr.drive.test.sunet.se"
|
|
resources: {}
|
|
strategy: {}
|
|
status: {}
|