blob: ee4b215b9101a037587cdfa4af0d702cc808eaa6 [file] [log] [blame]
Davit Tabidze207ce082024-04-09 19:15:25 +04001apiVersion: v1
2kind: Service
3metadata:
4 name: launcher
5 namespace: {{ .Release.Namespace }}
6spec:
7 type: ClusterIP
8 selector:
9 app: launcher
10 ports:
11 - name: {{ .Values.portName }}
12 protocol: TCP
13 port: 80
14 targetPort: http
15---
16apiVersion: apps/v1
17kind: Deployment
18metadata:
19 name: launcher
20 namespace: {{ .Release.Namespace }}
21spec:
22 replicas: 1
23 selector:
24 matchLabels:
25 app: launcher
26 template:
27 metadata:
28 labels:
29 app: launcher
30 spec:
31 containers:
32 - name: launcher
33 image: {{ .Values.image.repository }}:{{ .Values.image.tag }}
34 ports:
35 - name: http
36 containerPort: 8080
37 protocol: TCP
38 command:
39 - launcher
40 - --port=8080
41 - --logoutUrl={{ .Values.logoutUrl }}