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