mirror of
https://github.com/ysoftdevs/argo-poc.git
synced 2026-05-20 13:57:05 +02:00
22 lines
630 B
YAML
22 lines
630 B
YAML
apiVersion: v1
|
|
kind: Service
|
|
metadata:
|
|
name: {{ include "dragonfly-operator.fullname" . }}-controller-manager-metrics-service
|
|
labels:
|
|
{{- include "dragonfly-operator.labels" . | nindent 4 }}
|
|
app.kubernetes.io/component: kube-rbac-proxy
|
|
spec:
|
|
type: {{ .Values.service.type }}
|
|
ports:
|
|
- port: {{ .Values.service.port }}
|
|
targetPort: https
|
|
protocol: TCP
|
|
name: https
|
|
- port: {{ .Values.service.metricsPort }}
|
|
targetPort: metrics
|
|
protocol: TCP
|
|
name: metrics
|
|
selector:
|
|
{{- include "dragonfly-operator.selectorLabels" . | nindent 4 }}
|
|
control-plane: controller-manager
|