aboutsummaryrefslogtreecommitdiffstats
AgeCommit message (Expand)AuthorFilesLines
2019-01-11Add junit tests for MsoCloudifyUtilsLukasz Muszkieta1-1/+94
2019-01-11junits for MsoTenantUtilsFactoryTomasz Gwozdecki1-0/+16
2019-01-11fix jenkins master buildLukasz Muszkieta1-2/+0
2019-01-11Merge "update the SDC client APIs"Byung-Woo Jun1-0/+4108
2019-01-10update the SDC client APIsseshukm1-0/+4108
2019-01-06Merge "Remove Swagger UI"Seshu Kumar M79-2770/+22
2019-01-06Fix the APi infoseshukm2-7/+15
2019-01-04Bugfixes for December 2018Benjamin, Max (mb388a)35-283/+479
2019-01-04Merge "Added timeStamp to requestStatus returned"Steve Smokowski5-12/+37
2019-01-04HttpClientFactory to create HttpClient instancesMichal Kabaj36-110/+145
2019-01-03Added timeStamp to requestStatus returnedKalkere Ramesh, Sharan (sk72
{{/*
# Copyright © 2017 Amdocs, Bell Canada
# Copyright © 2020 Samsung Electronics
#
# 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: apps/v1
kind: Deployment
metadata:
  name: {{ include "common.fullname" . }}
  namespace: {{ include "common.namespace" . }}
  labels:
    app: {{ include "common.name" . }}
    chart: {{ .Chart.Name }}-{{ .Chart.Version | replace "+" "_" }}
    release: {{ include "common.release" . }}
    heritage: {{ .Release.Service }}
spec:
  selector:
    matchLabels:
      app: {{ include "common.name" . }}
  replicas: {{ .Values.replicaCount }}
  template:
    metadata:
      labels:
        app: {{ include "common.name" . }}
        release: {{ include "common.release" . }}
    spec:
      initContainers:
      - command:
        - /app/ready.py
        args:
        - --job-name
        - {{ include "common.fullname" . }}-mariadb-init-config-job
        env:
        - name: NAMESPACE
          valueFrom:
            fieldRef:
              apiVersion: v1
              fieldPath: metadata.namespace
        image: {{ include "repositoryGenerator.image.readiness" . }}
        imagePullPolicy: {{ .Values.global.pullPolicy | default .Values.pullPolicy }}
        name: {{ include "common.name" . }}-readiness
      containers:
        - name: {{ include "common.name" . }}
          image: {{ include "repositoryGenerator.repository" . }}/{{ .Values.image }}
          imagePullPolicy: {{ .Values.global.pullPolicy | default .Values.pullPolicy }}
          ports:
          - containerPort: {{ .Values.service.internalPort }}
          # disable liveness probe when breakpoints set in debugger
          # so K8s doesn't restart unresponsive container
          {{- if eq .Values.liveness.enabled true }}
          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: ASDC_CLIENT_REST_HOST
              value: sdc-be.{{ include "common.namespace" . }}
            - 
Steve Smokowski2-0/+2
2018-12-12Merge "fixed aai response code in updateAAIVfModule"Steve Smokowski3-1/+12
2018-12-12Merge "refactor updaterequeststatustofailed method"Steve Smokowski7-129/+267
2018-12-12Merge "removed the AAIPropertiesConfiguration file"Steve Smokowski2-89/+0
2018-12-12Merge "ConfirmVolumeGroupNameTest improvements"Steve Smokowski6-74/+275
2018-12-12Merge "fix lookup of si if customer exists"Steve Smokowski1-2/+7
2018-12-12Merge "Changed sdncRequestId to SDNCA_requestId"Steve Smokowski2-4/+4
2018-12-12Merge "fix issue with instance groups and unassign req"Steve Smokowski2-4/+14
2018-12-12ConfirmVolumeGroupNameTest improvementsJoanna Jeremicz6-74/+275
2018-12-11Update INFO.yamlJessica Wagantall1-60/+83
2018-12-11Skip cloud regions and fix macroKalkere Ramesh, Sharan (sk720x)6-13/+54
bPort" . }}" - name: VID_MYSQL_DBNAME value: {{ index .Values "mariadb-galera" "db" "name" }} - name: VID_MYSQL_USER {{- include "common.secret.envFromSecretFast" (dict "global" . "uid" "vid-db-user-secret" "key" "login") | indent 14 }} - name: VID_MYSQL_PASS {{- include "common.secret.envFromSecretFast" (dict "global" . "uid" "vid-db-user-secret" "key" "password") | indent 14 }} - name: VID_MYSQL_MAXCONNECTIONS value: "{{ .Values.config.vidmysqlmaxconnections }}" volumeMounts: - mountPath: /opt/app/vid/etc name: vid-certs - mountPath: /etc/localtime name: localtime readOnly: true - mountPath: /var/log/onap name: vid-logs - mountPath: /tmp/logback.xml name: vid-logback subPath: logback.xml 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 }} # side car containers - name: filebeat-onap image: {{ include "repositoryGenerator.image.logging" . }} imagePullPolicy: {{ .Values.global.pullPolicy | default .Values.pullPolicy }} volumeMounts: - mountPath: /usr/share/filebeat/filebeat.yml name: filebeat-conf subPath: filebeat.yml - mountPath: /var/log/onap name: vid-logs - mountPath: /usr/share/filebeat/data name: vid-data-filebeat volumes: - name: vid-certs secret: secretName: {{ include "common.fullname" . }}-certs - name: localtime hostPath: path: /etc/localtime - name: filebeat-conf configMap: name: {{ include "common.fullname" . }}-filebeat-configmap - name: vid-logs emptyDir: {} - name: vid-data-filebeat emptyDir: {} - name: vid-logback configMap: name: {{ include "common.fullname" . }}-log-configmap imagePullSecrets: - name: "{{ include "common.namespace" . }}-docker-registry-key"