65 lines
1.8 KiB
YAML
65 lines
1.8 KiB
YAML
|
|
apiVersion: apps/v1
|
||
|
|
kind: Deployment
|
||
|
|
metadata:
|
||
|
|
annotations:
|
||
|
|
kompose.cmd: kompose convert -f foundry-compose.yml
|
||
|
|
kompose.version: 1.38.0 (HEAD)
|
||
|
|
labels:
|
||
|
|
io.kompose.service: foundry-vtt
|
||
|
|
name: foundry-vtt
|
||
|
|
spec:
|
||
|
|
replicas: 1
|
||
|
|
selector:
|
||
|
|
matchLabels:
|
||
|
|
io.kompose.service: foundry-vtt
|
||
|
|
strategy:
|
||
|
|
type: Recreate
|
||
|
|
template:
|
||
|
|
metadata:
|
||
|
|
annotations:
|
||
|
|
kompose.cmd: kompose convert -f foundry-compose.yml
|
||
|
|
kompose.version: 1.38.0 (HEAD)
|
||
|
|
labels:
|
||
|
|
io.kompose.service: foundry-vtt
|
||
|
|
spec:
|
||
|
|
containers:
|
||
|
|
- env:
|
||
|
|
- name: CONTAINER_PRESERVE_CONFIG
|
||
|
|
value: "true"
|
||
|
|
- name: FOUNDRY_ADMIN_KEY
|
||
|
|
valueFrom:
|
||
|
|
secretKeyRef:
|
||
|
|
name: main-pass
|
||
|
|
key: password
|
||
|
|
- name: FOUNDRY_LICENSE_KEY
|
||
|
|
valueFrom:
|
||
|
|
secretKeyRef:
|
||
|
|
name: foundry-license-key
|
||
|
|
key: license_key
|
||
|
|
- name: FOUNDRY_MINIFY_STATIC_FILES
|
||
|
|
value: "true"
|
||
|
|
- name: FOUNDRY_PASSWORD
|
||
|
|
valueFrom:
|
||
|
|
secretKeyRef:
|
||
|
|
name: foundry-password
|
||
|
|
key: password
|
||
|
|
- name: FOUNDRY_USERNAME
|
||
|
|
valueFrom:
|
||
|
|
secretKeyRef:
|
||
|
|
name: foundry-user
|
||
|
|
key: user
|
||
|
|
image: felddy/foundryvtt:release
|
||
|
|
name: foundry-vtt
|
||
|
|
ports:
|
||
|
|
- containerPort: 30000
|
||
|
|
protocol: TCP
|
||
|
|
volumeMounts:
|
||
|
|
- mountPath: /data
|
||
|
|
name: foundry-vtt-claim0
|
||
|
|
hostname: 8a7c791facf9
|
||
|
|
restartPolicy: Always
|
||
|
|
volumes:
|
||
|
|
- name: foundry-vtt-claim0
|
||
|
|
persistentVolumeClaim:
|
||
|
|
claimName: foundry-vtt-claim0
|