summaryrefslogtreecommitdiffstats
path: root/kubernetes/aaf/charts/aaf-sms/templates/service.yaml
blob: 18334a301c8416047e2ebfd2a1ae3eee4d95f117 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
# Copyright 2018 Intel Corporation, Inc
#
# 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: v1
kind: Service
metadata:
  name: {{ include "common.servicename" . }}
  namespace: {{ include "common.namespace" . }}
  labels:
    app: {{ include "common.fullname" . }}
    chart: {{ .Chart.Name }}-{{ .Chart.Version | replace "+" "_" }}
    release: {{ .Release.Name }}
    heritage: {{ .Release.Service }}
spec:
  type: {{ .Values.service.type }}
  ports:
  - name: {{ .Values.service.PortName }}
    {{if eq .Values.service.type "NodePort" -}}
    port: {{ .Values.service.internalPort }}
    nodePort: {{ .Values.global.nodePortPrefix | default "302" }}{{ .Values.service.nodePort }}
    {{- else -}}
    port: {{ .Values.service.externalPort }}
    targetPort: {{ .Values.service.internalPort }}
    {{- end}}
    protocol: TCP
  selector:
    app: {{ include "common.name" . }}
    release: {{ .Release.Name }}
n> "0.6.3", "express": "4.14.0", "extract-text-webpack-plugin": "2.1.0", "file-loader": "0.10.0", "html-loader": "0.4.5", "html-webpack-plugin": "2.28.0", "http-proxy-middleware": "0.14.0", "jshint-stylish": "2.2.1", "json-loader": "0.5.4", "less": "3.0.1", "less-loader": "4.1.0", "load-grunt-tasks": "3.5.2", "postcss-loader": "0.13.0", "postcss-url": "5.1.2", "raw-loader": "0.5.1", "sass-loader": "4.1.1", "script-loader": "0.7.0", "sdc-ui": "1.6.42", "source-map-loader": "0.1.5", "style-loader": "0.13.1", "url-loader": "0.5.7", "webpack-dev-middleware": "1.10.1", "webpack-dev-server": "~2.3.0" }, "engines": { "node": ">=6.9.4" }, "dependencies": { "@angular/cli": "1.7.3", "@angular/common": "2.4.10", "@angular/core": "2.4.10", "@angular/forms": "2.4.10", "@angular/http": "2.4.10", "@angular/platform-browser": "2.4.10", "@angular/platform-browser-dynamic": "2.4.10", "@angular/router": "3.4.8", "@angular/upgrade": "2.4.10", "@bardit/cytoscape-expand-collapse": "2.0.3", "@bardit/cytoscape-qtip": "2.5.1", "@swimlane/ngx-datatable": "^6.3.0", "@types/core-js": "0.9.46", "@types/js-md5": "0.4.2", "@types/lodash": "4.14.85", "@types/node": "7.0.55", "@types/q": "0.0.32", "angular": "1.6.10", "angular-base64": "2.0.5", "angular-base64-upload": "0.1.23", "angular-clipboard": "1.6.2", "angular-filter": "0.5.17", "angular-resizable": "1.2.0", "angular-resource": "1.5.11", "angular-sanitize": "1.6.9", "angular-tooltips": "0.1.23", "angular-translate": "2.17.0", "angular-translate-loader-static-files": "2.15.1", "angular-ui-bootstrap": "1.3.3", "angular-ui-notification": "0.3.6", "angular-ui-router": "0.4.3", "angular-uuid4": "0.3.1", "angular2-draggable": "1.1.0", "angular2-uuid": "1.1.1", "animate.css": "3.6.1", "awesome-typescript-loader": "3.0.8", "babel-core": "6.26.0", "babel-loader": "6.4.1", "bootstrap": "3.3.7", "checklist-model": "0.11.0", "class-transformer": "0.1.6", "clean-webpack-plugin": "0.1.16", "compression": "1.7.1", "compression-webpack-plugin": "0.4.0", "core-js": "2.4.1", "cytoscape": "2.7.15", "cytoscape.js-undo-redo": "1.0.1", "jquery": "2.2.4", "jqueryui": "1.11.1", "js-md5": "0.4.2", "lodash": "4.17.2", "ng-infinite-scroll": "1.3.0", "perfect-scrollbar": "0.6.16", "qtip2": "3.0.3", "reflect-metadata": "0.1.10", "restangular": "1.6.1", "rxjs": "5.4.2", "sdc-angular-dragdrop": "1.0.14", "sdc-pubsub": "1.0.30", "typescript": "2.4.2", "typings": "2.1.0", "underscore": "1.8.3", "webpack": "2.2.1", "webpack-bundle-analyzer": "2.8.2", "webpack-dev-server": "2.4.1", "webpack-merge": "4.0.0", "zone.js": "0.7.8" } }