blob: 3ce1e3b0ad7c6bcc11d7f23e0ee8f200ab8e3a96 [file] [log] [blame]
vijaynag4b57d462020-06-08 14:23:10 +00001# Copyright 2019 TATA ELXSI
2#
3# Licensed under the Apache License, Version 2.0 (the "License");
4# you may not use this file except in compliance with the License.
5# You may obtain a copy of the License at
6#
7# http://www.apache.org/licenses/LICENSE-2.0
8#
9# Unless required by applicable law or agreed to in writing, software
10# distributed under the License is distributed on an "AS IS" BASIS,
11# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or
12# implied.
13# See the License for the specific language governing permissions and
14# limitations under the License
15# Author: Vijay Nag B S (vijaynag.bs@tataelxsi.co.in)
16
17apiVersion: v1
18kind: Service
19metadata:
20 name: ng-ui
21spec:
22 ports:
23 - nodePort: 80
24 port: 80
25 protocol: TCP
26 targetPort: 80
27 selector:
28 app: ng-ui
29 type: NodePort
30---
31apiVersion: apps/v1
32kind: Deployment
33metadata:
34 name: ng-ui
35 labels:
36 app: ng-ui
37spec:
38 replicas: 1
39 selector:
40 matchLabels:
41 app: ng-ui
42 template:
43 metadata:
44 labels:
45 app: ng-ui
46 spec:
preethika.pb147d712022-02-22 04:10:41 +000047 securityContext:
48 runAsUser: 1000
49 runAsGroup: 1000
50 fsGroup: 1000
vijaynag4b57d462020-06-08 14:23:10 +000051 containers:
52 - name: ng-ui
garciadeblas375b2702021-11-08 12:40:18 +010053 image: opensourcemano/ng-ui:11
vijaynag4b57d462020-06-08 14:23:10 +000054 ports:
55 - containerPort: 80
56 protocol: TCP