diff --git a/stable/ghost/Chart.yaml b/stable/ghost/Chart.yaml index ff3d738bfc..e843226644 100644 --- a/stable/ghost/Chart.yaml +++ b/stable/ghost/Chart.yaml @@ -1,6 +1,6 @@ apiVersion: v1 name: ghost -version: 7.1.9 +version: 7.2.0 appVersion: 2.30.2 description: A simple, powerful publishing platform that allows you to share your stories with the world keywords: diff --git a/stable/ghost/README.md b/stable/ghost/README.md index 342d475d30..71f498db5b 100644 --- a/stable/ghost/README.md +++ b/stable/ghost/README.md @@ -114,6 +114,7 @@ The following table lists the configurable parameters of the Ghost chart and the | `persistence.size` | PVC Storage Request for Ghost volume | `8Gi` | | `persistence.path` | Path to mount the volume at, to use other images | `/bitnami` | | `resources` | CPU/Memory resource requests/limits | Memory: `512Mi`, CPU: `300m` | +| `affinity` | Map of node/pod affinities | `{}` | The above parameters map to the env variables defined in [bitnami/ghost](http://github.com/bitnami/bitnami-docker-ghost). For more information please refer to the [bitnami/ghost](http://github.com/bitnami/bitnami-docker-ghost) image documentation. diff --git a/stable/ghost/templates/deployment.yaml b/stable/ghost/templates/deployment.yaml index 02ab4bca72..7ff6d8c16f 100644 --- a/stable/ghost/templates/deployment.yaml +++ b/stable/ghost/templates/deployment.yaml @@ -172,4 +172,8 @@ spec: {{- else }} emptyDir: {} {{- end }} + {{- with .Values.affinity }} + affinity: +{{ toYaml . | indent 8 }} + {{- end }} {{- end -}} diff --git a/stable/ghost/values.yaml b/stable/ghost/values.yaml index 6014f8390d..c982fc3538 100644 --- a/stable/ghost/values.yaml +++ b/stable/ghost/values.yaml @@ -59,7 +59,6 @@ ghostProtocol: http # ghostPort: ghostPath: / - ## User of the application ## ref: https://github.com/bitnami/bitnami-docker-ghost#configuration ## @@ -264,3 +263,8 @@ ingress: # - name: ghost.local-tls # key: # certificate: + +## Affinity for pod assignment +## Ref: https://kubernetes.io/docs/concepts/configuration/assign-pod-node/#affinity-and-anti-affinity +## +affinity: {}