++nextcloud
This commit is contained in:
parent
c4407c0c7c
commit
8e028a9658
2 changed files with 24 additions and 0 deletions
|
@ -12,6 +12,11 @@ server {
|
||||||
ssl_certificate /etc/letsencrypt/live/{{ tpl .Values.fqdn . }}/fullchain.pem;
|
ssl_certificate /etc/letsencrypt/live/{{ tpl .Values.fqdn . }}/fullchain.pem;
|
||||||
ssl_certificate_key /etc/letsencrypt/live/{{ tpl .Values.fqdn . }}/privkey.pem;
|
ssl_certificate_key /etc/letsencrypt/live/{{ tpl .Values.fqdn . }}/privkey.pem;
|
||||||
|
|
||||||
|
# Increase timeouts -- mainly for initial setup
|
||||||
|
proxy_read_timeout 300;
|
||||||
|
proxy_send_timeout 300;
|
||||||
|
proxy_connect_timeout 300;
|
||||||
|
|
||||||
# HSTS settings
|
# HSTS settings
|
||||||
# WARNING: Only add the preload option once you read about
|
# WARNING: Only add the preload option once you read about
|
||||||
# the consequences in https://hstspreload.org/. This option
|
# the consequences in https://hstspreload.org/. This option
|
||||||
|
|
|
@ -91,6 +91,16 @@ spec:
|
||||||
secretKeyRef:
|
secretKeyRef:
|
||||||
name: {{ tpl .Values.identifier . }}-postgres-config
|
name: {{ tpl .Values.identifier . }}-postgres-config
|
||||||
key: POSTGRES_DB
|
key: POSTGRES_DB
|
||||||
|
- name: NEXTCLOUD_ADMIN_USER
|
||||||
|
valueFrom:
|
||||||
|
secretKeyRef:
|
||||||
|
name: {{ tpl .Values.identifier . }}-nextcloud
|
||||||
|
key: USERNAME
|
||||||
|
- name: NEXTCLOUD_ADMIN_PASSWORD
|
||||||
|
valueFrom:
|
||||||
|
secretKeyRef:
|
||||||
|
name: {{ tpl .Values.identifier . }}-nextcloud
|
||||||
|
key: PASSWORD
|
||||||
- name: POSTGRES_USER
|
- name: POSTGRES_USER
|
||||||
valueFrom:
|
valueFrom:
|
||||||
secretKeyRef:
|
secretKeyRef:
|
||||||
|
@ -225,3 +235,12 @@ metadata:
|
||||||
stringData:
|
stringData:
|
||||||
POSTGRES_USER: "postgres"
|
POSTGRES_USER: "postgres"
|
||||||
POSTGRES_DB: "nextcloud"
|
POSTGRES_DB: "nextcloud"
|
||||||
|
---
|
||||||
|
apiVersion: v1
|
||||||
|
kind: Secret
|
||||||
|
metadata:
|
||||||
|
name: {{ tpl .Values.identifier . }}-nextcloud
|
||||||
|
annotations:
|
||||||
|
secret-generator.v1.mittwald.de/autogenerate: PASSWORD
|
||||||
|
stringData:
|
||||||
|
USERNAME: "nextcloud"
|
||||||
|
|
Loading…
Reference in a new issue