foundryvtt

by wittdennis

Helm chartv15.2.8App 14.370.1MITVerified publisher

A Helm chart for Foundry VTT

About this chart

foundryvtt

A Helm chart for Foundry VTT

Maintainers

NameEmailUrl
Dennis Witthttps://github.com/wittdennis

Source Code

Values

KeyTypeDefaultDescription
affinityobject{}
config.adminKeySecretobject{"key":"admin-key","name":null}Secret containing the admin password for the instance
config.adminKeySecret.keystring"admin-key"Key containing the admin password
config.adminKeySecret.namestringnilName of the secret
config.awsConfigSecretobject{"key":"awsConfig.json","name":null}Secret containing awsConfig.json
config.awsConfigSecret.keystring"awsConfig.json"Key containing the aws config
config.awsConfigSecret.namestringnilName of the secret
config.cssThemestring"dark"Choose the CSS theme for the setup page. Valid values are dark, fantasy, and scifi.
config.defaultWorldstringnilThe default world to load when the server has started
config.deleteNeDbFilesboolfalseSet to true to automatically delete legacy NeDB .db files after they have been migrated to the LevelDB format introduced in Version 11. Enabling this recovers disk space but removes the ability to roll back to a pre-migration state. Only relevant for data volumes previously used with Foundry Version 10 or earlier.
config.disableBackupsboolfalseSet to true to disable the automatic backup of world data that Foundry creates before performing major version migrations. Users with an external backup strategy or constrained storage may wish to enable this.
config.downloadRetriesint3Number of times the container will try to download the foundry binary
config.enableTelemetryboolfalseDefines if telemetry data are allowed to be tracked
config.foundryAuthSecretobject{"name":null,"passwordKey":"password","usernameKey":"username"}Secret containing username and password foundryvtt.com needed to download the foundry binaries
config.foundryAuthSecret.namestringnilName of the secret containing the login data
config.foundryAuthSecret.passwordKeystring"password"Key containing the password
config.foundryAuthSecret.usernameKeystring"username"Key containing the username
config.licenseKeySecretobject{"key":"license-key","name":null}Can be used to specify a specific foundry license key
config.licenseKeySecret.keystring"license-key"Key containing the license key
config.licenseKeySecret.namestringnilName of the secret containing the license key
config.logFileSizestring"64M"The maximum size a log file can reach before it is rotated. Units must be included. e.g.; 1024k, 64m, 1g.
config.maxNumberOfLogFilesint10The maximum number of log files to retain before older ones are deleted.
config.minifyStaticFilesbooltrueDefines if static files should be minified
config.preserveConfigboolfalseDefines if in-app configuration changes should be preserved across container restarts
fullnameOverridestring""
imageobject{"pullPolicy":"IfNotPresent","registry":"ghcr.io","repository":"felddy/foundryvtt","tag":null}This sets the container image more information can be found here: https://kubernetes.io/docs/concepts/containers/images/
image.pullPolicystring"IfNotPresent"This sets the pull policy for images.
image.registrystring"ghcr.io"Registry of the image
image.repositorystring"felddy/foundryvtt"Repository of the image
image.tagstringnilOverrides the image tag whose default is the chart appVersion.
imagePullSecretslist[]This is for the secretes for pulling an image from a private repository more information can be found here: https://kubernetes.io/docs/tasks/configure-pod-container/pull-image-private-registry/
ingressobject{"annotations":{},"className":"","enabled":false,"hosts":[{"host":"chart-example.local","paths":[{"path":"/","pathType":"ImplementationSpecific"}]}],"tls":[]}This block is for setting up the ingress for more information can be found here: https://kubernetes.io/docs/concepts/services-networking/ingress/
livenessProbeobject{"failureThreshold":10,"httpGet":{"path":"/","port":"http"},"initialDelaySeconds":600,"periodSeconds":300}This is to setup the liveness probe more information can be found here: https://kubernetes.io/docs/tasks/configure-pod-container/configure-liveness-readiness-startup-probes/
nameOverridestring""This is to override the chart name.
nodeSelectorobject{}
podAnnotationsobject{}This is for setting Kubernetes Annotations to a Pod. For more information checkout: https://kubernetes.io/docs/concepts/overview/working-with-objects/annotations/
podLabelsobject{}This is for setting Kubernetes Labels to a Pod. For more information checkout: https://kubernetes.io/docs/concepts/overview/working-with-objects/labels/
podSecurityContext.fsGroupint1000
podSecurityContext.fsGroupChangePolicystring"OnRootMismatch"
podSecurityContext.runAsGroupint1000
podSecurityContext.runAsNonRootbooltrue
podSecurityContext.runAsUserint1000
podSecurityContext.seccompProfile.typestring"RuntimeDefault"
readinessProbeobject{"failureThreshold":18,"httpGet":{"path":"/","port":"http"},"initialDelaySeconds":30,"periodSeconds":10,"successThreshold":1,"timeoutSeconds":5}This is to setup the readiness probe more information can be found here: https://kubernetes.io/docs/tasks/configure-pod-container/configure-liveness-readiness-startup-probes/
resourcesobject{}Resources for the foundry container
routeobject{"additionalRules":[],"annotations":{},"enabled":false,"filters":[],"hostnames":[],"labels":{},"matches":[{"path":{"type":"PathPrefix","value":"/"}}],"parentRefs":[]}This block is for setting up gateway api http route. More information can be found here: https://gateway-api.sigs.k8s.io/
route.additionalRuleslist[]Any custom rule you want to specify
route.annotationsobject{}Additional annotations for the HTTPRoute
route.enabledboolfalseFlag to control if route should be created
route.filterslist[]Filter that should be added to the default rule
route.hostnameslist[]Hostnames of the HTTPRoute
route.labelsobject{}Additional labels for the HTTPRoute
route.matcheslist[{"path":{"type":"PathPrefix","value":"/"}}]Matches for the default rule
route.parentRefslist[]Gateway reference that the HTTPRoute should bind against
securityContext.allowPrivilegeEscalationboolfalse
securityContext.readOnlyRootFilesystemboolfalse
securityContext.runAsGroupint1000
securityContext.runAsNonRootbooltrue
securityContext.runAsUserint1000
securityContext.seccompProfile.typestring"RuntimeDefault"
serviceobject{"port":80,"type":"ClusterIP"}This is for setting up a service more information can be found here: https://kubernetes.io/docs/concepts/services-networking/service/
service.portint80This sets the ports more information can be found here: https://kubernetes.io/docs/concepts/services-networking/service/#field-spec-ports
service.typestring"ClusterIP"This sets the service type more information can be found here: https://kubernetes.io/docs/concepts/services-networking/service/#publishing-services-service-types
serviceAccountobject{"annotations":{},"automount":false,"create":true,"name":null}This section builds out the service account more information can be found here: https://kubernetes.io/docs/concepts/security/service-accounts/
serviceAccount.annotationsobject{}Annotations to add to the service account
serviceAccount.automountboolfalseAutomatically mount a ServiceAccount's API credentials?
serviceAccount.createbooltrueSpecifies whether a service account should be created
serviceAccount.namestringnilThe name of the service account to use. If not set and create is true, a name is generated using the fullname template.
startupProbeobject{"failureThreshold":18,"httpGet":{"path":"/","port":"http","scheme":"HTTP"},"periodSeconds":10,"timeoutSeconds":5}This is to setup the startup probe more information can be found here: https://kubernetes.io/docs/tasks/configure-pod-container/configure-liveness-readiness-startup-probes/
storageobject{"className":null,"size":"10Gi"}This configures the storage for the data drive
storage.classNamestringnilThe storage class name to use
storage.sizestring"10Gi"The size the pv should have
tolerationslist[]

Deploy foundryvtt with OpenTenant

Each tenant gets its own release of this chart, with its own namespace, secrets and domain. The builder below already has foundryvtt on a Hetzner server. Change the host, add apps from the marketplace, then copy the generated files. Providers and prices are samples, and nothing here is sent anywhere.

  1. Pick a serverConnect Hetzner, OVHcloud or AWS. The builder starts on Hetzner, the cheapest sample rate.
  2. Place the chartfoundryvtt is pinned at v15.2.8 in opentenant.yaml. Drag more apps from the marketplace onto a rack.
  3. ApplySave opentenant.yaml and main.tf from the console, then run the commands below.
# opentenant.yaml, main.tf and dns.tf come from the builder below
opentenant validate opentenant.yaml
terraform init && terraform apply