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 log helm chart from 2 to 3.0.0"
[oom.git]
/
kubernetes
/
sdnc
/
charts
/
ueb-listener
/
templates
/
deployment.yaml
diff --git
a/kubernetes/sdnc/charts/ueb-listener/templates/deployment.yaml
b/kubernetes/sdnc/charts/ueb-listener/templates/deployment.yaml
index
b11cf95
..
2258d4a
100644
(file)
--- a/
kubernetes/sdnc/charts/ueb-listener/templates/deployment.yaml
+++ b/
kubernetes/sdnc/charts/ueb-listener/templates/deployment.yaml
@@
-38,6
+38,10
@@
spec:
- {{ .Values.config.mysqlChartName }}
- --container-name
- {{ .Values.config.sdncChartName }}
- {{ .Values.config.mysqlChartName }}
- --container-name
- {{ .Values.config.sdncChartName }}
+ - --container-name
+ - {{ .Values.config.sdcbeChartName }}
+ - --container-name
+ - {{ .Values.config.msgRouterContainerName }}
env:
- name: NAMESPACE
valueFrom:
env:
- name: NAMESPACE
valueFrom:
@@
-51,7
+55,7
@@
spec:
- command:
- /opt/onap/sdnc/ueb-listener/bin/start-ueb-listener.sh
name: {{ include "common.name" . }}
- command:
- /opt/onap/sdnc/ueb-listener/bin/start-ueb-listener.sh
name: {{ include "common.name" . }}
- image: "{{
.Values.global.repository | default .Values.repository
}}/{{ .Values.image }}"
+ image: "{{
include "common.repository" .
}}/{{ .Values.image }}"
imagePullPolicy: {{ .Values.global.pullPolicy | default .Values.pullPolicy }}
env:
- name: PROPERTY_DIR
imagePullPolicy: {{ .Values.global.pullPolicy | default .Values.pullPolicy }}
env:
- name: PROPERTY_DIR
@@
-62,11
+66,14
@@
spec:
- mountPath: /etc/localtime
name: localtime
readOnly: true
- mountPath: /etc/localtime
name: localtime
readOnly: true
- - mountPath: /opt/onap/sdnc/data/properties/ueb-listener.properties
+ - mountPath: {{ .Values.config.configDir }}/dblib.properties
+ name: properties
+ subPath: dblib.properties
+ - mountPath: {{ .Values.config.configDir }}/ueb-listener.properties
+ name: properties
subPath: ueb-listener.properties
subPath: ueb-listener.properties
- name: ueb-config
resources:
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 }}
@@
-80,8
+87,9
@@
spec:
- name: localtime
hostPath:
path: /etc/localtime
- name: localtime
hostPath:
path: /etc/localtime
- - name:
ueb-config
+ - name:
properties
configMap:
configMap:
- name: sdnc-ueb-configmap
+ name: {{ include "common.fullname" . }}
+ defaultMode: 0644
imagePullSecrets:
imagePullSecrets:
- - name: "{{ include "common.namespace" . }}-docker-registry-key"
\ No newline at end of file
+ - name: "{{ include "common.namespace" . }}-docker-registry-key"