X-Git-Url: https://gerrit.onap.org/r/gitweb?a=blobdiff_plain;f=kubernetes%2Fconsul%2Ftemplates%2Fdeployment.yaml;h=be15ecbca6b3cbb1cda6deea50547ff61421dca8;hb=a18e6f219d98a7b13ffd29d15c0345dce8ea2464;hp=a7774e987895a93b9fa889680dfa44fa5260fb1d;hpb=a8ab56ee0cb347599c490018e17ad142c984b6a5;p=oom.git diff --git a/kubernetes/consul/templates/deployment.yaml b/kubernetes/consul/templates/deployment.yaml index a7774e9878..be15ecbca6 100644 --- a/kubernetes/consul/templates/deployment.yaml +++ b/kubernetes/consul/templates/deployment.yaml @@ -1,3 +1,4 @@ +{{/* # Copyright © 2017 Amdocs, Bell Canada # Modifications Copyright © 2018 AT&T # @@ -12,6 +13,7 @@ # 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. +*/}} apiVersion: apps/v1 kind: Deployment @@ -38,7 +40,7 @@ spec: imagePullSecrets: - name: "{{ include "common.namespace" . }}-docker-registry-key" containers: - - image: "{{ include "common.repository" . }}/{{ .Values.image }}" + - image: {{ include "repositoryGenerator.dockerHubRepository" . }}/{{ .Values.image }} command: - /bin/sh - "-c" @@ -59,6 +61,7 @@ spec: name: consul-agent-scripts-config - mountPath: /consul/certs name: consul-agent-certs-config + resources: {{ include "common.resources" . | nindent 10 }} volumes: - configMap: name: {{ include "common.fullname" . }}-configmap