diff --git a/install/kubernetes/templates/operator_service.yaml b/install/kubernetes/templates/operator_service.yaml index dfa445e6d58..c2950ac448f 100644 --- a/install/kubernetes/templates/operator_service.yaml +++ b/install/kubernetes/templates/operator_service.yaml @@ -7,13 +7,13 @@ metadata: name: {{ .Release.Name }}-operator-metrics labels: {{- include "tetragon-operator.labels" . | nindent 4 }} - spec: - ports: - - name: metrics - port: {{ .Values.tetragonOperator.prometheus.port }} - targetPort: {{ .Values.tetragonOperator.prometheus.port }} - protocol: TCP - selector: - {{- include "tetragon-operator.selectorLabels" . | nindent 6 }} - type: ClusterIP +spec: + ports: + - name: metrics + port: {{ .Values.tetragonOperator.prometheus.port }} + targetPort: {{ .Values.tetragonOperator.prometheus.port }} + protocol: TCP + selector: + {{- include "tetragon-operator.selectorLabels" . | nindent 6 }} + type: ClusterIP {{- end }} \ No newline at end of file