diff --git a/upstreamed/ghost/Chart.yaml b/upstreamed/ghost/Chart.yaml index 633c1cf0a..f904da4e1 100644 --- a/upstreamed/ghost/Chart.yaml +++ b/upstreamed/ghost/Chart.yaml @@ -1,6 +1,6 @@ apiVersion: v1 name: ghost -version: 9.0.3 +version: 9.0.4 appVersion: 3.1.1 description: A simple, powerful publishing platform that allows you to share your stories with the world keywords: diff --git a/upstreamed/ghost/README.md b/upstreamed/ghost/README.md index e6dc803e1..05bf4e453 100644 --- a/upstreamed/ghost/README.md +++ b/upstreamed/ghost/README.md @@ -116,6 +116,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` | +| `nodeSelector` | Node selector for pod assignment | `{}` | | `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/upstreamed/ghost/templates/deployment.yaml b/upstreamed/ghost/templates/deployment.yaml index 75e391227..33013260e 100644 --- a/upstreamed/ghost/templates/deployment.yaml +++ b/upstreamed/ghost/templates/deployment.yaml @@ -172,8 +172,12 @@ spec: {{- else }} emptyDir: {} {{- end }} + {{- with .Values.nodeSelector }} + nodeSelector: + {{- toYaml . | nindent 8 }} + {{- end }} {{- with .Values.affinity }} affinity: -{{ toYaml . | indent 8 }} + {{- toYaml . | nindent 8 }} {{- end }} {{- end -}} diff --git a/upstreamed/ghost/values.yaml b/upstreamed/ghost/values.yaml index d75c02032..7b5faecab 100644 --- a/upstreamed/ghost/values.yaml +++ b/upstreamed/ghost/values.yaml @@ -265,6 +265,11 @@ ingress: # key: # certificate: +## Node selector for pod assignment +## Ref: https://kubernetes.io/docs/concepts/configuration/assign-pod-node/#nodeselector +## +nodeSelector: {} + ## Affinity for pod assignment ## Ref: https://kubernetes.io/docs/concepts/configuration/assign-pod-node/#affinity-and-anti-affinity ##