forked from navikt/omsorgsdager
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathnaiserator.yaml
86 lines (86 loc) · 2.08 KB
/
naiserator.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
apiVersion: "nais.io/v1alpha1"
kind: "Application"
metadata:
name: omsorgsdager
namespace: omsorgspenger
labels:
team: omsorgspenger
spec:
image: {{ image }}
port: 8080
azure:
application:
enabled: true
tenant: {{ azureTenant }}
kafka:
pool: {{kafkaPool}}
accessPolicy:
outbound:
rules:
- application: omsorgspenger-tilgangsstyring
- application: omsorgspenger-sak
- application: omsorgspenger-rammemeldinger
external:
{{#each externalHosts as |host|}}
- host: {{host}}
{{/each}}
inbound:
rules:
- application: k9-aarskvantum
namespace: default
cluster: {{clusterFss}}
gcp:
sqlInstances:
- type: POSTGRES_12
diskAutoresize: true
tier: {{ database.tier }}
diskSize: {{ database.diskSize }}
highAvailability: {{ database.highAvailability }}
databases:
- name: omsorgsdager
envVarPrefix: DATABASE
liveness:
path: isalive
initialDelay: 20
timeout: 1
periodSeconds: 5
failureThreshold: 10
readiness:
path: isready
initialDelay: 20
timeout: 1
resources:
limits:
cpu: 500m
memory: 512Mi
requests:
cpu: 200m
memory: 256Mi
ingresses:
{{#each ingresses as |url|}}
- {{url}}
{{/each}}
replicas:
min: {{minReplicas}}
max: {{maxReplicas}}
cpuThresholdPercentage: 90
prometheus:
enabled: true
path: /metrics
secureLogs:
enabled: true
env:
{{#each env}}
- name: {{@key}}
value: {{this}}
{{/each}}
- name: OMSORGSPENGER_TILGANGSSTYRING_BASE_URL
value: http://omsorgspenger-tilgangsstyring.omsorgspenger.svc.cluster.local
- name: OMSORGSPENGER_SAK_BASE_URL
value: http://omsorgspenger-sak.omsorgspenger.svc.cluster.local
- name: OMSORGSPENGER_RAMMEMELDINGER_BASE_URL
value: http://omsorgspenger-rammemeldinger.omsorgspenger.svc.cluster.local
- name: KAFKA_RAPID_TOPIC
value: omsorgspenger.k9-rapid-v2
- name: KAFKA_CONSUMER_GROUP_ID
value: omsorgsdager