-
Notifications
You must be signed in to change notification settings - Fork 2
/
values.yaml
142 lines (125 loc) · 3.44 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
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
image:
schema:
repository: gcr.io/ggl-cas-storage/cas-ciip-portal-schema
tag: b530194a9df22e64b1a701defd3b65f41b01676b # pragma: allowlist secret
pullPolicy: IfNotPresent
app:
repository: gcr.io/ggl-cas-storage/cas-ciip-portal-app
tag: b530194a9df22e64b1a701defd3b65f41b01676b # pragma: allowlist secret
pullPolicy: IfNotPresent
psql:
repository: gcr.io/ggl-cas-storage/cas-postgres
pullPolicy: Always
tag: "0.1.0"
replicas: 2
port: 3000
resources:
limits:
cpu: 500m
memory: 1Gi
requests:
cpu: 10m
memory: 200Mi
networkPolicies:
enable: true
# Will tell which target to use when building the NSP for communication with the GGIRCS app
ggircs:
namespace: ~
prefix: ~
environment: ~
service: cas-ggircs-patroni
instanceName: cas-ggircs
metabase:
instanceName: cas-metabase
route:
# route.host defines the host name for the route template,
# and the HOST env variable for the app deployment
host: ciip.gov.bc.ca
# set to true to create a route with tls and edge redirection disabled
insecure: false
# used for both acme.sh rwx volumes
storageClassName: netapp-file-standard
persistence:
db: ciip
dbOwner: ciip
appUser: ciip_portal
readonlyUser: ciip_readonly
dag:
# a command to be executed at the beginning of the init-db job, running in the psql image abov
preInitDb: ""
name: "ciip_deploy_db"
enable: true
env:
smtpConnectionString: smtp://apps.smtp.gov.bc.ca/?port=25&ignoreTLS=true&secure=false
senderEmail: no-reply.cas@gov.bc.ca
adminEmail: GHGRegulator@gov.bc.ca
supportEmail: ggircs@gov.bc.ca
enableDbMocks: false
# NOTE: To be displayed properly, content must be an HTML Bootstrap alert, ie: <div class="alert alert-info">Message</div>
sitewide_notice:
content: null
analytics:
enable: false
restoreFromProd:
enable: false
mailhog:
enable: false
image:
repository: gcr.io/ggl-cas-storage/mailhog
resources:
limits:
cpu: 100m
memory: 128Mi
requests:
cpu: 50m
memory: 128Mi
cas-postgres:
patroni:
resources:
limits:
cpu: 1000m
memory: 2Gi
requests:
cpu: 15m
memory: 600Mi
persistentVolume:
size: 10Gi
storageClass: netapp-block-standard
replicaCount: 3
env:
ALLOW_NOSSL: true
USE_WALG_BACKUP: "true"
USE_WALG_RESTORE: "true"
walE:
enable: true
# the GCS bucket name should be {{ namespace }}-{{ gcs.bucketSuffix }}
gcsBucket:
# kubernetesSecret should be gcp-{{ namespace }}-{{ gcs.bucketSuffix }}-service-account-key
kubernetesSecret:
# options below are required if walE.enable is true
namespace:
gcs:
bucketSuffix:
loadTesting:
enable: false
download-cas-ciip-portal-dags:
image:
tag: 69f346b134d99e9e5e6d50e16198fd4977fc3264 # pragma: allowlist secret
airflowEndpoint: https://cas-airflow-dev.apps.silver.devops.gov.bc.ca
dagId: fetch_and_save_dag_from_github
helm:
hook: "pre-install,pre-upgrade"
airflow-ciip-cert-issue:
image:
tag: 69f346b134d99e9e5e6d50e16198fd4977fc3264 # pragma: allowlist secret
airflowEndpoint: https://cas-airflow-dev.apps.silver.devops.gov.bc.ca
dagId: ciip_portal_acme_issue
helm:
hook: "post-install"
airflow-ciip-deploy-db:
image:
tag: 69f346b134d99e9e5e6d50e16198fd4977fc3264 # pragma: allowlist secret
airflowEndpoint: https://cas-airflow-dev.apps.silver.devops.gov.bc.ca
dagId: ciip_deploy_db
helm:
hook: false