ghost
Ghost is an open source publishing platform designed to create blogs, magazines, and news sites. It includes a simple markdown editor with preview, theming, and SEO built-in to simplify editing.
About this chart
Ghost packaged by Bitnami
Ghost is an open source publishing platform designed to create blogs, magazines, and news sites. It includes a simple markdown editor with preview, theming, and SEO built-in to simplify editing.
Trademarks: This software listing is packaged by Bitnami. The respective trademarks mentioned in the offering are owned by the respective companies, and use of them does not imply any affiliation or endorsement.
Azure-ready Charts with Containers from marketplace.azurecr.io
This Helm Chart has been configured to pull the Container Images from the Azure Marketplace Public Repository. The following command allows you to download and install all the charts from this repository.
$ helm repo add bitnami-azure https://marketplace.azurecr.io/helm/v1/repo
TL;DR
$ helm repo add my-repo https://charts.bitnami.com/bitnami
$ helm install my-release my-repo/ghost
Introduction
This chart bootstraps a Ghost deployment on a Kubernetes cluster using the Helm package manager.
It also packages the Bitnami MySQL chart which is required for bootstrapping a MySQL deployment for the database requirements of the Ghost application.
Bitnami charts can be used with Kubeapps for deployment and management of Helm Charts in clusters.
Prerequisites
- Kubernetes 1.19+
- Helm 3.2.0+
- PV provisioner support in the underlying infrastructure
- ReadWriteMany volumes for deployment scaling
Installing the Chart
To install the chart with the release name my-release:
$ helm install my-release my-repo/ghost
The command deploys Ghost on the Kubernetes cluster in the default configuration. The Parameters section lists the parameters that can be configured during installation.
Tip: List all releases using
helm list
Uninstalling the Chart
To uninstall/delete the my-release deployment:
$ helm delete my-release
The command removes all the Kubernetes components associated with the chart and deletes the release.
Parameters
Global parameters
| Name | Description | Value |
|---|---|---|
global.imageRegistry | Global Docker image registry | "" |
global.imagePullSecrets | Global Docker registry secret names as an array | [] |
global.storageClass | Global StorageClass for Persistent Volume(s) | "" |
Common parameters
| Name | Description | Value |
|---|---|---|
kubeVersion | Override Kubernetes version | "" |
nameOverride | String to partially override common.names.fullname | "" |
fullnameOverride | String to fully override common.names.fullname | "" |
commonLabels | Labels to add to all deployed objects | {} |
commonAnnotations | Annotations to add to all deployed objects | {} |
clusterDomain | Kubernetes cluster domain name | cluster.local |
extraDeploy | Array of extra objects to deploy with the release | [] |
Ghost Image parameters
| Name | Description | Value |
|---|---|---|
image.registry | Ghost image registry | docker.io |
image.repository | Ghost image repository | bitnami/ghost |
image.tag | Ghost image tag (immutable tags are recommended) | 5.20.0-debian-11-r0 |
image.digest | Ghost image digest in the way sha256:aa.... Please note this parameter, if set, will override the tag | "" |
image.pullPolicy | Ghost image pull policy | IfNotPresent |
image.pullSecrets | Ghost image pull secrets | [] |
image.debug | Enable image debug mode | false |
Ghost Configuration parameters
| Name | Description | Value |
|---|---|---|
ghostUsername | Ghost user name | user |
ghostPassword | Ghost user password | "" |
existingSecret | Name of existing secret containing Ghost credentials | "" |
ghostEmail | Ghost user email | [email protected] |
ghostBlogTitle | Ghost Blog title | User's Blog |
ghostHost | Ghost host to create application URLs | "" |
ghostPath | URL sub path where to server the Ghost application | / |
ghostEnableHttps | Configure Ghost to build application URLs using https | false |
smtpHost | SMTP server host | "" |
smtpPort | SMTP server port | "" |
smtpUser | SMTP username | "" |
smtpPassword | SMTP user password | "" |
smtpService | SMTP service | "" |
smtpProtocol | SMTP protocol (ssl or tls) | "" |
smtpExistingSecret | The name of an existing secret with SMTP credentials | "" |
allowEmptyPassword | Allow the container to be started with blank passwords | true |
ghostSkipInstall | Skip performing the initial bootstrapping for Ghost | false |
command | Override default container command (useful when using custom images) | [] |
args | Override default container args (useful when using custom images) | [] |
extraEnvVars | Array with extra environment variables to add to the Ghost container | [] |
extraEnvVarsCM | Name of existing ConfigMap containing extra env vars | "" |
extraEnvVarsSecret | Name of existing Secret containing extra env vars | "" |
Ghost deployment parameters
| Name | Description | Value |
|---|---|---|
replicaCount | Number of Ghost replicas to deploy | 1 |
updateStrategy.type | Ghost deployment strategy type | RollingUpdate |
priorityClassName | Ghost pod priority class name | "" |
schedulerName | Name of the k8s scheduler (other than default) | "" |
topologySpreadConstraints | Topology Spread Constraints for pod assignment | [] |
hostAliases | Ghost pod host aliases | [] |
extraVolumes | Optionally specify extra list of additional volumes for Ghost pods | [] |
extraVolumeMounts | Optionally specify extra list of additional volumeMounts for Ghost container(s) | [] |
sidecars | Add additional sidecar containers to the Ghost pod | [] |
initContainers | Add additional init containers to the Ghost pods | [] |
lifecycleHooks | Add lifecycle hooks to the Ghost deployment | {} |
podLabels | Extra labels for Ghost pods | {} |
podAnnotations | Annotations for Ghost pods | {} |
podAffinityPreset | Pod affinity preset. Ignored if affinity is set. Allowed values: soft or hard | "" |
podAntiAffinityPreset | Pod anti-affinity preset. Ignored if affinity is set. Allowed values: soft or hard | soft |
nodeAffinityPreset.type | Node affinity preset type. Ignored if affinity is set. Allowed values: soft or hard | "" |
nodeAffinityPreset.key | Node label key to match. Ignored if affinity is set | "" |
nodeAffinityPreset.values | Node label values to match. Ignored if affinity is set | [] |
affinity | Affinity for pod assignment | {} |
nodeSelector | Node labels for pod assignment | {} |
tolerations | Tolerations for pod assignment | [] |
resources.limits | The resources limits for the Ghost container | {} |
resources.requests | The requested resources for the Ghost container | {} |
containerPorts.http | Ghost HTTP container port | 2368 |
containerPorts.https | Ghost HTTPS container port | 2368 |
podSecurityContext.enabled | Enabled Ghost pods' Security Context | true |
podSecurityContext.fsGroup | Set Ghost pod's Security Context fsGroup | 1001 |
containerSecurityContext.enabled | Enabled Ghost containers' Security Context | true |
containerSecurityContext.runAsUser | Set Ghost container's Security Context runAsUser | 1001 |
containerSecurityContext.runAsNonRoot | Set Ghost container's Security Context runAsNonRoot | true |
startupProbe.enabled | Enable startupProbe | false |
startupProbe.initialDelaySeconds | Initial delay seconds for startupProbe | 120 |
startupProbe.periodSeconds | Period seconds for startupProbe | 10 |
startupProbe.timeoutSeconds | Timeout seconds for startupProbe | 5 |
startupProbe.failureThreshold | Failure threshold for startupProbe | 6 |
startupProbe.successThreshold | Success threshold for startupProbe | 1 |
livenessProbe.enabled | Enable livenessProbe | true |
| `livenessProbe.initialDela |
Deploy ghost with OpenTenant
Each tenant gets its own release of this chart, with its own namespace, secrets and domain. The builder below already has ghost 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 is pinned at v19.1.24 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