forked from navikt/narmesteleder
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathnaiserator-dev.yaml
119 lines (119 loc) · 3.1 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
115
116
117
118
119
apiVersion: "nais.io/v1alpha1"
kind: "Application"
metadata:
name: narmesteleder
namespace: teamsykmelding
labels:
team: teamsykmelding
spec:
image: {{ image }}
gcp:
sqlInstances:
- name: narmesteleder-db-instance
type: POSTGRES_12
diskSize: 10
databases:
- name: narmesteleder
envVarPrefix: NAIS_DATABASE
diskAutoresize: true
highAvailability: true
insights:
enabled: true
replicas:
min: 1
max: 3
cpuThresholdPercentage: 90
port: 8080
liveness:
path: /internal/is_alive
initialDelay: 30
timeout: 5
periodSeconds: 5
failureThreshold: 30
readiness:
path: /internal/is_ready
initialDelay: 60
periodSeconds: 5
timeout: 1
prometheus:
enabled: true
path: /internal/prometheus
resources:
limits:
cpu: 250m
memory: 500Mi
requests:
cpu: 50m
memory: 450Mi
vault:
enabled: false
envFrom:
- secret: narmesteleder-redis-password
- configmap: loginservice-idporten
ingresses:
- "https://narmesteleder.dev.nav.no"
- "https://narmesteleder.dev.intern.nav.no"
- "https://narmesteleder.intern.dev.nav.no"
webproxy: false
leaderElection: true
kafka:
pool: nav-dev
azure:
application:
enabled: true
tenant: trygdeetaten.no
tokenx:
enabled: true
accessPolicy:
inbound:
rules:
- application: syfobrukertilgang
namespace: team-esyfo
cluster: dev-fss
- application: syfooppfolgingsplanservice
namespace: team-esyfo
cluster: dev-fss
- application: syfosmaltinn
- application: narmesteleder
- application: sykmeldinger-arbeidsgiver
- application: sykmeldinger-backend
namespace: teamsykmelding
cluster: dev-gcp
- application: debug-dings
namespace: plattformsikkerhet
- application: notifikasjon-bruker-api
namespace: fager
- application: isdialogmote
namespace: teamsykefravr
cluster: dev-gcp
- application: macgyver
namespace: teamsykmelding
cluster: dev-gcp
- application: esyfovarsel
namespace: team-esyfo
cluster: dev-gcp
- application: ditt-sykefravaer
namespace: flex
cluster: dev-gcp
outbound:
rules:
- application: narmesteleder-redis
external:
- host: pdl-api.dev-fss-pub.nais.io
- host: kafka-schema-registry.nais-q.adeo.no
- host: aareg-services-q1.dev-fss-pub.nais.io
secureLogs:
enabled: true
env:
- name: PDL_GRAPHQL_PATH
value: https://pdl-api.dev-fss-pub.nais.io/graphql
- name: KAFKA_CLIENT_ID
value: narmesteleder
- name: AAREG_URL
value: https://aareg-services-q1.dev-fss-pub.nais.io
- name: AAREG_SCOPE
value: api://dev-fss.arbeidsforhold.aareg-services-nais-q1/.default
- name: ALLOWED_ORIGIN
value: tjenester-q1.nav.no,www-gcp.dev.nav.no,narmesteleder.dev.nav.no
- name: PDL_SCOPE
value: api://dev-fss.pdl.pdl-api/.default