blob: 9523cabcab8879b2172156b613dba6f7a7409140 [file] [log] [blame]
Giorgi Lekveishvili725bb392023-05-05 18:24:27 +04001apiVersion: v1
2kind: Service
3metadata:
4 labels: {{- include "longhorn.labels" . | nindent 4 }}
5 app: longhorn-conversion-webhook
6 name: longhorn-conversion-webhook
7 namespace: {{ include "release_namespace" . }}
8spec:
9 type: ClusterIP
Giorgi Lekveishvili725bb392023-05-05 18:24:27 +040010 selector:
Giorgi Lekveishvili285ab622023-11-22 13:50:45 +040011 app: longhorn-manager
Giorgi Lekveishvili725bb392023-05-05 18:24:27 +040012 ports:
13 - name: conversion-webhook
Giorgi Lekveishvili285ab622023-11-22 13:50:45 +040014 port: 9501
Giorgi Lekveishvili725bb392023-05-05 18:24:27 +040015 targetPort: conversion-wh
16---
17apiVersion: v1
18kind: Service
19metadata:
20 labels: {{- include "longhorn.labels" . | nindent 4 }}
21 app: longhorn-admission-webhook
22 name: longhorn-admission-webhook
23 namespace: {{ include "release_namespace" . }}
24spec:
25 type: ClusterIP
Giorgi Lekveishvili725bb392023-05-05 18:24:27 +040026 selector:
Giorgi Lekveishvili285ab622023-11-22 13:50:45 +040027 app: longhorn-manager
Giorgi Lekveishvili725bb392023-05-05 18:24:27 +040028 ports:
29 - name: admission-webhook
Giorgi Lekveishvili285ab622023-11-22 13:50:45 +040030 port: 9502
Giorgi Lekveishvili725bb392023-05-05 18:24:27 +040031 targetPort: admission-wh
32---
33apiVersion: v1
34kind: Service
35metadata:
36 labels: {{- include "longhorn.labels" . | nindent 4 }}
37 app: longhorn-recovery-backend
38 name: longhorn-recovery-backend
39 namespace: {{ include "release_namespace" . }}
40spec:
41 type: ClusterIP
Giorgi Lekveishvili725bb392023-05-05 18:24:27 +040042 selector:
Giorgi Lekveishvili285ab622023-11-22 13:50:45 +040043 app: longhorn-manager
Giorgi Lekveishvili725bb392023-05-05 18:24:27 +040044 ports:
45 - name: recovery-backend
Giorgi Lekveishvili285ab622023-11-22 13:50:45 +040046 port: 9503
Giorgi Lekveishvili725bb392023-05-05 18:24:27 +040047 targetPort: recov-backend