add foundryvtt
This commit is contained in:
parent
356f2a57a7
commit
16edd71360
4 changed files with 130 additions and 0 deletions
83
apps/foundryvtt/deployment.yaml
Normal file
83
apps/foundryvtt/deployment.yaml
Normal file
|
|
@ -0,0 +1,83 @@
|
|||
---
|
||||
apiVersion: v1
|
||||
kind: Service
|
||||
metadata:
|
||||
name: foundryvtt
|
||||
labels:
|
||||
app: foundryvtt
|
||||
spec:
|
||||
selector:
|
||||
app: foundryvtt
|
||||
type: ClusterIP
|
||||
ports:
|
||||
- port: 80
|
||||
targetPort: 8080
|
||||
protocol: TCP
|
||||
name: http
|
||||
---
|
||||
apiVersion: apps/v1
|
||||
kind: Deployment
|
||||
metadata:
|
||||
name: foundryvtt
|
||||
spec:
|
||||
selector:
|
||||
matchLabels:
|
||||
app: foundryvtt
|
||||
replicas: 1
|
||||
template:
|
||||
metadata:
|
||||
labels:
|
||||
app: foundryvtt
|
||||
spec:
|
||||
containers:
|
||||
- name: foundryvtt
|
||||
image: pgschk/foundryvtt-containerized:latest
|
||||
env:
|
||||
- name: FOUNDRYVTT_DOWNLOAD_URL
|
||||
value: "https://foundryvtt.s3.amazonaws.com/releases/11.315/FoundryVTT-11.315.zip?AWSAccessKeyId=AKIA2KJE5YZ3BCQQ6DH3&Signature=LSWU%2FeHqgM1duP89XFEi5SG8m%2FU%3D&Expires=1706911775"
|
||||
ports:
|
||||
- containerPort: 8080
|
||||
volumeMounts:
|
||||
- name: foundryvtt-data
|
||||
mountPath: /data/foundryvtt
|
||||
- name: foundryvtt-install
|
||||
mountPath: /usr/src/app/foundryvtt
|
||||
resources:
|
||||
requests:
|
||||
cpu: 150m
|
||||
memory: 500Mi
|
||||
limits:
|
||||
cpu: 1000m
|
||||
memory: 2000Mi
|
||||
securityContext:
|
||||
runAsUser: 1000
|
||||
volumes:
|
||||
- name: foundryvtt-data
|
||||
persistentVolumeClaim:
|
||||
claimName: foundryvtt-data
|
||||
- name: foundryvtt-install
|
||||
persistentVolumeClaim:
|
||||
claimName: foundryvtt-install
|
||||
---
|
||||
apiVersion: v1
|
||||
kind: PersistentVolumeClaim
|
||||
metadata:
|
||||
name: foundryvtt-data
|
||||
spec:
|
||||
accessModes:
|
||||
- ReadWriteOnce
|
||||
resources:
|
||||
requests:
|
||||
storage: 20Gi
|
||||
---
|
||||
apiVersion: v1
|
||||
kind: PersistentVolumeClaim
|
||||
metadata:
|
||||
name: foundryvtt-install
|
||||
spec:
|
||||
accessModes:
|
||||
- ReadWriteOnce
|
||||
resources:
|
||||
requests:
|
||||
storage: 2Gi
|
||||
|
||||
23
projects/games/.helmignore
Normal file
23
projects/games/.helmignore
Normal file
|
|
@ -0,0 +1,23 @@
|
|||
# Patterns to ignore when building packages.
|
||||
# This supports shell glob matching, relative path matching, and
|
||||
# negation (prefixed with !). Only one pattern per line.
|
||||
.DS_Store
|
||||
# Common VCS dirs
|
||||
.git/
|
||||
.gitignore
|
||||
.bzr/
|
||||
.bzrignore
|
||||
.hg/
|
||||
.hgignore
|
||||
.svn/
|
||||
# Common backup files
|
||||
*.swp
|
||||
*.bak
|
||||
*.tmp
|
||||
*.orig
|
||||
*~
|
||||
# Various IDEs
|
||||
.project
|
||||
.idea/
|
||||
*.tmproj
|
||||
.vscode/
|
||||
12
projects/games/Chart.yaml
Normal file
12
projects/games/Chart.yaml
Normal file
|
|
@ -0,0 +1,12 @@
|
|||
---
|
||||
apiVersion: v2
|
||||
name: media
|
||||
type: application
|
||||
version: 1.0.0
|
||||
appVersion: "1.16.1"
|
||||
description: App-of-apps for self-hosted media applications
|
||||
|
||||
dependencies:
|
||||
- name: app-of-apps
|
||||
version: 1.0.2
|
||||
repository: file://../../charts/app-of-apps
|
||||
12
projects/games/values.yaml
Normal file
12
projects/games/values.yaml
Normal file
|
|
@ -0,0 +1,12 @@
|
|||
---
|
||||
app-of-apps:
|
||||
project: default
|
||||
destination:
|
||||
server: https://kubernetes.default.svc
|
||||
source:
|
||||
repoURL: https://git.nc.landry.land/davad/argo.git
|
||||
path: apps
|
||||
apps:
|
||||
- name: foundryvtt
|
||||
namespace: ttrpg
|
||||
path: foundryvtt
|
||||
Loading…
Add table
Add a link
Reference in a new issue