This repository has been archived by the owner on Apr 9, 2024. It is now read-only.
-
Notifications
You must be signed in to change notification settings - Fork 0
/
nais-preprod.yaml
93 lines (92 loc) · 2.41 KB
/
nais-preprod.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
91
92
93
apiVersion: "nais.io/v1alpha1"
kind: "Application"
metadata:
name: familie-ba-migrering
namespace: teamfamilie
labels:
team: teamfamilie
spec:
image: {{ image }}
port: 8098
liveness:
path: /internal/health/liveness
initialDelay: 30
failureThreshold: 10
readiness:
path: /internal/health/readiness
initialDelay: 30
failureThreshold: 10
prometheus:
enabled: true
path: /internal/prometheus
vault:
enabled: false
replicas:
min: 1
max: 1
cpuThresholdPercentage: 50
resources:
limits:
memory: 1024Mi
cpu: "1"
requests:
memory: 512Mi
cpu: 200m
ingresses: # Optional. List of ingress URLs that will route HTTP traffic to the application.
- https://familie-ba-migrering.intern.dev.nav.no
secureLogs:
enabled: true
gcp: # Database
sqlInstances:
- type: POSTGRES_15
name: familie-ba-migrering
diskAutoresize: true
autoBackupTime: "03:00"
cascadingDelete: true
databases:
- name: familie-ba-migrering
envVarPrefix: DB
azure:
application:
enabled: true
claims:
extra:
- "NAVident"
groups:
- id: c62e908a-cf20-4ad0-b7b3-3ff6ca4bf38b # teamfamilie-forvaltning
- id: 928636f4-fd0d-4149-978e-a6fb68bb19de # 0000-GA-STDAPPS - tilgang til prosessering
tenant: trygdeetaten.no
replyURLs:
- "https://familie-ba-migrering.dev.intern.nav.no/swagger-ui/oauth2-redirect.html"
singlePageApplication: true
accessPolicy:
inbound:
rules:
- application: familie-prosessering
namespace: teamfamilie
cluster: dev-gcp
- application: ida
namespace: traktor
cluster: prod-fss
- application: familie-ba-sak
namespace: teamfamilie
cluster: dev-gcp
outbound:
rules:
- application: familie-ba-infotrygd
namespace: teamfamilie
cluster: dev-fss
- application: familie-ba-infotrygd-feed
namespace: teamfamilie
cluster: dev-fss
- application: familie-ba-sak
namespace: teamfamilie
cluster: dev-gcp
external:
- host: familie-ba-infotrygd.dev-fss-pub.nais.io
- host: familie-ba-infotrygd-feed.dev-fss-pub.nais.io
env:
- name: SPRING_PROFILES_ACTIVE
value: preprod
- name: JAVA_OPTS
value: "-Xmx1g"