summaryrefslogtreecommitdiffstats
path: root/onboarding
AgeCommit message (Expand)AuthorFilesLines
2017-11-13forwardertalio1-0/+1
2017-10-24Enabled static analysis in Onboarding testsvempo1-2/+1
2017-10-23Run static analysis on Onboarding production codevempo1-4/+4
2017-10-23Fix onboarding undo checkout impltalig1-1/+1
2017-10-22Upgraded antrun plugin for JaCoCo to 1.6vempo1-0/+1
2017-10-15Fixed POMs for staging buildsvempo1-2/+2
2017-09-20Build sanity docker execute automationYuli Shlosberg1-1/+1
2017-09-19change version of the master branchMichael Lando1-1/+1
2017-09-19Merge "Move jtosca version"Avi Gaffa1-1/+1
2017-09-19Move jtosca versiontalio1-1/+1
2017-09-18Fixed build and version of build-toolsvempo1-1/+12
2017-09-18Move jtosca versiontalio1-1/+2
2017-09-10Add jacoco code coverage to onboardingAvi Gaffa1-0/+1
2017-08-29Set up static analysis for on-boardingvempo1-0/+56
2017-08-10[SDC] OnBoard with enabled tests and featuresaz24971-0/+1
2017-07-26[SDC] Full OnBoard health-check and NFoD supportAvi Ziv1-2/+1
2017-07-18[SDC] Onboarding 1710 rebase.Avi Ziv1-1/+3
2017-06-09[SDC-29] Amdocs OnBoard 1707 initial commit.AviZi1-0/+95
Literal.String.Single */ .highlight .ss { color: #aa6600; background-color: #fff0f0 } /* Literal.String.Symbol */ .highlight .bp { color: #003388 } /* Name.Builtin.Pseudo */ .highlight .fm { color: #0066bb; font-weight: bold } /* Name.Function.Magic */ .highlight .vc { color: #336699 } /* Name.Variable.Class */ .highlight .vg { color: #dd7700 } /* Name.Variable.Global */ .highlight .vi { color: #3333bb } /* Name.Variable.Instance */ .highlight .vm { color: #336699 } /* Name.Variable.Magic */ .highlight .il { color: #0000DD; font-weight: bold } /* Literal.Number.Integer.Long */ }
# Copyright (C) 2018 Verizon. All Rights Reserved
#
# 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.

apiVersion: extensions/v1beta1
kind: Deployment
metadata:
  name: {{ include "common.fullname" . }}
  namespace: {{ include "common.namespace" . }}
  labels:
    app: {{ include "common.name" . }}
    chart: {{ .Chart.Name }}-{{ .Chart.Version | replace "+" "_" }}
    release: {{ .Release.Name }}
    heritage: {{ .Release.Service }}
spec:
  replicas: {{ .Values.replicaCount }}
  template:
    metadata:
      labels:
        app: {{ include "common.name" . }}
        release: {{ .Release.Name }}
    spec:
      containers:
        - name: {{ include "common.name" . }}
          image: "{{ include "common.repository" . }}/{{ .Values.image }}"
          imagePullPolicy: {{ .Values.global.pullPolicy | default .Values.pullPolicy }}
          ports:
          - containerPort: {{ .Values.service.internalPort }}
          - containerPort: {{ .Values.service.internalPort2 }}
          # disable liveness probe when breakpoints set in debugger
          # so K8s doesn't restart unresponsive container
          {{ if .Values.liveness.enabled }}
          livenessProbe:
            tcpSocket:
              port: {{ .Values.service.internalPort }}
            initialDelaySeconds: {{ .Values.liveness.initialDelaySeconds }}
            periodSeconds: {{ .Values.liveness.periodSeconds }}
          {{ end }}
          readinessProbe:
            tcpSocket:
              port: {{ .Values.service.internalPort }}
            initialDelaySeconds: {{ .Values.readiness.initialDelaySeconds }}
            periodSeconds: {{ .Values.readiness.periodSeconds }}
          env:
            - name: MSB_ADDR
              value: "{{ .Values.global.config.msbServiceName }}:{{ .Values.global.config.msbPort }}"
          resources:
{{ include "common.resources" . | indent 12 }}
        {{- if .Values.nodeSelector }}
        nodeSelector:
{{ toYaml .Values.nodeSelector | indent 10 }}
        {{- end -}}
        {{- if .Values.affinity }}
        affinity:
{{ toYaml .Values.affinity | indent 10 }}
        {{- end }}
      imagePullSecrets:
      - name: "{{ include "common.namespace" . }}-docker-registry-key"