-
Notifications
You must be signed in to change notification settings - Fork 1
/
nais.yml
49 lines (49 loc) · 933 Bytes
/
nais.yml
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
apiVersion: nais.io/v1alpha1
kind: Application
metadata:
name: naisdevice-approval
namespace: naisdevice
labels:
team: naisdevice
annotations:
nais.io/read-only-file-system: "false"
spec:
image: {{ image }}
accessPolicy:
outbound:
external:
- host: login.microsoftonline.com
- host: graph.microsoft.com
port: 8080
replicas:
min: 1
max: 1
cpuThresholdPercentage: 50
liveness:
path: /isAlive
initialDelay: 5
periodSeconds: 5
failureThreshold: 30
readiness:
path: /isReady
initialDelay: 5
periodSeconds: 5
failureThreshold: 30
resources:
limits:
cpu: 500m
memory: 512Mi
requests:
cpu: 200m
memory: 256Mi
env:
{{#each env}}
- name: {{@key}}
value: "{{this}}"
{{/each}}
ingresses:
{{#each ingresses as |url|}}
- {{url}}
{{/each}}
envFrom:
- secret: naisdevice-approval