-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathnaiserator.yaml
67 lines (66 loc) · 1.42 KB
/
naiserator.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
apiVersion: "nais.io/v1alpha1"
kind: "Application"
metadata:
name: spinntektsmelding-frontend
namespace: '{{{namespace}}}'
labels:
team: helsearbeidsgiver
annotations:
nginx.ingress.kubernetes.io/proxy-body-size: "50M"
spec:
image: {{ image }}
port: 3000
ingresses:
{{#if ingress}}
{{#each ingress as |i| }}
- '{{{i}}}'
{{/each}}
{{/if}}
liveness:
path: /im-dialog/api/is-alive
initialDelay: 15
timeout: 1
periodSeconds: 3
failureThreshold: 10
readiness:
path: /im-dialog/api/is-ready
initialDelay: 15
timeout: 1
periodSeconds: 3
failureThreshold: 10
replicas:
max: 1
min: 1
resources:
limits:
cpu: 800m
memory: 1024Mi
requests:
cpu: 400m
memory: 256Mi
idporten:
enabled: true
sidecar:
enabled: true
tokenx:
enabled: true
accessPolicy:
outbound:
external:
- host: '{{{outbound-external-host}}}'
rules:
- application: flexjar-backend
namespace: flex
- application: nav-dekoratoren
namespace: personbruker
- application: im-api
namespace: helsearbeidsgiver
- application: sykepengesoknad-backend
namespace: flex
env:
- name: API_URL
value: '{{{api-url}}}'
- name: API_BASEPATH
value: '{{{api-basepath}}}'
- name: AMPLITUDE_ENABLED
value: '{{{amplitude-enabled}}}'