-
Notifications
You must be signed in to change notification settings - Fork 1
/
Copy pathdev.yaml
79 lines (79 loc) · 1.89 KB
/
dev.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
apiVersion: "nais.io/v1alpha1"
kind: "Application"
metadata:
name: selvbetjening-ui
namespace: etterlatte
labels:
team: etterlatte
spec:
image: {{ image }}
port: 8080
replicas:
min: 1
max: 2
cpuThresholdPercentage: 90
ingresses:
- https://etterlatte.intern.dev.nav.no/omstillingsstonad/skjema
- https://etterlatte.ekstern.dev.nav.no/omstillingsstonad/skjema
liveness:
path: /omstillingsstonad/skjema/isAlive
initialDelay: 10
timeout: 5
periodSeconds: 5
failureThreshold: 30
readiness:
path: /omstillingsstonad/skjema/isReady
initialDelay: 30
periodSeconds: 5
timeout: 5
resources:
limits:
cpu: 500m
memory: 512Mi
requests:
cpu: 50m
memory: 192Mi
prometheus:
enabled: true
path: /omstillingsstonad/skjema/metrics
observability:
autoInstrumentation:
enabled: true
runtime: nodejs
logging:
destinations:
- id: elastic
- id: loki
tokenx:
enabled: true
idporten:
enabled: true
sidecar:
enabled: true
level: idporten-loa-high
locale: nb
autoLogin: true
autoLoginIgnorePaths:
- /omstillingsstonad/skjema/internal/**
envFrom:
- secret: selvbetjening-ui-sanity
- secret: my-application-unleash-api-token
env:
- name: BASE_PATH
value: /omstillingsstonad/skjema
- name: API_URL
value: http://selvbetjening-backend
- name: AUDIENCE
value: dev-gcp:etterlatte:selvbetjening-backend
accessPolicy:
outbound:
external:
- host: dekoratoren.ekstern.dev.nav.no
- host: tokendings.dev-gcp.nais.io
- host: u0dlg8d8.api.sanity.io
- host: u0dlg8d8.apicdn.sanity.io
- host: etterlatte-unleash-api.nav.cloud.nais.io
rules:
- application: selvbetjening-backend
- application: nav-dekoratoren
namespace: personbruker