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 "Update Keystore cert"
[oom.git]
/
kubernetes
/
aai
/
charts
/
aai-modelloader
/
templates
/
deployment.yaml
diff --git
a/kubernetes/aai/charts/aai-modelloader/templates/deployment.yaml
b/kubernetes/aai/charts/aai-modelloader/templates/deployment.yaml
index
7ca2a9f
..
f34693f
100644
(file)
--- a/
kubernetes/aai/charts/aai-modelloader/templates/deployment.yaml
+++ b/
kubernetes/aai/charts/aai-modelloader/templates/deployment.yaml
@@
-1,4
+1,5
@@
# Copyright © 2018 Amdocs, AT&T
# Copyright © 2018 Amdocs, AT&T
+# Modifications Copyright © 2018 Bell Canada
#
# Licensed under the Apache License, Version 2.0 (the "License");
# you may not use this file except in compliance with the License.
#
# Licensed under the Apache License, Version 2.0 (the "License");
# you may not use this file except in compliance with the License.
@@
-34,6
+35,14
@@
spec:
release: {{ .Release.Name }}
name: {{ include "common.name" . }}
spec:
release: {{ .Release.Name }}
name: {{ include "common.name" . }}
spec:
+ {{- if .Values.nodeSelector }}
+ nodeSelector:
+{{ toYaml .Values.nodeSelector | indent 8 }}
+ {{- end -}}
+ {{- if .Values.affinity }}
+ affinity:
+{{ toYaml .Values.affinity | indent 8 }}
+ {{- end }}
containers:
- name: {{ include "common.name" . }}
image: "{{ include "common.repository" . }}/{{ .Values.image }}"
containers:
- name: {{ include "common.name" . }}
image: "{{ include "common.repository" . }}/{{ .Values.image }}"
@@
-58,6
+67,8
@@
spec:
ports:
- containerPort: {{ .Values.service.internalPort }}
- containerPort: {{ .Values.service.internalPort2 }}
ports:
- containerPort: {{ .Values.service.internalPort }}
- containerPort: {{ .Values.service.internalPort2 }}
+ resources:
+{{ include "common.resources" . }}
# side car containers
- name: filebeat-onap
# side car containers
- name: filebeat-onap
@@
-71,6
+82,8
@@
spec:
name: {{ include "common.fullname" . }}-logs
- mountPath: /usr/share/filebeat/data
name: aai-filebeat
name: {{ include "common.fullname" . }}-logs
- mountPath: /usr/share/filebeat/data
name: aai-filebeat
+ resources:
+{{ include "common.resources" . }}
volumes:
- name: localtime
hostPath:
volumes:
- name: localtime
hostPath: