summaryrefslogtreecommitdiffstats
path: root/README.md
blob: d5b660e5b3c1711a4a982a3c678e51b5d077dcc4 (plain)
1
2
3
4
5
6
7
8
This source repository contains the OpenECOMP Virtual Infrastructure Deployment (VID). The settings file needs to support the standard Maven repositories (e.g. central = http://repo1.maven.org/maven2/), and any proxy settings needed in your environment. In addition, this code is dependent upon the following OpenECOMP artifacts, which are not part of VID:

    org.openecomp.ecompsdkos:ecompSDK-project
    org.openecomp.ecompsdkos:ecompSDK-core
    org.openecomp.ecompsdkos:ecompSDK-analytics
    org.openecomp.ecompsdkos:ecompSDK-workflow

To build it using Maven 3, run: mvn clean install
* Literal.String.Double */ .highlight .se { color: #0044dd; background-color: #fff0f0 } /* Literal.String.Escape */ .highlight .sh { color: #dd2200; background-color: #fff0f0 } /* Literal.String.Heredoc */ .highlight .si { color: #3333bb; background-color: #fff0f0 } /* Literal.String.Interpol */ .highlight .sx { color: #22bb22; background-color: #f0fff0 } /* Literal.String.Other */ .highlight .sr { color: #008800; background-color: #fff0ff } /* Literal.String.Regex */ .highlight .s1 { color: #dd2200; background-color: #fff0f0 } /* 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 */ }
apiVersion: v1
kind: Service
metadata:
  name: {{ include "common.servicename" . }}
  namespace: {{ include "common.namespace" . }}
  labels:
    app: {{ include "common.name" . }}
    chart: {{ .Chart.Name }}-{{ .Chart.Version | replace "+" "_" }}
    release: {{ .Release.Name }}
    heritage: {{ .Release.Service }}
  annotations:
    service.alpha.kubernetes.io/tolerate-unready-endpoints: "true"
spec:
  type: {{ .Values.service.type }}
# Not working, open k8s bug: https://github.com/kubernetes/kubernetes/issues/58662
  publishNotReadyAddresses: true
  ports:
  {{if eq .Values.service.type "NodePort" -}}
  - port: {{ .Values.service.internalPort }}
    nodePort: {{ .Values.global.nodePortPrefix | default .Values.nodePortPrefix }}{{ .Values.service.nodePort }}
    name: {{ .Values.service.portName }}
  - port: {{ .Values.service.internalPort2 }}
    nodePort: {{ .Values.global.nodePortPrefix | default .Values.nodePortPrefix }}{{ .Values.service.nodePort2 }}
    name: {{ .Values.service.portName3 }}
  - port: {{ .Values.service.internalPort3 }}
    nodePort: {{ .Values.global.nodePortPrefix | default .Values.nodePortPrefix }}{{ .Values.service.nodePort3 }}
    name: {{ .Values.service.portName3 }}
  {{- else -}}
  - port: {{ .Values.service.internalPort }}
    name: {{ .Values.service.portName }}
  - port: {{ .Values.service.internalPort2 }}
    name: {{ .Values.service.portName2 }}
  - port: {{ .Values.service.internalPort3 }}
    name: {{ .Values.service.portName3 }}
  {{- end}}
  selector:
    app: {{ include "common.name" . }}
    release: {{ .Release.Name }}
  clusterIP: None