diff --git a/stable/opencart/Chart.yaml b/stable/opencart/Chart.yaml index 723e5c5bce..67c57f20c7 100644 --- a/stable/opencart/Chart.yaml +++ b/stable/opencart/Chart.yaml @@ -1,6 +1,6 @@ apiVersion: v1 name: opencart -version: 6.1.3 +version: 6.2.0 appVersion: 3.0.3-2 description: A free and open source e-commerce platform for online merchants. It provides a professional and reliable foundation for a successful online store. keywords: diff --git a/stable/opencart/README.md b/stable/opencart/README.md index 1734e87de6..9fae639b6f 100644 --- a/stable/opencart/README.md +++ b/stable/opencart/README.md @@ -104,6 +104,7 @@ The following table lists the configurable parameters of the OpenCart chart and | `persistence.opencart.size` | PVC Storage Request for OpenCart volume | `8Gi` | | `resources` | CPU/Memory resource requests/limits | Memory: `512Mi`, CPU: `300m` | | `podAnnotations` | Pod annotations | `{}` | +| `affinity` | Map of node/pod affinities | `{}` | | `metrics.enabled` | Start a side-car prometheus exporter | `false` | | `metrics.image.registry` | Apache exporter image registry | `docker.io` | | `metrics.image.repository` | Apache exporter image name | `bitnami/apache-exporter` | diff --git a/stable/opencart/templates/deployment.yaml b/stable/opencart/templates/deployment.yaml index 9969088c67..078037a068 100644 --- a/stable/opencart/templates/deployment.yaml +++ b/stable/opencart/templates/deployment.yaml @@ -155,4 +155,8 @@ spec: {{- else }} emptyDir: {} {{- end }} + {{- with .Values.affinity }} + affinity: +{{ toYaml . | indent 8 }} + {{- end }} {{- end -}} diff --git a/stable/opencart/values.yaml b/stable/opencart/values.yaml index 3d68a5cd76..47350bbb9a 100644 --- a/stable/opencart/values.yaml +++ b/stable/opencart/values.yaml @@ -237,6 +237,12 @@ resources: ## ref: https://kubernetes.io/docs/concepts/overview/working-with-objects/annotations/ ## podAnnotations: {} + +## Affinity for pod assignment +## Ref: https://kubernetes.io/docs/concepts/configuration/assign-pod-node/#affinity-and-anti-affinity +## +affinity: {} + ## Prometheus Exporter / Metrics ## metrics: