summaryrefslogtreecommitdiffstats
path: root/kubernetes/appc/charts/appc-ansible-server/templates/service.yaml
diff options
context:
space:
mode:
authorAaron Hay <ah415j@att.com>2018-08-21 13:55:00 -0400
committerMandeep Khinda <Mandeep.Khinda@amdocs.com>2018-08-30 15:00:58 +0000
commit343e600bda841d734e8d7fa73ed043847857557e (patch)
treeda3c0bc1447aaf4a1ce469cd5fbc74c71b7f0399 /kubernetes/appc/charts/appc-ansible-server/templates/service.yaml
parent187e47a9b8401f6a26c82a5a7ee8c5a83d253a20 (diff)
Add APPC ansible server pod to OOM chart
Change-Id: I92b472e6e8983684160def9c936286406475a924 Issue-ID: OOM-1346 Signed-off-by: Aaron Hay <ah415j@att.com>
Diffstat (limited to 'kubernetes/appc/charts/appc-ansible-server/templates/service.yaml')
-rw-r--r--kubernetes/appc/charts/appc-ansible-server/templates/service.yaml33
1 files changed, 33 insertions, 0 deletions
diff --git a/kubernetes/appc/charts/appc-ansible-server/templates/service.yaml b/kubernetes/appc/charts/appc-ansible-server/templates/service.yaml
new file mode 100644
index 0000000000..3325d6bc0f
--- /dev/null
+++ b/kubernetes/appc/charts/appc-ansible-server/templates/service.yaml
@@ -0,0 +1,33 @@
+# Copyright © 2018 AT&T Intellectual Property. 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: v1
+kind: Service
+metadata:
+ name: {{ .Values.service.name }}
+ namespace: {{ include "common.namespace" . }}
+ labels:
+ app: {{ include "common.name" . }}
+ chart: {{ .Chart.Name }}-{{ .Chart.Version | replace "+" "_" }}
+ release: {{ .Release.Name }}
+ heritage: {{ .Release.Service }}
+spec:
+ type: {{ .Values.service.type }}
+ ports:
+ - port: {{ .Values.service.externalPort }}
+ targetPort: {{ .Values.service.internalPort }}
+ name: {{ .Values.service.name }}
+ selector:
+ app: {{ include "common.name" . }}
+ release: {{ .Release.Name }} \ No newline at end of file