-
Notifications
You must be signed in to change notification settings - Fork 0
/
values.yaml
100 lines (86 loc) · 3.35 KB
/
values.yaml
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
# -- Override name
nameOverride: ""
# -- Override fullname
fullnameOverride: ""
global:
ingress:
# -- Name of the [IngressClass](https://kubernetes.io/docs/concepts/services-networking/ingress/#ingress-class)
# to use in Ingress routes.
className: nginx
# -- List of [FQDNs](https://de.wikipedia.org/wiki/Fully-Qualified_Host_Name) for this Ingress.
# Note: All FQDNs will be used for Ingress hosts and TLS certificate.
# The global setting overwrites this setting in subcharts.
domains:
- localhost
# -- Additional ingress annotations, that are set for all ingress routes of subcharts.
annotations: {}
certManager:
# -- eMail address for ACME registration with Let's Encrypt. Only used for issuerType = namespace.
issuerEmail: me@example.com
# -- Type of [cert-manager](https://cert-manager.io/docs/) Issuer: Use either "namespace" or "cluster".
issuerType: namespace
# -- Name of the Issuer to use. For certManager.type = namespace
# `letsencrypt-staging`, `letsencrypt-production` and `self-signed` are available.
issuerName: letsencrypt-staging
db:
# -- Database host, allows using external databases. Use DNS name of the `frostdb` service
# when using frostdb subchart. Can be overwritten by values specified in subcharts.
host: frostdb
# -- Database port. Can be overwritten by values specified in subcharts.
port: 5432
# -- Database name. Can be overwritten by values specified in subcharts.
dbname: frost
auth:
# -- Database username. Can be overwritten by values specified in subcharts.
username: postgres
# -- Database password. Can be overwritten by values specified in subcharts.
password: changeMe
caddy:
# -- Enable/disable Caddy webserver
enabled: false
frostdb:
# -- Enable/disable PostGIS Database. Disable if an external database is used.
enabled: true
frostweb:
# -- Enable/disable FROST-Server web interface.
enabled: true
nodered:
# -- Enable/disable Node-RED.
enabled: true
grafana:
# -- Enable/disable Grafana.
enabled: true
certIssuer:
# -- Enable/disable [cert-manager](https://cert-manager.io/docs/) namespace Issuers.
# Set according to other `ingress.XXX` settings. Disable if a `ClusterIssuer` is used.
enabled: true
cert-manager:
# -- Enable/disable [cert-manager](https://cert-manager.io/docs/). Only enable this if
# [cert-manager](https://cert-manager.io/docs/) is not available in the cluster.
enabled: false
ingress-nginx:
# -- Enable/disable [NGINX-Ingress](https://github.com/kubernetes/ingress-nginx).
# This is only required, if there is no IncressController available in your cluster.
enabled: false
postgresql-ha:
# -- Enable/disable Bitnami PostgreSQL HA database backend.
enabled: false
# @ignored
postgresql:
extraVolumes:
- name: dshm
emptyDir:
medium: Memory
sizeLimit: 512Mi
# @ignored
initdbScripts:
01_createExtensionPostGIS.sh: |
#!/bin/bash
set -e
echo "Initialize FROST-Server database..."
export PGPASSWORD=$POSTGRESQL_POSTGRES_PASSWORD
psql -v ON_ERROR_STOP=1 --dbname "$POSTGRESQL_DATABASE" <<-EOSQL
CREATE EXTENSION if not exists postgis;
CREATE EXTENSION if not exists postgis_raster;
EOSQL
echo "Initialize FROST-Server database...done!"