Try and try again
This commit is contained in:
parent
0dd99c0cd3
commit
57af90c97c
|
@ -24,13 +24,25 @@ spec:
|
||||||
- name: customer
|
- name: customer
|
||||||
image: docker.sunet.se/drive/nextcloud-custom:25.0.3.3-4
|
image: docker.sunet.se/drive/nextcloud-custom:25.0.3.3-4
|
||||||
volumeMounts:
|
volumeMounts:
|
||||||
- name: server-storage
|
|
||||||
mountPath: /var/www/html
|
|
||||||
subPath: server-data
|
|
||||||
- name: nextcloud-config
|
- name: nextcloud-config
|
||||||
mountPath: /var/www/html/config
|
mountPath: /var/www/html/config/config.php
|
||||||
|
subPath: config.php
|
||||||
|
initContainers:
|
||||||
|
- image: docker.sunet.se/sunet/docker-jinja:latest
|
||||||
|
name: init-config
|
||||||
|
volumeMounts:
|
||||||
|
- name: nextcloud-config-template
|
||||||
|
mountPath: /tmp/config.php.template
|
||||||
|
subPath: config.php
|
||||||
|
- name: nextcloud-config
|
||||||
|
mountPath: /var/www/html/config/config.php
|
||||||
subPath: config.php
|
subPath: config.php
|
||||||
env:
|
env:
|
||||||
|
- name: ADMIN_PASSWORD
|
||||||
|
valueFrom:
|
||||||
|
secretKeyRef:
|
||||||
|
name: proxysql-secret
|
||||||
|
key: "proxysql_admin_password"
|
||||||
- name: GSS_MASTER_URL
|
- name: GSS_MASTER_URL
|
||||||
value: "https://drive.test.sunet.se"
|
value: "https://drive.test.sunet.se"
|
||||||
- name: GSS_JWT_KEY
|
- name: GSS_JWT_KEY
|
||||||
|
@ -123,22 +135,7 @@ spec:
|
||||||
key: "redis_password"
|
key: "redis_password"
|
||||||
- name: SITE_NAME
|
- name: SITE_NAME
|
||||||
value: "customer.drive.test.sunet.se"
|
value: "customer.drive.test.sunet.se"
|
||||||
initContainers:
|
command: ["/bin/sh", "-c", "/usr/bin/j2 -f env -o /var/www/html/config/config.php /tmp/config.php.template"]
|
||||||
- image: docker.sunet.se/sunet/docker-jinja:latest
|
|
||||||
name: init-config
|
|
||||||
volumeMounts:
|
|
||||||
- name: nextcloud-config-template
|
|
||||||
mountPath: /tmp/config.php.template
|
|
||||||
subPath: config.php
|
|
||||||
- name: nextcloud-config
|
|
||||||
mountPath: /var/www/html/config
|
|
||||||
subPath: config.php
|
|
||||||
env:
|
|
||||||
- name: ADMIN_PASSWORD
|
|
||||||
valueFrom:
|
|
||||||
secretKeyRef:
|
|
||||||
name: proxysql-secret
|
|
||||||
key: "proxysql_admin_password"
|
|
||||||
volumes:
|
volumes:
|
||||||
- name: nextcloud-config-template
|
- name: nextcloud-config-template
|
||||||
configMap:
|
configMap:
|
||||||
|
|
|
@ -6,10 +6,13 @@ metadata:
|
||||||
labels:
|
labels:
|
||||||
app: customer-node
|
app: customer-node
|
||||||
spec:
|
spec:
|
||||||
template:
|
replicas: 1
|
||||||
|
selector:
|
||||||
|
matchLabels:
|
||||||
|
app: customer-node
|
||||||
spec:
|
spec:
|
||||||
containers:
|
initContainers:
|
||||||
- name: customer-node
|
- name: init-config
|
||||||
env:
|
env:
|
||||||
- name: GSS_MASTER_URL
|
- name: GSS_MASTER_URL
|
||||||
value: "https://drive.test.sunet.se"
|
value: "https://drive.test.sunet.se"
|
||||||
|
@ -19,18 +22,9 @@ spec:
|
||||||
value: "drive.test.sunet.se"
|
value: "drive.test.sunet.se"
|
||||||
- name: MAIL_SMTPNAME
|
- name: MAIL_SMTPNAME
|
||||||
value: "noreply@drive.test.sunet.se"
|
value: "noreply@drive.test.sunet.se"
|
||||||
- name: MYSQL_DATABASE
|
|
||||||
value: "vr_nextcloud"
|
|
||||||
- name: MYSQL_USER
|
|
||||||
value: "vr_nextcloud"
|
|
||||||
- name: NEXTCLOUD_TRUSTED_DOMAINS
|
- name: NEXTCLOUD_TRUSTED_DOMAINS
|
||||||
value: "vr.drive.test.sunet.se"
|
value: "customer.drive.test.sunet.se"
|
||||||
- name: NEXTCLOUD_VERSION_STRING
|
|
||||||
value: "25.0.3.3"
|
|
||||||
- name: OBJECTSTORE_S3_BUCKET
|
- name: OBJECTSTORE_S3_BUCKET
|
||||||
value: "primary-vr-drive-test.sunet.se"
|
value: "primary-vr-drive-test.sunet.se"
|
||||||
- name: SITE_NAME
|
- name: SITE_NAME
|
||||||
value: "vr.drive.test.sunet.se"
|
value: "vr.drive.test.sunet.se"
|
||||||
resources: {}
|
|
||||||
strategy: {}
|
|
||||||
status: {}
|
|
||||||
|
|
Loading…
Reference in a new issue