summaryrefslogtreecommitdiffstats
path: root/kubernetes/vid/charts/vid-mariadb-galera/templates
diff options
context:
space:
mode:
authorMandeep Khinda <Mandeep.Khinda@amdocs.com>2018-09-19 14:42:38 +0000
committerGerrit Code Review <gerrit@onap.org>2018-09-19 14:42:38 +0000
commit74c1775a7f2cecd9b07c6ce4e9fb3d9e698aa600 (patch)
treec98df9d5a7661f7ac0f24d2e96f7f9e7ea156642 /kubernetes/vid/charts/vid-mariadb-galera/templates
parent0e8836a0ba8bc0327a2513e8572c0ea351404576 (diff)
parentafb925dceb213156e2cd7909815cef3332b041ed (diff)
Merge "Resource Limit for VID"
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