Compare commits

...

7 commits

Author SHA1 Message Date
David Landry
c383a82c83 chore(foundryvtt): update timed download URL 2024-02-02 21:21:24 -05:00
David Landry
093ee3daea chore(foundryvtt): refactor to follow kustomize format 2024-02-02 21:20:31 -05:00
David Landry
2510d8590c fix: clean-up merge issue 2024-02-02 21:16:50 -05:00
David Landry
3439c614d7 Merge remote-tracking branch 'origin/main' 2024-02-02 21:14:04 -05:00
David Landry
0316032bb7 fix(projects): use internal git url 2024-02-02 17:13:20 -05:00
David Landry
16edd71360 add foundryvtt 2024-02-02 17:05:00 -05:00
David Landry
356f2a57a7 Enable self-healing for homepage 2024-02-02 17:00:03 -05:00
6 changed files with 105 additions and 3 deletions

View 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

View file

@ -0,0 +1,4 @@
apiVersion: kustomize.config.k8s.io/v1beta1
kind: Kustomization
resources:
- deployment.yaml

View 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
}

View file

@ -0,0 +1,4 @@
apiVersion: kustomize.config.k8s.io/v1beta1
kind: Kustomization
resources:
- ../../base

View file

@ -4,7 +4,7 @@ app-of-apps:
destination:
server: https://kubernetes.default.svc
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
apps:
- name: kavita

View file

@ -4,14 +4,14 @@ app-of-apps:
destination:
server: https://kubernetes.default.svc
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
apps:
- name: homepage
description: Homelab dashboard
path: ../apps/gethomepage
namespace: homepage
selfHeal: false
selfHeal: true
# - name: cert-manager
# namespace: cert-manager