forked from navikt/helsesjekk-bot
-
Notifications
You must be signed in to change notification settings - Fork 0
/
nais.yml
55 lines (55 loc) · 1.06 KB
/
nais.yml
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
apiVersion: 'nais.io/v1alpha1'
kind: 'Application'
metadata:
name: helsesjekk-bot
namespace: teamsykmelding
labels:
team: teamsykmelding
spec:
image: {{image}}
port: 3000
ingresses:
- 'https://helsesjekk-bot.intern.nav.no'
replicas:
min: 1
max: 2
resources:
limits:
memory: 1024Mi
requests:
cpu: 100m
memory: 256Mi
filesFrom:
- emptyDir:
medium: Memory
mountPath: /app/.next/cache
leaderElection: true
gcp:
sqlInstances:
- type: POSTGRES_14
databases:
- name: helsesjekk-bot
azure:
application:
allowAllUsers: true
enabled: true
tenant: nav.no
claims:
extra:
- 'NAVident'
sidecar:
enabled: true
accessPolicy:
outbound:
external:
- host: slack.com
- host: api.slack.com
- host: wss-primary.slack.com
liveness:
path: /api/internal/is_alive
initialDelay: 10
readiness:
path: /api/internal/is_ready
initialDelay: 10
envFrom:
- secret: helsesjekk-bot-secrets