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