-
Notifications
You must be signed in to change notification settings - Fork 4
/
prod-gcp.yaml
90 lines (77 loc) · 2.2 KB
/
prod-gcp.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
89
90
apiVersion: nais.io/v1alpha1
kind: Application
metadata:
name: altinn-rettigheter-proxy
namespace: arbeidsgiver
labels:
team: arbeidsgiver
spec:
image: {{ image }}
port: 8080
resources:
requests:
cpu: 1000m
memory: 512Mi
limits:
cpu: 5000m # https://home.robusta.dev/blog/stop-using-cpu-limits/
memory: 1024Mi
liveness:
path: /altinn-rettigheter-proxy/internal/alive
readiness:
path: /altinn-rettigheter-proxy/internal/ready
ingresses:
- https://altinn-rettigheter-proxy.intern.nav.no/altinn-rettigheter-proxy/
tokenx:
enabled: true
maskinporten:
enabled: true
scopes:
consumes:
- name: "altinn:serviceowner/reportees"
redis:
- instance: altinnrettigheter
access: readwrite
accessPolicy:
inbound:
rules:
- application: sykefravarsstatistikk-api
namespace: arbeidsgiver
cluster: prod-fss
- application: tiltaksgjennomforing-api
namespace: arbeidsgiver
cluster: prod-fss
- application: ia-tjenester-metrikker
- application: tiltak-refusjon-api
- application: aareg-innsyn-arbeidsgiver-api
namespace: arbeidsforhold
cluster: prod-fss
- application: sosialhjelp-avtaler-api
namespace: teamdigisos
- application: forebyggingsplan
namespace: teamia
- application: presenterte-kandidater-api
namespace: toi
- application: fia-arbeidsgiver
namespace: pia
- application: dsop-kontroll
namespace: dsopkontroll
cluster: prod-fss
- application: fpinntektsmelding
namespace: teamforeldrepenger
outbound:
external:
- host: www.altinn.no
env:
- name: SPRING_PROFILES_ACTIVE
value: prod
- name: CACHE_TIME_TO_LIVE_MILLIS
value: "1800000"
- name: ALTINN_URL
value: "https://www.altinn.no/"
- name: JAVA_OPTS
value: "-XX:+UseParallelGC -XX:MaxRAMPercentage=75.0 -XX:ActiveProcessorCount=2"
envFrom:
- secret: altinn-rettigheter-proxy
prometheus:
enabled: true
path: /altinn-rettigheter-proxy/internal/actuator/prometheus