[stable/ghost] Add affinity (#16851)

* [stable/ghost] Add affinity

Signed-off-by: Carlos Rodriguez Hernandez <crhernandez@bitnami.com>

* Add new line

Signed-off-by: Carlos Rodriguez Hernandez <crhernandez@bitnami.com>
This commit is contained in:
Carlos Rodríguez Hernández
2019-09-05 03:20:46 -07:00
committed by Kubernetes Prow Robot
parent f0db460d8f
commit 4adec84729
4 changed files with 11 additions and 2 deletions
+1 -1
View File
@@ -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:
+1
View File
@@ -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.
+4
View File
@@ -172,4 +172,8 @@ spec:
{{- else }}
emptyDir: {}
{{- end }}
{{- with .Values.affinity }}
affinity:
{{ toYaml . | indent 8 }}
{{- end }}
{{- end -}}
+5 -1
View File
@@ -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: {}