-
Notifications
You must be signed in to change notification settings - Fork 1
/
naiserator-dev.yaml
114 lines (114 loc) · 2.88 KB
/
naiserator-dev.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
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
apiVersion: "nais.io/v1alpha1"
kind: "Application"
metadata:
name: syfosmmottak
namespace: teamsykmelding
labels:
team: teamsykmelding
spec:
gcp:
sqlInstances:
- name: syfosmmottak-instance
type: POSTGRES_14
diskSize: 10
databases:
- name: syfosmmottak
envVarPrefix: DB
diskAutoresize: true
highAvailability: false
diskType: SSD
insights:
enabled: true
tier: db-f1-micro
image: {{ image }}
replicas:
min: 1
max: 2
cpuThresholdPercentage: 90
port: 8080
liveness:
path: /internal/is_alive
initialDelay: 10
timeout: 5
periodSeconds: 5
failureThreshold: 30
readiness:
path: /internal/is_ready
initialDelay: 30
periodSeconds: 5
timeout: 1
prometheus:
enabled: true
path: /internal/prometheus
observability:
autoInstrumentation:
enabled: true
runtime: java
logging:
destinations:
- id: loki
- id: elastic
resources:
limits:
memory: 3Gi
requests:
cpu: 50m
memory: 512Mi
kafka:
pool: nav-dev
azure:
application:
enabled: true
tenant: trygdeetaten.no
accessPolicy:
outbound:
rules:
- application: syfosmregler
- application: syfohelsenettproxy
- application: clamav
namespace: nais-system
- application: smtss
external:
- host: smgcp-proxy.dev-fss-pub.nais.io
- host: pdl-api.dev-fss-pub.nais.io
- host: b27apvl222.preprod.local
ports:
- port: 1413
envFrom:
- secret: srvsyfosmmottak-secrets
filesFrom:
- mountPath: /var/run/secrets
secret: sykmeldingvedlegg-google-creds
secureLogs:
enabled: true
env:
- name: MQ_HOST_NAME
value: b27apvl222.preprod.local
- name: MQ_PORT
value: '1413'
- name: MQ_GATEWAY_NAME
value: MQLS04
- name: MQ_CHANNEL_NAME
value: Q1_SYFOSMMOTTAK
- name: MQ_INPUT_QUEUE_NAME
value: QA.Q1_SYFOSMMOTTAK.INPUT
- name: MQ_INPUT_BOQ_QUEUE_NAME
value: Q1_SYFOSMMOTTAK.INPUT_BOQ
- name: PDL_GRAPHQL_PATH
value: https://pdl-api.dev-fss-pub.nais.io/graphql
- name: PDL_SCOPE
value: api://dev-fss.pdl.pdl-api/.default
- name: HELSENETT_ENDPOINT_URL
value: http://syfohelsenettproxy
- name: HELSENETT_SCOPE
value: api://dev-gcp.teamsykmelding.syfohelsenettproxy/.default
- name: SYKMELDING_VEDLEGG_BUCKET_NAME
value: teamsykmelding-sykmelding-vedlegg-bucket-dev
- name: SMGCP_PROXY_SCOPE
value: api://dev-fss.teamsykmelding.smgcp-proxy/.default
- name: SMGCP_PROXY_URL
value: https://smgcp-proxy.dev-fss-pub.nais.io
- name: SYFOSMREGLER_API_SCOPE
value: api://dev-gcp.teamsykmelding.syfosmregler/.default
- name: SMTSS_API_SCOPE
value: api://dev-gcp.teamsykmelding.smtss/.default