-
Notifications
You must be signed in to change notification settings - Fork 1
/
app-preprod.yaml
82 lines (80 loc) · 1.97 KB
/
app-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
apiVersion: "nais.io/v1alpha1"
kind: "Application"
metadata:
name: familie-oppdrag
namespace: teamfamilie
labels:
team: teamfamilie
spec:
image: {{ image }}
port: 8087
liveness:
path: /internal/health/liveness
initialDelay: 30
failureThreshold: 10
readiness:
path: /internal/health/readyness
initialDelay: 30
failureThreshold: 10
prometheus:
enabled: true
path: /internal/prometheus
vault:
enabled: true
paths:
- kvPath: /serviceuser/data/dev/srvfamilie-oppdrag
mountPath: /secret/serviceuser
replicas:
min: 2
max: 4
resources:
limits:
memory: 700Mi
requests:
memory: 700Mi
cpu: 25m
ingresses:
- https://familie-oppdrag.dev-fss-pub.nais.io
- https://familie-oppdrag.dev.intern.nav.no
secureLogs:
enabled: true
azure:
application:
enabled: true
allowAllUsers: true
accessPolicy:
inbound:
rules:
- application: familie-ks-sak
- application: familie-ba-sak-lokal
cluster: dev-gcp
- application: familie-ba-sak
cluster: dev-gcp
- application: familie-ks-sak
cluster: dev-gcp
- application: familie-tilbake
cluster: dev-gcp
- application: familie-tilbake-lokal
cluster: dev-gcp
- application: familie-ef-sak
cluster: dev-gcp
- application: familie-ef-sak-lokal
cluster: dev-gcp
- application: familie-ef-iverksett
cluster: dev-gcp
- application: familie-ef-iverksett-lokal
cluster: dev-gcp
outbound:
external:
- host: b27apvl220.preprod.local
ports:
- port: 1413
observability:
autoInstrumentation:
enabled: true
runtime: java
env:
- name: SPRING_PROFILES_ACTIVE
value: preprod
- name: JAVA_OPTS
value: "-XX:MinRAMPercentage=25.0 -XX:MaxRAMPercentage=75.0 -XX:+HeapDumpOnOutOfMemoryError -XX:HeapDumpPath=/tmp"