OpenTenant / Marketplace / foomo / contentserver
About this chart
contentserver
Helm chart for the foomo Content Server.
Homepage: https://www.foomo.org
Resources
Values Autoscaling Key Type Default Description
autoscaling.additionalMetrics object {}Additional scaling metrics
autoscaling.behavior object {}Autoscaling behavior settings
autoscaling.enabled bool falseSpecifies whether a auto scaling should be enabled
autoscaling.maxReplicas int 9Maximum replication number
autoscaling.maxUnavailable int 1Maximum unavailablity
autoscaling.minAvailable string ""Minimum availablity
autoscaling.minReplicas int 1Minimum replication number
autoscaling.targetCPU int 75Target CPU utilization
autoscaling.targetMemory string nilTarget Memory utilization
Content Server Key Type Default Description
contentserver.annotations object {}Content Server annotations
contentserver.basePath string "/contentserver"Path to export the webserver on
contentserver.extraArgs list []Arguements to add
contentserver.extraEnv list []Environment variables to add
contentserver.extraEnvFrom list []Environment variables from secrets or configmaps to add
contentserver.extraLabels object {}Additional Content Server labels
contentserver.extraPorts list []Port definitions to add
contentserver.extraVolumeMounts list []Volume mounts to add
contentserver.extraVolumes list []Volumes to add
contentserver.hostAliases list []Host aliases
contentserver.image.pullPolicy string "IfNotPresent"Image tag
contentserver.image.repository string "foomo/contentserver"Image repository
contentserver.image.tag string "1.21.2"Image tag
contentserver.imagePullSecrets list []Image pull secrets
contentserver.livenessProbe object {"httpGet":{"path":"/healthz/liveness","port":9400}}Liveness probe settings for pods
contentserver.podAnnotations object {}Annotations for pods
contentserver.podLabels object {}Labels for pods
contentserver.readinessProbe object {"httpGet":{"path":"/healthz/readiness","port":9400}}Readiness probe settings for pods
contentserver.repository.poll bool falseIf true, the address arg will be used to periodically poll the content url e.g. http://contentserverexport:8080/poll-revision
contentserver.repository.pollInterval string "60s"Update poll interval
contentserver.repository.url string "http://contentserverexport:8080"Repository server url
contentserver.resources object {}Resource request & limits
contentserver.securityContext.allowPrivilegeEscalation bool falseControls whether a process can gain more privileges than its parent process
contentserver.securityContext.capabilities object {"drop":["ALL"]}Grant certain privileges to a process without granting all the privileges of the root user
contentserver.securityContext.readOnlyRootFilesystem bool trueMounts the container's root filesystem as read-only
contentserver.startupProbe object {"httpGet":{"path":"/healthz/startup","port":9400}}Startup probe settings for pods
Overrides Key Type Default Description
fullnameOverride string ""Overrides the chart's computed fullname
nameOverride string ""Overrides the chart's name
namespaceOverride string ""The name of the Namespace to deploy
Graceful Shutdown Key Type Default Description
graceful.delaySeconds int 15Seconds to wait for kubernetes to deregister
graceful.enabled bool falseIndicates wether graceful shutdown is enabled
graceful.periodSeconds int 45Total seconds for the grace period
Ingress Key Type Default Description
ingress.additionalLabels object {}Additional labels
ingress.annotations object {}Ingress annotations
ingress.className string ""Ingress class name
ingress.enabled bool falseIndicates wether the ingress is enabled or not
ingress.hosts list []List of hosts
ingress.paths list []List of hosts
ingress.tls list []TLS settings
Logging Key Type Default Description
log.disableCaller bool falseLog caller
log.level string "info"Log level
log.mode string "prod"Log mode
Network Policy Key Type Default Description
networkPolicy.egress.additionalRules list []Additional egress rules
networkPolicy.egress.allowExternal bool trueAllow ingress through labels
networkPolicy.egress.enabled bool trueSpecifies whether egress should be enabled
networkPolicy.enabled bool falseSpecifies whether Network Policies should be created
networkPolicy.ingress.additionalRules list []Additional ingress rules
networkPolicy.ingress.allowExternal bool trueAllow ingress through labels
networkPolicy.ingress.enabled bool trueSpecifies whether ingress should be enabled
networkPolicy.rules list []List of rules to apply via labels
OpenTelemetry Key Type Default Description
otel.enabled bool falseIndicates wether to enable it or not
otel.otlp object {"endpoint":"http://alloy:4317","insecure":true}OTLP exporter settings
otel.otlp.endpoint string "http://alloy:4317"Enpoint uri
otel.otlp.insecure bool trueIndicates wether to use insecure connection
otel.profile object {"block":{"enabled":false},"endpoint":"http://pyroscope:4040","mutex":{"enabled":false}}OTLP profile settings
otel.profile.block object {"enabled":false}OTLP profile block settings
otel.profile.block.enabled bool falseIndicates wether to enable it or not
otel.profile.endpoint string "http://pyroscope:4040"Enpoint uri
otel.profile.mutex object {"enabled":false}OTLP profile mutex settings
otel.profile.mutex.enabled bool falseIndicates wether to enable it or not
otel.ratio int 1Trace ratio
Persistence Key Type Default Description
persistence.accessModes list ["ReadWriteOnce"]Access modes for the PVC
persistence.annotations object {}Annotations for the PVC
persistence.enabled bool falseEnable persistent storage
persistence.labels object {}Labels for the PVC
persistence.path string "/var/lib/contentserver"File storage location
persistence.size string "1Gi"Storage size
persistence.storageClass string ""Storage class to be used
RBAC Key Type Default Description
rbac.enabled bool falseCreate PodSecurityPolicy
General Key Type Default Description
replicas int 1Number of replications
revisionHistoryLimit int 10Number of revisions to keep
updateStrategy string "RollingUpdate"Deployment update strategy
Routing Key Type Default Description
routing.enabled bool falseIndicates wether routing is enabled or not
routing.hostnames list []Hostnames matched by the route; defaults to the listener hostname (supports tpl)
routing.parentRefs list []Parent references
routing.paths list []Path matches
Scheduling Key Type Default Description
scheduling.affinity object {"requiredDuringSchedulingIgnoredDuringExecution":{"nodeSelectorTerms":[{"matchExpressions":[{"key":"node-role.kubernetes.io/control-plane","operator":"In","values":[""]}]}]}}Affinity for pod assignment
scheduling.enabled bool falseIndicates wether scheduling is enabled or not
scheduling.nodeSelector object {}Node labels for pod assignment
scheduling.priorityClass string nilPriority class name
scheduling.tolerations list []Tolerations for pod assignment
scheduling.topologySpreadConstraints list [{"matchLabelKeys":["pod-template-hash"],"maxSkew":1,"topologyKey":"kubernetes.io/hostname","whenUnsatisfiable":"DoNotSchedule"},{"maxSkew":1,"topologyKey":"topology.kubernetes.io/zone","whenUnsatisfiable":"ScheduleAnyway"}]Tolerations for pod assignment
Security Context Key Type Default Description
securityContext.fsGroup int 1001File system group id
securityContext.runAsGroup int 1001Run as group id
securityContext.runAsNonRoot bool trueIndicates wether to run as non root user
securityContext.runAsUser int 1001Run as user id
securityContext.seccompProfile object {"type":"RuntimeDefault"}Restrict a Container's Syscalls with seccomp
Service Key Type Default Description
service.additionalLabels object {}Additional Service labels
service.annotations object {}Service annotations
service.type string "ClusterIP"Service type
Service Account Key Type Default Description
serviceAccount.annotations object {}Annotations to add to the service account
serviceAccount.automount bool falseAutomatically mount a ServiceAccount's API credentials?
serviceAccount.create bool falseSpecifies whether a service account should be created
serviceAccount.name string ""The name of the service account to use.
Service Monitor Key Type Default Description
serviceMonitor.additionalLabels object {}Additional ServiceMonitor labels
serviceMonitor.annotations object {}ServiceMonitor annotations
serviceMonitor.enabled bool falseIf enabled, ServiceMonitor resources for Prometheus Operator are created
serviceMonitor.interval string ""ServiceMonitor scrape interval
serviceMonitor.metricRelabelings list []ServiceMonitor metric relabel configs to apply to samples before ingestion
serviceMonitor.relabelings list []ServiceMonitor relabel configs to apply to samples before scraping.
serviceMonitor.scrapeTimeout string ""ServiceMonitor scrape timeout in Go duration format (e.g. 15s)
serviceMonitor.targetLabels list []ServiceMonitor will add labels from the service to the Prometheus metric
Other Values Key Type Default Description
extraObjects object {}
Deploy contentserver with OpenTenant
Each tenant gets its own release of this chart, with its own namespace, secrets and domain. The builder below already has contentserver 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.
Pick a server Connect Hetzner, OVHcloud or AWS. The builder starts on Hetzner, the cheapest sample rate.Place the chart contentserver is pinned at v0.8.1 in opentenant.yaml. Drag more apps from the marketplace onto a rack.Apply Save 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 Copy