-
Notifications
You must be signed in to change notification settings - Fork 8
/
Copy pathfoundry-vtt.yaml
92 lines (92 loc) · 2.68 KB
/
foundry-vtt.yaml
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
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
---
# yaml-language-server: $schema=https://raw.githubusercontent.com/bjw-s/helm-charts/common-3.0.1/charts/library/common/values.schema.json
apiVersion: helm.toolkit.fluxcd.io/v2beta1
kind: HelmRelease
metadata:
name: foundry-vtt
namespace: default
spec:
releaseName: foundry-vtt
interval: 15m
chart:
spec:
# renovate: registryUrl=https://bjw-s.github.io/helm-charts
chart: app-template
version: 3.6.0
interval: 15m
sourceRef:
kind: HelmRepository
name: bjw-s-helm-charts
namespace: flux-system
values:
controllers:
main:
strategy: Recreate
containers:
main:
image:
repository: ghcr.io/felddy/foundryvtt
pullPolicy: IfNotPresent
tag: 13.334.0@sha256:7f981a156e9884ed0ba040102d0a2ce84f6e5f2d5deca6cf290c9b84dcc18c40
env:
- name: TZ
value: America/Chicago
- name: FOUNDRY_USERNAME
value: ${SECRET_FVTT_USERNAME}
- name: FOUNDRY_PASSWORD
value: ${SECRET_FVTT_PASSWORD}
- name: FOUNDRY_HOSTNAME
value: fvtt.${SECRET_DOMAIN}
- name: FOUNDRY_LICENSE_KEY
value: ${SECRET_FVTT_LICENSE_KEY}
- name: FOUNDRY_ADMIN_KEY
value: ${SECRET_FVTT_ADMIN_KEY}
- name: FOUNDRY_PASSWORD_SALT
value: ${SECRET_FVTT_PASSWORD_SALT}
- name: FOUNDRY_MINIFY_STATIC_FILES
value: true
- name: CONTAINER_PATCHES
value: /data/container_patches
- name: FOUNDRY_PROTOCOL
value: 4
- name: FOUNDRY_PROXY_PORT
value: 443
- name: FOUNDRY_PROXY_SSL
value: true
- name: FOUNDRY_TELEMETRY
value: false
- name: FOUNDRY_UID
value: 421
- name: FOUNDRY_GID
value: 421
defaultPodOptions:
securityContext:
fsGroup: 421
fsGroupChangePolicy: "Always"
service:
main:
controller: main
ports:
http:
port: 30000
ingress:
main:
enabled: true
className: nginx-external
annotations:
kubernetes.io/tls-acme: "true"
cert-manager.io/cluster-issuer: letsencrypt-prod
hosts:
- host: fvtt.${SECRET_DOMAIN}
paths:
- path: /
pathType: Prefix
service:
identifier: main
port: http
persistence:
config:
enabled: true
existingClaim: fvtt-pvc
globalMounts:
- path: /data