X-Git-Url: https://gerrit.onap.org/r/gitweb?a=blobdiff_plain;f=kubernetes%2Fsdnc%2Ftemplates%2Fueb-deployment.yaml;h=f785cf74111fd42d41e908bc16b69609082f36b8;hb=e04b2feb855e5ab20e28c867d2bd7f89f6b8c425;hp=324e0e1724e6b63b5d2f0470c37b6a6fcac0b725;hpb=a5cc84e3e09c859ba1ad12fef70fa1af539355c1;p=oom.git diff --git a/kubernetes/sdnc/templates/ueb-deployment.yaml b/kubernetes/sdnc/templates/ueb-deployment.yaml index 324e0e1724..f785cf7411 100644 --- a/kubernetes/sdnc/templates/ueb-deployment.yaml +++ b/kubernetes/sdnc/templates/ueb-deployment.yaml @@ -1,10 +1,25 @@ +# Copyright © 2017 Amdocs, Bell Canada +# +# Licensed under the Apache License, Version 2.0 (the "License"); +# you may not use this file except in compliance with the License. +# You may obtain a copy of the License at +# +# http://www.apache.org/licenses/LICENSE-2.0 +# +# Unless required by applicable law or agreed to in writing, software +# distributed under the License is distributed on an "AS IS" BASIS, +# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. +# See the License for the specific language governing permissions and +# limitations under the License. + #{{ if not .Values.disableSdncUeb }} apiVersion: extensions/v1beta1 kind: Deployment metadata: - name: ueb-listener - namespace: "{{ .Values.nsPrefix }}-sdnc" + name: sdnc-ueb-listener + namespace: "{{ .Values.nsPrefix }}" spec: + replicas: {{ .Values.uebReplicas }} selector: matchLabels: app: ueb-listener @@ -12,7 +27,7 @@ spec: metadata: labels: app: ueb-listener - name: ueb-listener + name: sdnc-ueb-listener spec: initContainers: - command: @@ -47,14 +62,15 @@ spec: name: localtime readOnly: true - mountPath: /opt/onap/sdnc/data/properties/ueb-listener.properties + subPath: ueb-listener.properties name: ueb-config volumes: - name: localtime hostPath: path: /etc/localtime - name: ueb-config - hostPath: - path: /dockerdata-nfs/{{ .Values.nsPrefix }}/sdnc/ueb/ueb-listener.properties + configMap: + name: sdnc-ueb-configmap imagePullSecrets: - name: "{{ .Values.nsPrefix }}-docker-registry-key" -#{{ end }} \ No newline at end of file +#{{ end }}