Compare commits
7 commits
a96b5f8fa5
...
c383a82c83
| Author | SHA1 | Date | |
|---|---|---|---|
|
|
c383a82c83 | ||
|
|
093ee3daea | ||
|
|
2510d8590c | ||
|
|
3439c614d7 | ||
|
|
0316032bb7 | ||
|
|
16edd71360 | ||
|
|
356f2a57a7 |
6 changed files with 105 additions and 3 deletions
83
apps/foundryvtt/base/deployment.yaml
Normal file
83
apps/foundryvtt/base/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-Setup.exe?AWSAccessKeyId=AKIA2KJE5YZ3BCQQ6DH3&Signature=HSnWSl09cJvf1aq5lVOQfRgEFOA%3D&Expires=1706927160"
|
||||||
|
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
|
||||||
|
|
||||||
4
apps/foundryvtt/base/kustomization.yaml
Normal file
4
apps/foundryvtt/base/kustomization.yaml
Normal file
|
|
@ -0,0 +1,4 @@
|
||||||
|
apiVersion: kustomize.config.k8s.io/v1beta1
|
||||||
|
kind: Kustomization
|
||||||
|
resources:
|
||||||
|
- deployment.yaml
|
||||||
11
apps/foundryvtt/overlays/games/config.json
Normal file
11
apps/foundryvtt/overlays/games/config.json
Normal file
|
|
@ -0,0 +1,11 @@
|
||||||
|
{
|
||||||
|
"appName": "foundryvtt",
|
||||||
|
"userGivenName": "foundryvtt",
|
||||||
|
"destNamespace": "ttrpg",
|
||||||
|
"destServer": "https://kubernetes.default.svc",
|
||||||
|
"srcPath": "apps/foundryvtt/overlays/games",
|
||||||
|
"srcRepoURL": "ssh://git@gitea-ssh.gitops.svc.cluster.local:2222/davad/argo.git",
|
||||||
|
"srcTargetRevision": "",
|
||||||
|
"labels": null,
|
||||||
|
"annotations": null
|
||||||
|
}
|
||||||
4
apps/foundryvtt/overlays/games/kustomization.yaml
Normal file
4
apps/foundryvtt/overlays/games/kustomization.yaml
Normal file
|
|
@ -0,0 +1,4 @@
|
||||||
|
apiVersion: kustomize.config.k8s.io/v1beta1
|
||||||
|
kind: Kustomization
|
||||||
|
resources:
|
||||||
|
- ../../base
|
||||||
|
|
@ -4,7 +4,7 @@ app-of-apps:
|
||||||
destination:
|
destination:
|
||||||
server: https://kubernetes.default.svc
|
server: https://kubernetes.default.svc
|
||||||
source:
|
source:
|
||||||
repoURL: https://git.nc.landry.land/davad/argo.git
|
repoURL: ssh://git@gitea-ssh.gitops.svc.cluster.local:2222/davad/argo.git
|
||||||
path: apps
|
path: apps
|
||||||
apps:
|
apps:
|
||||||
- name: kavita
|
- name: kavita
|
||||||
|
|
|
||||||
|
|
@ -4,14 +4,14 @@ app-of-apps:
|
||||||
destination:
|
destination:
|
||||||
server: https://kubernetes.default.svc
|
server: https://kubernetes.default.svc
|
||||||
source:
|
source:
|
||||||
repoURL: https://git.nc.landry.land/davad/argo.git
|
repoURL: ssh://git@gitea-ssh.gitops.svc.cluster.local:2222/davad/argo.git
|
||||||
path: system
|
path: system
|
||||||
apps:
|
apps:
|
||||||
- name: homepage
|
- name: homepage
|
||||||
description: Homelab dashboard
|
description: Homelab dashboard
|
||||||
path: ../apps/gethomepage
|
path: ../apps/gethomepage
|
||||||
namespace: homepage
|
namespace: homepage
|
||||||
selfHeal: false
|
selfHeal: true
|
||||||
|
|
||||||
# - name: cert-manager
|
# - name: cert-manager
|
||||||
# namespace: cert-manager
|
# namespace: cert-manager
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue