Skip to content

Commit 1713169

Browse files
authored
Nais yaml for ebms-async prod (#154)
1 parent ae95dde commit 1713169

File tree

1 file changed

+101
-0
lines changed

1 file changed

+101
-0
lines changed

.nais/ebms-async-prod.yaml

Lines changed: 101 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,101 @@
1+
apiVersion: "nais.io/v1alpha1"
2+
kind: "Application"
3+
metadata:
4+
name: "ebms-async"
5+
namespace: "team-emottak"
6+
labels:
7+
"team": "team-emottak"
8+
spec:
9+
azure:
10+
application:
11+
enabled: true
12+
webproxy: true
13+
image: {{image}}
14+
liveness:
15+
path: "/internal/health/liveness"
16+
port: 8080
17+
initialDelay: 30
18+
timeout: 10
19+
failureThreshold: 10
20+
observability:
21+
autoInstrumentation:
22+
enabled: true
23+
runtime: java
24+
destinations:
25+
- id: "grafana-lgtm"
26+
- id: "elastic-apm"
27+
logging:
28+
destinations:
29+
- id: elastic
30+
- id: loki
31+
readiness:
32+
path: "/internal/health/readiness"
33+
port: 8080
34+
initialDelay: 30
35+
timeout: 10
36+
failureThreshold: 10
37+
prometheus:
38+
enabled: true
39+
path: /prometheus
40+
replicas:
41+
scalingStrategy:
42+
cpu:
43+
thresholdPercentage: 30
44+
min: 1
45+
max: 1
46+
resources:
47+
limits:
48+
cpu: "1000m"
49+
memory: "1024Mi"
50+
requests:
51+
cpu: "100m"
52+
memory: "512Mi"
53+
ingresses:
54+
- "https://ebms-async-fss.intern.nav.no"
55+
vault:
56+
enabled: true
57+
kafka:
58+
pool: nav-prod
59+
accessPolicy:
60+
outbound:
61+
rules:
62+
- application: cpa-repo
63+
- application: ebms-payload
64+
- application: ebms-send-in
65+
- application: smtp-transport
66+
inbound:
67+
rules:
68+
- application: smtp-transport
69+
env:
70+
- name: VIRKSOMHETSSERTIFIKAT_PATH
71+
value: /secret/virksomhetssertifikat/prod/Arbeids-og-velferdsetaten
72+
- name: VIRKSOMHETSSERTIFIKAT_SIGNERING
73+
value: key.p12.b64.2022
74+
- name: VIRKSOMHETSSERTIFIKAT_DEKRYPTERING
75+
value: key.decrypt.p12.b64.2022
76+
- name: VIRKSOMHETSSERTIFIKAT_CREDENTIALS
77+
value: credentials.2022
78+
- name: MAX_CONNECTION_POOL_SIZE_FOR_USER
79+
value: "4"
80+
- name: MAX_CONNECTION_POOL_SIZE_FOR_ADMIN
81+
value: "1"
82+
- name: EBMS_SIGNAL_RECEIVER
83+
value: "true"
84+
- name: EBMS_SIGNAL_PRODUCER
85+
value: "true"
86+
- name: EBMS_PAYLOAD_RECEIVER
87+
value: "true"
88+
- name: EBMS_PAYLOAD_PRODUCER
89+
value: "true"
90+
- name: EBMS_RETRY_QUEUE
91+
value: "true"
92+
- name: VAULT_JDBC_URL
93+
value: jdbc:postgresql://A01DBVL037.adeo.no:5432/
94+
- name: CPA_REPO_URL
95+
value: http://cpa-repo.team-emottak.svc.nais.local
96+
- name: PAYLOAD_PROCESSOR_URL
97+
value: http://ebms-payload
98+
- name: SEND_IN_URL
99+
value: http://ebms-send-in
100+
- name: SMTP_TRANSPORT_URL
101+
value: http://smtp-transport

0 commit comments

Comments
 (0)