summaryrefslogtreecommitdiffstats
path: root/kubernetes/vid/charts/vid-mariadb-galera/templates
diff options
context:
space:
mode:
authorvaibhavjayas <vaibhav.jayas@amdocs.com>2018-09-19 09:33:41 +0000
committervaibhavjayas <vaibhav.jayas@amdocs.com>2018-09-19 09:35:26 +0000
commitafb925dceb213156e2cd7909815cef3332b041ed (patch)
treeb64be5c9aa647a4364aeedb86c7985c375f122d7 /kubernetes/vid/charts/vid-mariadb-galera/templates
parentc196546bae5346d162b3fb20de96d9df8fe260ca (diff)
Resource Limit for VID
Issue-ID: OOM-1167 Change-Id: Ib598b25bbf8fbda5b0fb41e3dfaf13dd7a31bd6c Signed-off-by: vaibhavjayas <vaibhav.jayas@amdocs.com>
Diffstat (limited to 'kubernetes/vid/charts/vid-mariadb-galera/templates')
-rw-r--r--kubernetes/vid/charts/vid-mariadb-galera/templates/statefulset.yaml2
1 files changed, 1 insertions, 1 deletions
diff --git a/kubernetes/vid/charts/vid-mariadb-galera/templates/statefulset.yaml b/kubernetes/vid/charts/vid-mariadb-galera/templates/statefulset.yaml
index 816d473257..8ddcb4a69d 100644
--- a/kubernetes/vid/charts/vid-mariadb-galera/templates/statefulset.yaml
+++ b/kubernetes/vid/charts/vid-mariadb-galera/templates/statefulset.yaml
@@ -97,7 +97,7 @@ spec:
timeoutSeconds: {{ .Values.liveness.timeoutSeconds }}
{{- end }}
resources:
-{{ toYaml .Values.resources | indent 12 }}
+{{ toYaml (pluck .Values.flavor .Values.resources| first) | indent 12 }}
volumeMounts:
{{- if .Values.externalConfig }}
- mountPath: /etc/config