-
Notifications
You must be signed in to change notification settings - Fork 1
/
nais.yaml
47 lines (40 loc) · 1.11 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
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
- host: repo.enonic.com
- host: github.com
- host: raw.githubusercontent.com
resources:
limits:
memory: 2Gi
requests:
memory: 1Gi
ttl: 168h
prometheus:
enabled: false
env:
- name: VHOST_HOST
value: ssbno-{{branch}}.external.test.ssb.cloud.nais.io
ingresses:
- https://ssbno-{{branch}}.external.test.ssb.cloud.nais.io # must match vhost