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-prod.yaml
90 lines (89 loc) · 2.36 KB
/
nais-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
89
90
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
secureLogs:
enabled: true
ingresses: # Optional. List of ingress URLs that will route HTTP traffic to the application.
- https://familie-ba-migrering.intern.nav.no
- https://familie-ba-migrering.nav.no
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: 3d718ae5-f25e-47a4-b4b3-084a97604c1d # teamfamilie-forvaltning
- id: 87190cf3-b278-457d-8ab7-1a5c55a9edd7 # Group_87190cf3-b278-457d-8ab7-1a5c55a9edd7 tilgang til prosessering
replyURLs:
- "https://familie-ba-migrering.intern.nav.no/swagger-ui/oauth2-redirect.html"
singlePageApplication: true
accessPolicy:
inbound:
rules:
- application: familie-prosessering
namespace: teamfamilie
cluster: prod-gcp
- application: familie-ba-sak
namespace: teamfamilie
cluster: prod-gcp
outbound:
rules:
- application: familie-ba-infotrygd
namespace: teamfamilie
cluster: prod-fss
- application: familie-ba-infotrygd-feed
namespace: teamfamilie
cluster: prod-fss
- application: familie-ba-sak
namespace: teamfamilie
cluster: prod-gcp
external:
- host: familie-ba-infotrygd.prod-fss-pub.nais.io
- host: familie-ba-infotrygd-feed.prod-fss-pub.nais.io
env:
- name: SPRING_PROFILES_ACTIVE
value: prod
- name: JAVA_OPTS
value: "-Xmx1g"