GoBackup is a CLI and Web UI for database backups to local, cloud or remote storage with notification support
About this chart
FMJ Studios - GoBackup Helm Chart
GoBackup is a CLI and Web UI for database backups to local, cloud or remote storage (FTP, SCP, S3, GCS, Aliyun
OSS ...) with encryption support. It supports running these tasks on a schedule defined within a configuration file.
Sending automatic notifications to a wide array of services (Slack, SMTP, Discord, GitHub, ...) is also supported. It
delivers all of these features within a single Docker image available
on Docker Hub.
This chart bootstraps a GoBackup Deployment on
a Kubernetes cluster using the Helm package manager. For cluster networking
a Service
and Ingress manifest is also created, whereas the
Ingress needs to be explicitly enabled. Lastly the chart configures
a PodDisruptionBudget if
enabled. RBAC manifests are enabled by default.
The chart supports the configuration of all GoBackup configuration options
via the gobackup key in Helm's values and makes use of the official Docker Hub container image, although this is
configurable via the Image Parameters.
Parameters
Image parameters
Name
Description
Value
image.registry
The Docker registry to pull the image from
docker.io
image.repository
The registry repository to pull the image from
huacnlee/gobackup
image.tag
The image tag to pull
v2.11.2
image.digest
The image digest to pull
""
image.pullPolicy
The Kubernetes image pull policy
IfNotPresent
image.pullSecrets
A list of secrets to use for pulling images from private registries
[]
Name overrides
Name
Description
Value
nameOverride
String to partially override gobackup.fullname
""
fullnameOverride
String to fully override gobackup.fullname
""
GoBackup Configuration parameters
Name
Description
Value
gobackup.workdir
Define a working directory for GoBackup to generate temporary files
/tmp
gobackup.web.host
The host the network socket should bind to. You will most likely never change this.
""
gobackup.web.port
The port to bind the network socket to
2703
gobackup.web.username
The HTTP Basic Auth username
""
gobackup.web.password
The HTTP Basic Auth password
""
gobackup.web.existingSecret
The name of a basic-auth secret containing aforementioned credentials
""
gobackup.models[0].name
The name of the model to create (the YAML keys everything is nested under, e.g. model_name1 in ref)
default
gobackup.models[0].description
Define a description for this GoBackup model
Default GoBackup model
gobackup.models[0].default
Set a default storage name
default
gobackup.models[0].schedule
Configure a schedule on which the model should run
{}
gobackup.models[0].scripts.before
A script to be executed before the backup
""
gobackup.models[0].scripts.after
A script to be executed after the backup
""
gobackup.models[0].databases
Configure the databases in the model
[]
gobackup.models[0].storages
Configure the storages in the model
[]
gobackup.models[0].notifiers
Configure the notifiers in the model
[]
gobackup.models[0].compression
The compression format used for created backups (e.g. tgz)
""
gobackup.models[0].encryption
The encryption configuration (locked to type openssl)
{}
gobackup.models[0].archive
Configure archival of directories
{}
gobackup.models[0].splitter
Configure backup chunking
{}
configMap.annotations
Annotations for the ConfigMap resource
{}
configMap.labels
Extra Labels for the ConfigMap resource
{}
Common Secret parameters
Name
Description
Value
secret.annotations
Common annotations for the SMTP, HIBP, Admin and Database secrets
{}
secret.labels
Common extra labels for the SMTP, HIBP, Admin and Database secrets
{}
Ingress parameters
Name
Description
Value
ingress.enabled
Whether to enable Ingress
false
ingress.className
The IngressClass to use for the pod's ingress
""
ingress.whitelist
A comma-separated list of IP addresses to whitelist
""
ingress.annotations
Annotations for the Ingress resource
{}
ingress.tls
A list of hostnames and secret names to use for TLS
[]
ingress.hosts
A list of hosts for the Ingress resource
[]
Service parameters
Name
Description
Value
service.type
The type of service to create
ClusterIP
service.port
The port to use on the service
8273
service.nodePort
The Node port to use on the service
30080
service.extraPorts
Extra ports to add to the service
[]
service.annotations
Annotations for the service resource
{}
service.labels
Labels for the service resource
{}
service.externalTrafficPolicy
The external traffic policy for the service
Cluster
service.internalTrafficPolicy
The internal traffic policy for the service
Cluster
service.clusterIP
Define a static cluster IP for the service
""
service.loadBalancerIP
Set the Load Balancer IP
""
service.loadBalancerClass
Define Load Balancer class if service type is LoadBalancer (optional, cloud specific)
""
service.loadBalancerSourceRanges
Service Load Balancer source ranges
[]
service.externalIPs
Service External IPs
[]
service.sessionAffinity
Session Affinity for Kubernetes service, can be "None" or "ClientIP"
None
service.sessionAffinityConfig
Additional settings for the sessionAffinity
{}
service.ipFamilyPolicy
The ipFamilyPolicy
{}
RBAC parameters
Name
Description
Value
rbac.create
Whether to create RBAC resources
true
rbac.rules
Extra rules to add to the Role
[]
Service Account parameters
Name
Description
Value
serviceAccount.create
Whether a service account should be created
true
serviceAccount.automount
Whether to automount the service account token
false
serviceAccount.annotations
Annotations to add to the service account
{}
serviceAccount.name
A custom name for the service account, otherwise gobackup.fullname is used
""
serviceAccount.secrets
A list of secrets mountable by this service account
[]
Liveness Probe parameters
Name
Description
Value
livenessProbe.enabled
Enable or disable the use of liveness probes
false
livenessProbe.initialDelaySeconds
Configure the initial delay seconds for the liveness probe
5
livenessProbe.timeoutSeconds
Configure the initial delay seconds for the liveness probe
1
livenessProbe.periodSeconds
Configure the seconds for each period of the liveness probe
10
livenessProbe.successThreshold
Configure the success threshold for the liveness probe
1
livenessProbe.failureThreshold
Configure the failure threshold for the liveness probe
10
Readiness Probe parameters
Name
Description
Value
readinessProbe.enabled
Enable or disable the use of readiness probes
false
readinessProbe.initialDelaySeconds
Configure the initial delay seconds for the readiness probe
5
readinessProbe.timeoutSeconds
Configure the initial delay seconds for the readiness probe
1
readinessProbe.periodSeconds
Configure the seconds for each period of the readiness probe
10
`readine
Deploy gobackup with OpenTenant
Each tenant gets its own release of this chart, with its own namespace, secrets and domain. The builder below already has gobackup 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 serverConnect Hetzner, OVHcloud or AWS. The builder starts on Hetzner, the cheapest sample rate.
Place the chartgobackup is pinned at v0.2.2 in opentenant.yaml. Drag more apps from the marketplace onto a rack.
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