-
Notifications
You must be signed in to change notification settings - Fork 3
/
Copy pathnais.yaml
51 lines (51 loc) · 1.18 KB
/
nais.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
apiVersion: nais.io/v1alpha1
kind: Application
metadata:
name: dp-faktasider-frontend
namespace: teamdagpenger
labels:
team: teamdagpenger
spec:
image: {{ image }}
port: 3000
liveness:
path: /arbeid/api/isalive
readiness:
path: /arbeid/api/isready
prometheus:
enabled: false
replicas:
min: 2
max: 3
resources:
limits:
memory: 512Mi
requests:
cpu: 20m
memory: 256Mi
accessPolicy:
outbound:
external:
- host: www.nav.no
- host: api.sanity.io
- host: rt6o382n.api.sanity.io
- host: apicdn.sanity.io
- host: rt6o382n.apicdn.sanity.io
- host: cdn.sanity.io
- host: dekoratoren.ekstern.dev.nav.no
- host: amplitude.nav.no
- host: sentry.gc.nav.no
env:
- name: NODE_EXTRA_CA_CERTS
value: "/etc/pki/tls/certs/ca-bundle.crt"
- name: DEKORATOR_MILJO
value: {{dekoratorMiljo}}
- name: NPM_CONFIG_CACHE
value: /tmp
- name: NEXT_PUBLIC_SANITY_DATASET
value: {{sanityDataset}}
- name: NEXT_PUBLIC_SENTRY_STAGE
value: {{sentry_stage}}
envFrom:
- secret: dp-faktasider-frontend-sanity-cms-read-token
{{ingresses}}