generated from ministryofjustice/hmpps-template-typescript
-
Notifications
You must be signed in to change notification settings - Fork 0
/
values.yaml
67 lines (56 loc) · 1.94 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
---
generic-service:
nameOverride: hmpps-audit-poc-ui
serviceAccountName: hmpps-audit-poc-ui
productId: "DPS018"
replicaCount: 2
image:
repository: quay.io/hmpps/hmpps-audit-poc-ui
tag: app_version # override at deployment time
port: 3000
ingress:
enabled: true
host: app-hostname.local # override per environment
tlsSecretName: hmpps-audit-poc-ui-cert
livenessProbe:
httpGet:
path: /ping
readinessProbe:
httpGet:
path: /ping
custommetrics:
enabled: true
scrapeInterval: 15s
metricsPath: /metrics
metricsPort: 3001
# Environment variables to load into the deployment
env:
NODE_ENV: "production"
REDIS_TLS_ENABLED: "true"
TOKEN_VERIFICATION_ENABLED: "true"
APPLICATIONINSIGHTS_CONNECTION_STRING: "InstrumentationKey=$(APPINSIGHTS_INSTRUMENTATIONKEY);IngestionEndpoint=https://northeurope-0.in.applicationinsights.azure.com/;LiveEndpoint=https://northeurope.livediagnostics.monitor.azure.com/"
AUDIT_SQS_REGION: "eu-west-2"
AUDIT_SERVICE_NAME: "hmpps-audit-poc-ui"
# Pre-existing kubernetes secrets to load as environment variables in the deployment.
# namespace_secrets:
# [name of kubernetes secret]:
# [name of environment variable as seen by app]: [key of kubernetes secret to load]
namespace_secrets:
hmpps-audit-poc-ui:
APPINSIGHTS_INSTRUMENTATIONKEY: "APPINSIGHTS_INSTRUMENTATIONKEY"
API_CLIENT_ID: "API_CLIENT_ID"
API_CLIENT_SECRET: "API_CLIENT_SECRET"
SYSTEM_CLIENT_ID: "SYSTEM_CLIENT_ID"
SYSTEM_CLIENT_SECRET: "SYSTEM_CLIENT_SECRET"
SESSION_SECRET: "SESSION_SECRET"
sqs-hmpps-audit-secret:
AUDIT_SQS_QUEUE_URL: "sqs_queue_url"
AUDIT_SQS_QUEUE_NAME: "sqs_queue_name"
elasticache-redis:
REDIS_HOST: "primary_endpoint_address"
REDIS_AUTH_TOKEN: "auth_token"
allowlist:
groups:
- internal
generic-prometheus-alerts:
targetApplication: hmpps-audit-poc-ui