# 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.disableMsbMsbEag }}
apiVersion: extensions/v1beta1
kind: Deployment
metadata:
  name: msb-eag
  namespace: "{{ .Values.nsPrefix }}"
spec:
  replicas: {{ .Values.eagReplicas }}
  selector:
    matchLabels:
      app: msb-eag
  template:
    metadata:
      labels:
        app: msb-eag
      name: msb-eag
    spec:
      hostname: msb-eag
      initContainers:
      - command:
        - /root/ready.py
        args:
        - --container-name
        - msb-discovery
        env:
        - name: NAMESPACE
          valueFrom:
            fieldRef:
              apiVersion: v1
              fieldPath: metadata.namespace
        image: {{ .Values.image.readiness }}
        imagePullPolicy: {{ .Values.pullPolicy }}
        name: msb-eag-readiness
      containers:
      - args:
        image:  {{ .Values.image.apigateway }}
        name: "msb-eag"
        env:
        - name: CONSUL_IP
          value:  msb-consul.{{ .Values.nsPrefix }}
        - name: SDCLIENT_IP
          value:  msb-discovery.{{ .Values.nsPrefix }}
        - name: ROUTE_LABELS
          value: "visualRange:0"
        ports:
        - containerPort: {{ .Values.eagPort }}
          name: msb-eag
        readinessProbe:
          tcpSocket:
            port: {{ .Values.eagPort }}
          initialDelaySeconds: 5
          periodSeconds: 10
        imagePullPolicy: {{ .Values.pullPolicy}}
      imagePullSecrets:
      - name: "{{ .Values.nsPrefix }}-docker-registry-key"
#{{ end }}
