summaryrefslogtreecommitdiffstats
path: root/kubernetes/sdc/templates/sdc-fe.yaml
diff options
context:
space:
mode:
authorPramod <pramod.kumarsharma@amdocs.com>2018-01-17 12:05:14 +0000
committerBorislavG <Borislav.Glozman@amdocs.com>2018-02-07 14:56:42 +0000
commitba635b3dc4d520e4be28dc82c40b049567ff2c88 (patch)
treefa61825a68b5c577d207e8090d9a1c81d5b3a38d /kubernetes/sdc/templates/sdc-fe.yaml
parent18c2dbcdf7904d6a4030efa141fe232009362800 (diff)
Config seg sdc deployment
Issue-ID: OOM-550 Signed-off-by: Pramod <pramod.kumarsharma@amdocs.com> Change-Id: Ibad8a16fb289ddd4260be5cce0c787e4de212a97
Diffstat (limited to 'kubernetes/sdc/templates/sdc-fe.yaml')
-rw-r--r--kubernetes/sdc/templates/sdc-fe.yaml20
1 files changed, 12 insertions, 8 deletions
diff --git a/kubernetes/sdc/templates/sdc-fe.yaml b/kubernetes/sdc/templates/sdc-fe.yaml
index bc1777f3ab..b4205ed653 100644
--- a/kubernetes/sdc/templates/sdc-fe.yaml
+++ b/kubernetes/sdc/templates/sdc-fe.yaml
@@ -62,6 +62,7 @@ spec:
name: sdc-logs-2
- mountPath: /root/chef-solo/cookbooks/sdc-catalog-fe/recipes/FE_2_setup_configuration.rb
name: sdc-fe-config
+ subPath: FE_2_setup_configuration.rb
- mountPath: /tmp/logback.xml
name: sdc-logback
lifecycle:
@@ -82,27 +83,29 @@ spec:
volumeMounts:
- mountPath: /usr/share/filebeat/filebeat.yml
name: filebeat-conf
+ subPath: filebeat.yml
- mountPath: /var/log/onap
name: sdc-logs-2
- mountPath: /usr/share/filebeat/data
name: sdc-data-filebeat
volumes:
- name: filebeat-conf
- hostPath:
- path: /dockerdata-nfs/{{ .Values.nsPrefix }}/log/filebeat/logback/filebeat.yml
+ configMap:
+ name : sdc-filebeat-configmap
- name: sdc-logs-2
emptyDir: {}
- name: sdc-data-filebeat
emptyDir: {}
- name: sdc-logback
- hostPath:
- path: /dockerdata-nfs/{{ .Values.nsPrefix }}/log/sdc/fe/logback.xml
+ configMap:
+ name : sdc-log-fe-configmap
- name: sdc-sdc-es-es
hostPath:
path: /dockerdata-nfs/{{ .Values.nsPrefix }}/sdc/sdc-es/ES
- name: sdc-environments
- hostPath:
- path: /dockerdata-nfs/{{ .Values.nsPrefix }}/sdc/environments
+ configMap:
+ name: sdc-environments-configmap
+ defaultMode: 0755
- name: sdc-localtime
hostPath:
path: /etc/localtime
@@ -110,8 +113,9 @@ spec:
hostPath:
path: /dockerdata-nfs/{{ .Values.nsPrefix }}/sdc/logs
- name: sdc-fe-config
- hostPath:
- path: /dockerdata-nfs/{{ .Values.nsPrefix }}/sdc/sdc-fe/FE_2_setup_configuration.rb
+ configMap:
+ name: sdc-fe-configmap
+ defaultMode: 0755
imagePullSecrets:
- name: "{{ .Values.nsPrefix }}-docker-registry-key"
#{{ end }}