forked from ocadotechnology/aimmo
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathaimmo-game-creator-deployment.yaml
40 lines (40 loc) · 1.11 KB
/
aimmo-game-creator-deployment.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
apiVersion: apps/v1
kind: Deployment
metadata:
name: aimmo-game-creator
spec:
replicas: 1
# selector identifies the set of Pods that this
# replication controller is responsible for managing
selector:
matchLabels:
app: aimmo-game-creator
# podTemplate defines the 'cookie cutter' used for creating
# new pods when necessary
template:
metadata:
labels:
# Important: these labels need to match the selector above
# The api server enforces this constraint.
app: aimmo-game-creator
spec:
serviceAccountName: game-creator
containers:
- name: aimmo-game-creator
image: ocadotechnology/aimmo-game-creator:test
imagePullPolicy: Never
ports:
- containerPort: 80
env:
- name: IMAGE_SUFFIX
value: test
- name: GAME_API_URL
value: REPLACE_ME
- name: GAME_MANAGER
value: kubernetes
- name: USING_MINIKUBE
value: 'true'
securityContext:
capabilities:
drop:
- all