-
Notifications
You must be signed in to change notification settings - Fork 1
/
nais.yaml
77 lines (70 loc) · 1.79 KB
/
nais.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
apiVersion: nais.io/v1alpha1
kind: Application
metadata:
name: mimir-branch-{{branch}}
namespace: ssbno
annotations:
nais.io/read-only-file-system: 'false'
nais.io/run-as-user: '1337'
labels:
team: ssbno
spec:
image: '{{ image }}'
# image: europe-north1-docker.pkg.dev/nais-management-b3a7/ssbno/ssbno-mimir/mimir:...
# ^--- interpolated from the ${{ env.docker_image }} variable in the action
replicas:
disableAutoScaling: true
max: 1
min: 1
port: 8080
# Server needs to be able to access these hosts to download and install apps from market, not a complete list, some apps can't be installed
accessPolicy:
outbound:
external:
- host: market.enonic.com
ports:
- port: 443
- host: repo.enonic.com
ports:
- port: 443
- host: github.com
ports:
- port: 22
- port: 9418
- host: raw.githubusercontent.com
ports:
- port: 22
- port: 443
- host: www.qa.ssb.no
ports:
- port: 443
- host: i.qa.ssb.no
ports:
- port: 443
- host: ext-i.qa.ssb.no
ports:
- port: 443
- host: data.qa.ssb.no
ports:
- port: 443
- host: statreg-rapport.staging.ssb.no
ports:
- port: 443
resources:
limits:
memory: 4Gi
requests:
memory: 2Gi
ttl: 168h
prometheus:
enabled: false
envFrom:
- secret: gitpull-config
filesFrom:
- secret: gitpull-key-private
mountPath: /enonic-xp/home/config/ssh
env:
- name: VHOST_HOST
value: ssbno-{{branch}}.intern.test.ssb.no
ingresses:
- https://ssbno-{{branch}}.intern.test.ssb.no # must match vhost