-
Notifications
You must be signed in to change notification settings - Fork 2
/
naiserator-prod.yaml
88 lines (88 loc) · 2.14 KB
/
naiserator-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
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
apiVersion: "nais.io/v1alpha1"
kind: "Application"
metadata:
name: syfosmregler
namespace: teamsykmelding
labels:
team: teamsykmelding
spec:
image: {{ image }}
replicas:
min: 2
max: 10
cpuThresholdPercentage: 90
port: 8080
liveness:
path: /internal/is_alive
initialDelay: 10
timeout: 5
periodSeconds: 5
failureThreshold: 30
readiness:
path: /internal/is_ready
initialDelay: 30
periodSeconds: 5
timeout: 1
prometheus:
enabled: true
path: /internal/prometheus
observability:
autoInstrumentation:
enabled: true
runtime: java
logging:
destinations:
- id: loki
- id: elastic
resources:
limits:
memory: 2048Mi
requests:
cpu: 100m
memory: 712Mi
azure:
application:
enabled: true
tenant: nav.no
accessPolicy:
inbound:
rules:
- application: syfosmmottak
namespace: teamsykmelding
cluster: prod-gcp
- application: syk-inn-api
namespace: tsm
cluster: prod-gcp
outbound:
rules:
- application: syfosmregister
namespace: teamsykmelding
cluster: prod-gcp
- application: flex-syketilfelle
namespace: flex
cluster: prod-gcp
- application: syfohelsenettproxy
- application: btsys-api
namespace: team-rocket
cluster: prod-gcp
external:
- host: pdl-api.prod-fss-pub.nais.io
kafka:
pool: nav-prod
secureLogs:
enabled: true
env:
- name: HELSENETT_SCOPE
value: api://prod-gcp.teamsykmelding.syfohelsenettproxy/.default
- name: SMREGISTER_AUDIENCE
value: api://prod-gcp.teamsykmelding.syfosmregister/.default
- name: PDL_GRAPHQL_PATH
value: https://pdl-api.prod-fss-pub.nais.io/graphql
- name: PDL_SCOPE
value: api://prod-fss.pdl.pdl-api/.default
- name: SYKETILLFELLE_SCOPE
value: api://prod-gcp.flex.flex-syketilfelle/.default
- name: LEGE_SUSPENSJON_PROXY_SCOPE
value: api://prod-gcp.team-rocket.btsys-api/.default
- name: SOURCE_VERSION_URL
value: {{ sourceVersionURL }}