X-Git-Url: https://gerrit.onap.org/r/gitweb?a=blobdiff_plain;f=kubernetes%2Faai%2Ftemplates%2Fsparky-be-deployment.yaml;h=4b3196910e11c386a3fd160d90d73b277fdddef1;hb=e04b2feb855e5ab20e28c867d2bd7f89f6b8c425;hp=9fe324a81793bd22ae3e49259c5775a17e0a8be9;hpb=7514da298acfbaaa33115d2d1fff0929bbac876a;p=oom.git diff --git a/kubernetes/aai/templates/sparky-be-deployment.yaml b/kubernetes/aai/templates/sparky-be-deployment.yaml index 9fe324a817..4b3196910e 100644 --- a/kubernetes/aai/templates/sparky-be-deployment.yaml +++ b/kubernetes/aai/templates/sparky-be-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.disableAaiSparkyBe }} apiVersion: extensions/v1beta1 kind: Deployment metadata: - name: sparky-be - namespace: "{{ .Values.nsPrefix }}-aai" + name: aai-sparky-be + namespace: "{{ .Values.nsPrefix }}" spec: + replicas: {{ .Values.sparkyReplicas }} selector: matchLabels: app: sparky-be @@ -12,7 +27,7 @@ spec: metadata: labels: app: sparky-be - name: sparky-be + name: aai-sparky-be spec: containers: - name: sparky-be @@ -82,16 +97,16 @@ spec: path: /etc/localtime - name: aai-sparky-be-config configMap: - name: sparky-be-configmap + name: aai-sparky-be-configmap - name: aai-sparky-be-model-config configMap: - name: sparky-be-model-configmap + name: aai-sparky-be-model-configmap - name: aai-sparky-be-portal-config configMap: - name: sparky-be-portal-configmap + name: aai-sparky-be-portal-configmap - name: aai-sparky-be-auth-config secret: - secretName: sparky-be-secret + secretName: aai-sparky-be-secret - name: filebeat-conf configMap: name: aai-filebeat-configmap