Config generation
This commit is contained in:
parent
f0e0d7ffcc
commit
12a9d898da
|
@ -28,6 +28,9 @@ spec:
|
||||||
- name: server-storage
|
- name: server-storage
|
||||||
mountPath: /var/www/html
|
mountPath: /var/www/html
|
||||||
subPath: server-data
|
subPath: server-data
|
||||||
|
- name: nextcloud-config
|
||||||
|
mountPath: /var/www/html/config
|
||||||
|
subPath: config.php
|
||||||
env:
|
env:
|
||||||
- name: GSS_MASTER_URL
|
- name: GSS_MASTER_URL
|
||||||
value: "https://drive.test.sunet.se"
|
value: "https://drive.test.sunet.se"
|
||||||
|
@ -121,6 +124,29 @@ 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:
|
||||||
|
- 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:
|
||||||
|
- name: nextcloud-config-template
|
||||||
|
configMap:
|
||||||
|
name: nextcloud-configmap
|
||||||
|
items:
|
||||||
|
- key: "config.php"
|
||||||
|
path: "config.php"
|
||||||
resources: {}
|
resources: {}
|
||||||
strategy: {}
|
strategy: {}
|
||||||
status: {}
|
status: {}
|
||||||
|
|
Loading…
Reference in a new issue