add short names
add publish conditions for services use official gitea helm chart
This commit is contained in:
@ -1,10 +1,11 @@
|
||||
nextcloud_enabled: true
|
||||
nextcloud_publish: false
|
||||
nextcloud_use_external_db: true
|
||||
nextcloud_short_name: "nextcloud"
|
||||
nextcloud_default_values:
|
||||
image:
|
||||
repository: nextcloud
|
||||
tag: 19.0-apache
|
||||
tag: 20.0-apache
|
||||
pullPolicy: Always
|
||||
replicaCount: 1
|
||||
ingress:
|
||||
@ -43,11 +44,11 @@ nextcloud_default_values:
|
||||
deny all;
|
||||
}
|
||||
tls:
|
||||
- secretName: "nextcloud.{{ domain }}-tls"
|
||||
- secretName: "{{ nextcloud_short_name }}.{{ domain }}-tls"
|
||||
hosts:
|
||||
- "nextcloud.{{ domain }}"
|
||||
- "{{ nextcloud_short_name }}.{{ domain }}"
|
||||
nextcloud:
|
||||
host: "nextcloud.{{ domain }}"
|
||||
host: "{{ nextcloud_short_name }}.{{ domain }}"
|
||||
username: admin
|
||||
password: "{{ nextcloud_pass | default(nextcloud_password) }}"
|
||||
update: 0
|
||||
@ -58,7 +59,7 @@ nextcloud_default_values:
|
||||
fromAddress: nextcloud
|
||||
domain: "{{ mail_domain | default(domain) }}"
|
||||
smtp:
|
||||
host: "mail.{{ mail_domain | default(domain) }}"
|
||||
host: "{{ mail_short_name | default('mail') }}.{{ mail_domain | default(domain) }}"
|
||||
secure: ssl
|
||||
port: 465
|
||||
authtype: LOGIN
|
||||
@ -98,7 +99,7 @@ nextcloud_default_values:
|
||||
$CONFIG = array (
|
||||
'trusted_proxies' => ['{{ web_proxy_internal_ip }}'],
|
||||
'overwriteprotocol' => 'https',
|
||||
'overwrite.cli.url' => 'https://nextcloud.{{ domain }}',
|
||||
'overwrite.cli.url' => 'https://{{ nextcloud_short_name }}.{{ domain }}',
|
||||
'mail_smtpstreamoptions' =>
|
||||
array (
|
||||
'ssl' =>
|
||||
@ -143,7 +144,7 @@ nextcloud_default_values:
|
||||
# Nexcloud image is used as default but only curl is needed
|
||||
image:
|
||||
repository: nextcloud
|
||||
tag: 19.0-apache
|
||||
tag: 20.0-apache
|
||||
schedule: "*/5 * * * *"
|
||||
annotations: {}
|
||||
# Set curl's insecure option if you use e.g. self-signed certificates
|
||||
@ -154,12 +155,14 @@ nextcloud_default_values:
|
||||
type: ClusterIP
|
||||
port: 8080
|
||||
loadBalancerIP: nil
|
||||
|
||||
persistence:
|
||||
# Nextcloud Data (/var/www/html)
|
||||
enabled: true
|
||||
storageClass: "{{ gitea_storage | default('nfs-ssd') }}"
|
||||
accessMode: "{{ gitea_storage_mode | default('ReadWriteMany') }}"
|
||||
size: "{{ gitea_size | default('20Gi') }}"
|
||||
storageClass: "{{ nextcloud_storage | default('nfs-ssd') }}"
|
||||
accessMode: "{{ nextcloud_storage_mode | default('ReadWriteMany') }}"
|
||||
size: "{{ nextcloud_size | default('100Gi') }}"
|
||||
|
||||
livenessProbe:
|
||||
enabled: false
|
||||
readinessProbe:
|
||||
|
Reference in New Issue
Block a user