ghost-export-to-s3
by rm3l
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
| Key | Type | Default | Description |
|---|---|---|---|
| affinity | object | {} | |
| aws.accessKeyId | string | "my-aws-access-key-id" | AWS Access Key. Must have the permissions to write to the target bucket. |
| aws.s3 | object | {"destination":"s3://path/to/my/s3-export.json"} | Target destination (absolute) in AWS S3, where the backup file should be written |
| aws.secretKey | string | "my-aws-secret-key" | AWS Secret Key. Must have the permissions to write to the target bucket. |
| cronJob.activeDeadlineSeconds | int | 1800 | |
| cronJob.backoffLimit | int | 1 | |
| cronJob.concurrencyPolicy | string | "Forbid" | |
| cronJob.init.image | string | "curlimages/curl:8.8.0" | |
| cronJob.init.imagePullPolicy | string | "IfNotPresent" | |
| cronJob.init.resources | object | {} | |
| cronJob.main.image | string | "amazon/aws-cli:2.16.4" | |
| cronJob.main.imagePullPolicy | string | "IfNotPresent" | |
| cronJob.main.resources | object | {} | |
| cronJob.parallelism | int | 1 | |
| cronJob.restartPolicy | string | "OnFailure" | |
| cronJob.schedule | string | "@daily" | How frequently the Backup job should run. Cron Syntax, as supported by Kubernetes CronJobs |
| cronJob.ttlSecondsAfterFinished | int | 300 | |
| fullnameOverride | string | "" | |
| ghost.apiBaseEndpoint | string | "" | Base URL for the headless Ghost CMS targeted, including the version, if needed, e.g.: https://my.ghost.blog/ghost/v4 |
| ghost.apiBaseUrl | string | "https://my.ghost.blog/ghost" | Base URL for the headless Ghost CMS targeted. Deprecated. Use ghost.apiBaseEndpoint instead. |
| ghost.majorVersion | string | "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.password | string | "my-ghost-password" | Ghost CMS password |
| ghost.username | string | "my-ghost-username" | Ghost CMS username |
| imagePullSecrets | list | [] | |
| nameOverride | string | "" | |
| nodeSelector | object | {} | |
| podAnnotations | object | {} | |
| podSecurityContext | object | {} | |
| resources | object | {} | |
| securityContext | object | {} | |
| serviceAccount.annotations | object | {} | Annotations to add to the service account |
| serviceAccount.create | bool | true | Specifies whether a service account should be created |
| serviceAccount.name | string | nil | |
| tolerations | list | [] |
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.
- Pick a serverConnect Hetzner, OVHcloud or AWS. The builder starts on Hetzner, the cheapest sample rate.
- Place the chartghost-export-to-s3 is pinned at v0.27.0 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