summaryrefslogtreecommitdiffstats
path: root/kubernetes/so/charts/so-mariadb/templates/deployment.yaml
diff options
context:
space:
mode:
authorMandeep Khinda <Mandeep.Khinda@amdocs.com>2018-09-12 14:14:31 +0000
committerGerrit Code Review <gerrit@onap.org>2018-09-12 14:14:31 +0000
commit37fc0875f12b54f3992160f99eb136b0134ad79e (patch)
tree7546be61508ecade50d4e553cd56f5a68c52cc5e /kubernetes/so/charts/so-mariadb/templates/deployment.yaml
parenta0c3957605b630477d77deb9dd2bfe856cf109be (diff)
parent0da8829497597e0472c3ce08af3ea59d65a60f5b (diff)
Merge "Flavors defintion in resource limit"
Diffstat (limited to 'kubernetes/so/charts/so-mariadb/templates/deployment.yaml')
-rwxr-xr-xkubernetes/so/charts/so-mariadb/templates/deployment.yaml4
1 files changed, 2 insertions, 2 deletions
diff --git a/kubernetes/so/charts/so-mariadb/templates/deployment.yaml b/kubernetes/so/charts/so-mariadb/templates/deployment.yaml
index a72d10851b..07feb4aba2 100755
--- a/kubernetes/so/charts/so-mariadb/templates/deployment.yaml
+++ b/kubernetes/so/charts/so-mariadb/templates/deployment.yaml
@@ -81,7 +81,7 @@ spec:
- name: docker-entrypoint-initdb-d
mountPath: "/docker-entrypoint-initdb.d"
resources:
-{{ toYaml .Values.resources | indent 12 }}
+{{ toYaml (pluck .Values.flavor .Values.resources| first) | indent 12 }}
{{- if .Values.nodeSelector }}
nodeSelector:
{{ toYaml .Values.nodeSelector | indent 10 }}
@@ -107,4 +107,4 @@ spec:
- name: docker-entrypoint-initdb-d
emptyDir: {}
imagePullSecrets:
- - name: "{{ include "common.namespace" . }}-docker-registry-key" \ No newline at end of file
+ - name: "{{ include "common.namespace" . }}-docker-registry-key"