X-Git-Url: https://gerrit.onap.org/r/gitweb?a=blobdiff_plain;f=kubernetes%2Fpolicy%2Fcharts%2Fbrmsgw%2Ftemplates%2Fdeployment.yaml;h=7535d541f7772867b9f59effeb6dbd71f7bacee1;hb=dac3964c79b4f203a60fa6da34d110c45242fb1e;hp=cd715e46069c8cf3f8323ac357cb638b9e62e72f;hpb=ae6cefd5abdd568e108ef732ac1298d7ec36702e;p=oom.git diff --git a/kubernetes/policy/charts/brmsgw/templates/deployment.yaml b/kubernetes/policy/charts/brmsgw/templates/deployment.yaml index cd715e4606..7535d541f7 100644 --- a/kubernetes/policy/charts/brmsgw/templates/deployment.yaml +++ b/kubernetes/policy/charts/brmsgw/templates/deployment.yaml @@ -1,4 +1,5 @@ # Copyright © 2017 Amdocs, Bell Canada +# Modifications Copyright © 2018 AT&T # # Licensed under the Apache License, Version 2.0 (the "License"); # you may not use this file except in compliance with the License. @@ -51,7 +52,7 @@ spec: - ./do-start.sh - brmsgw 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 }} ports: - containerPort: {{ .Values.service.externalPort }} @@ -71,8 +72,12 @@ spec: - mountPath: /etc/localtime name: localtime readOnly: true - - mountPath: /tmp/policy-install/config + - mountPath: /tmp/policy-install/config/brmsgw-tweaks.sh name: pe-brmsgw + subPath: brmsgw-tweaks.sh + - mountPath: /tmp/policy-install/config/brmsgw.conf + name: pe-brmsgw + subPath: brmsgw.conf - mountPath: /tmp/policy-install/config/base.conf name: pe subPath: base.conf @@ -80,7 +85,7 @@ spec: name: pe-scripts subPath: do-start.sh resources: -{{ toYaml .Values.resources | indent 12 }} +{{ include "common.resources" . | indent 12 }} {{- if .Values.nodeSelector }} nodeSelector: {{ toYaml .Values.nodeSelector | indent 10 }}