blob: efe0123ceb140c50f19535108aa2019e94356bf6 [file] [log] [blame]
Giorgi Lekveishvili4ec4c022024-08-17 15:09:24 +04001apiVersion: v1
2kind: Service
3metadata:
4 labels: {{- include "longhorn.labels" . | nindent 4 }}
Giorgi Lekveishvili4ec4c022024-08-17 15:09:24 +04005 app: longhorn-admission-webhook
6 name: longhorn-admission-webhook
7 namespace: {{ include "release_namespace" . }}
8spec:
9 type: ClusterIP
Giorgi Lekveishvili4ec4c022024-08-17 15:09:24 +040010 selector:
Giorgi Lekveishvili193b7c02025-05-22 16:21:37 +040011 longhorn.io/admission-webhook: longhorn-admission-webhook
Giorgi Lekveishvili4ec4c022024-08-17 15:09:24 +040012 ports:
13 - name: admission-webhook
14 port: 9502
15 targetPort: admission-wh
16---
17apiVersion: v1
18kind: Service
19metadata:
20 labels: {{- include "longhorn.labels" . | nindent 4 }}
21 app: longhorn-recovery-backend
22 name: longhorn-recovery-backend
23 namespace: {{ include "release_namespace" . }}
24spec:
25 type: ClusterIP
Giorgi Lekveishvili4ec4c022024-08-17 15:09:24 +040026 selector:
Giorgi Lekveishvili193b7c02025-05-22 16:21:37 +040027 longhorn.io/recovery-backend: longhorn-recovery-backend
Giorgi Lekveishvili4ec4c022024-08-17 15:09:24 +040028 ports:
29 - name: recovery-backend
30 port: 9503
31 targetPort: recov-backend