-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathdp.yml
More file actions
35 lines (35 loc) · 861 Bytes
/
dp.yml
File metadata and controls
35 lines (35 loc) · 861 Bytes
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
apiVersion: apps/v1
kind: Deployment
metadata:
name: salmon
namespace: default
spec:
replicas: 1
selector:
matchLabels:
app: salmon
template:
metadata:
labels:
app: salmon
cheetah.o7.studio/app: minecraft
cheetah.o7.studio/fallback: "true"
dolphin.o7.studio/app: minecraft
dolphin.o7.studio/fallback: "true"
spec:
containers:
- name: salmon
image: ghcr.io/o7studios/salmon:latest
imagePullPolicy: "Always"
volumeMounts:
- name: floodgate
mountPath: /paper/plugins/floodgate/key.pem
subPath: key.pem
readOnly: true
ports:
- containerPort: 25565
name: minecraft
volumes:
- name: floodgate
secret:
secretName: floodgate