-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathnaiserator-dev.yaml
97 lines (97 loc) · 2.24 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
apiVersion: "nais.io/v1alpha1"
kind: "Application"
metadata:
name: syfosmaltinn
namespace: teamsykmelding
labels:
team: teamsykmelding
spec:
image: {{ image }}
accessPolicy:
outbound:
external:
- host: tt02.altinn.no
- host: pdl-api.dev-fss-pub.nais.io
rules:
- application: smarbeidsgiver-pdfgen
namespace: teamsykmelding
cluster: dev-gcp
inbound:
rules:
- application: macgyver
namespace: teamsykmelding
cluster: dev-gcp
gcp:
sqlInstances:
- name: syfosmaltinn-db-instance
type: POSTGRES_12
diskSize: 10
databases:
- name: syfosmaltinn
envVarPrefix: NAIS_DATABASE
flags:
- name: cloudsql.logical_decoding
value: "on"
tier: db-f1-micro
buckets:
- name: teamsykmelding-syfosmaltinn-bucket-dev
retentionPeriodDays: 2
lifecycleCondition:
age: 2
withState: ANY
replicas:
min: 1
max: 1
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: 5
prometheus:
enabled: true
path: /internal/prometheus
observability:
autoInstrumentation:
enabled: true
runtime: java
logging:
destinations:
- id: loki
- id: elastic
resources:
limits:
memory: 3000Mi
requests:
cpu: 150m
memory: 700Mi
kafka:
pool: nav-dev
azure:
application:
enabled: true
tenant: trygdeetaten.no
filesFrom:
- secret: syfosmaltinn-secrets
secureLogs:
enabled: true
env:
- 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: ALTINN_URL
value: https://tt02.altinn.no/ServiceEngineExternal/CorrespondenceAgencyExternalBasic.svc
- name: ALTINN_PORTAL_BASEURL
value: https://tt02.altinn.no
- name: KAFKA_CLIENT_ID
value: syfosmaltinn
- name: BUCKET_NAME
value: teamsykmelding-syfosmaltinn-bucket-dev