-
Notifications
You must be signed in to change notification settings - Fork 1
/
nais-prod.yaml
59 lines (58 loc) · 1.31 KB
/
nais-prod.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
apiVersion: 'nais.io/v1alpha1'
kind: 'Application'
metadata:
name: familie-ef-soknad
namespace: teamfamilie
labels:
team: teamfamilie
annotations:
nginx.ingress.kubernetes.io/proxy-body-size: "25M"
nginx.ingress.kubernetes.io/proxy-read-timeout: "120"
spec:
image: {{ image }}
replicas:
min: 1
max: 2
port: 8080
liveness:
path: /familie/alene-med-barn/soknad/internal/isAlive
initialDelay: 5
readiness:
path: /familie/alene-med-barn/soknad/internal/isReady
initialDelay: 5
prometheus:
enabled: true
path: /metrics
idporten:
enabled: true
sidecar:
enabled: true
autoLogin: true
autoLoginIgnorePaths:
- /familie/alene-med-barn/soknad/**/*.css
- /familie/alene-med-barn/soknad/**/manifest.json
level: Level4
tokenx:
enabled: true
ingresses:
- https://www.nav.no/familie/alene-med-barn/soknad
accessPolicy:
outbound:
rules:
- application: familie-ef-soknad-api
- application: familie-dokument
- application: nav-dekoratoren
namespace: personbruker
external:
- host: nav.no
env:
- name: APP_VERSION
value: '{{version}}'
- name: ENV
value: prod
resources:
limits:
memory: 768Mi
requests:
memory: 256Mi
cpu: 100m