mirror of
https://github.com/helm/charts.git
synced 2026-08-23 22:37:45 +00:00
[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:
committed by
Kubernetes Prow Robot
parent
f0db460d8f
commit
4adec84729
@@ -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:
|
||||
|
||||
@@ -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.
|
||||
|
||||
|
||||
@@ -172,4 +172,8 @@ spec:
|
||||
{{- else }}
|
||||
emptyDir: {}
|
||||
{{- end }}
|
||||
{{- with .Values.affinity }}
|
||||
affinity:
|
||||
{{ toYaml . | indent 8 }}
|
||||
{{- end }}
|
||||
{{- end -}}
|
||||
|
||||
@@ -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: {}
|
||||
|
||||
Reference in New Issue
Block a user