ghost-export-to-s3

by rm3l

Helm chartv0.27.0App 5.82.8Verified publisher

Automated backups of headless Ghost Blogs to AWS S3. https://rm3l.org/leveraging-kubernetes-cronjobs-for-automated-backups-of-a-headless-ghost-blog-to-aws-s3/

About this chart

ghost-export-to-s3

Automated backups of headless Ghost Blogs to AWS S3. https://rm3l.org/leveraging-kubernetes-cronjobs-for-automated-backups-of-a-headless-ghost-blog-to-aws-s3/

Installation

Using the OCI registry

$ helm install my-ghost-export-to-s3 oci://ghcr.io/rm3l/helm-charts/ghost-export-to-s3 --version 0.27.0

Using the Helm repository

$ helm repo add rm3l https://helm-charts.rm3l.org
$ helm install my-ghost-export-to-s3 rm3l/ghost-export-to-s3 --version 0.27.0

See https://artifacthub.io/packages/helm/rm3l/ghost-export-to-s3?modal=install

Values

KeyTypeDefaultDescription
affinityobject{}
aws.accessKeyIdstring"my-aws-access-key-id"AWS Access Key. Must have the permissions to write to the target bucket.
aws.s3object{"destination":"s3://path/to/my/s3-export.json"}Target destination (absolute) in AWS S3, where the backup file should be written
aws.secretKeystring"my-aws-secret-key"AWS Secret Key. Must have the permissions to write to the target bucket.
cronJob.activeDeadlineSecondsint1800
cronJob.backoffLimitint1
cronJob.concurrencyPolicystring"Forbid"
cronJob.init.imagestring"curlimages/curl:8.8.0"
cronJob.init.imagePullPolicystring"IfNotPresent"
cronJob.init.resourcesobject{}
cronJob.main.imagestring"amazon/aws-cli:2.16.4"
cronJob.main.imagePullPolicystring"IfNotPresent"
cronJob.main.resourcesobject{}
cronJob.parallelismint1
cronJob.restartPolicystring"OnFailure"
cronJob.schedulestring"@daily"How frequently the Backup job should run. Cron Syntax, as supported by Kubernetes CronJobs
cronJob.ttlSecondsAfterFinishedint300
fullnameOverridestring""
ghost.apiBaseEndpointstring""Base URL for the headless Ghost CMS targeted, including the version, if needed, e.g.: https://my.ghost.blog/ghost/v4
ghost.apiBaseUrlstring"https://my.ghost.blog/ghost"Base URL for the headless Ghost CMS targeted. Deprecated. Use ghost.apiBaseEndpoint instead.
ghost.majorVersionstring"4"API Major Version. For example. this would be '4' if your version of Ghost is '4.7.0'. Deprecated. Use ghost.apiBaseEndpoint instead.
ghost.passwordstring"my-ghost-password"Ghost CMS password
ghost.usernamestring"my-ghost-username"Ghost CMS username
imagePullSecretslist[]
nameOverridestring""
nodeSelectorobject{}
podAnnotationsobject{}
podSecurityContextobject{}
resourcesobject{}
securityContextobject{}
serviceAccount.annotationsobject{}Annotations to add to the service account
serviceAccount.createbooltrueSpecifies whether a service account should be created
serviceAccount.namestringnil
tolerationslist[]

Autogenerated from chart metadata using helm-docs v1.11.0

Deploy ghost-export-to-s3 with OpenTenant

Each tenant gets its own release of this chart, with its own namespace, secrets and domain. The builder below already has ghost-export-to-s3 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 chartghost-export-to-s3 is pinned at v0.27.0 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