Code Review
/
oom.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
review
|
tree
raw
|
inline
| side by side
Merge "Upgrade VNFSDK to use common Postgres charts"
[oom.git]
/
kubernetes
/
so
/
charts
/
so-mariadb
/
templates
/
deployment.yaml
diff --git
a/kubernetes/so/charts/so-mariadb/templates/deployment.yaml
b/kubernetes/so/charts/so-mariadb/templates/deployment.yaml
index
a72d108
..
07feb4a
100755
(executable)
--- 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:
- 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 }}
{{- if .Values.nodeSelector }}
nodeSelector:
{{ toYaml .Values.nodeSelector | indent 10 }}
@@
-107,4
+107,4
@@
spec:
- name: docker-entrypoint-initdb-d
emptyDir: {}
imagePullSecrets:
- 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"