Skip to content

Commit

Permalink
fix ci
Browse files Browse the repository at this point in the history
  • Loading branch information
freeznet committed Sep 19, 2023
1 parent 8096df5 commit f55d331
Show file tree
Hide file tree
Showing 3 changed files with 18 additions and 19 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -98,21 +98,4 @@ spec:
priorityClassName: {{ .Values.controllerManager.priorityClassName }}
{{- end }}
volumes:
{{- include "function-mesh-operator.volumes" . | nindent 6 -}}
---
apiVersion: v1
kind: Service
metadata:
name: function-mesh-controller-manager-metrics-service
namespace: {{ .Release.Namespace }}
labels:
{{- include "function-mesh-operator.labels" . | nindent 4 }}
spec:
ports:
- name: http-metrics
port: {{ .Values.controllerManager.metrics.port }}
protocol: TCP
targetPort: {{ .Values.controllerManager.metrics.port }}
selector:
app.kubernetes.io/instance: {{ .Release.Name }}
app.kubernetes.io/component: controller-manager
{{- include "function-mesh-operator.volumes" . | nindent 6 -}}
Original file line number Diff line number Diff line change
@@ -0,0 +1,16 @@
apiVersion: v1
kind: Service
metadata:
name: function-mesh-controller-manager-metrics-service
namespace: {{ .Release.Namespace }}
labels:
{{- include "function-mesh-operator.labels" . | nindent 4 }}
spec:
ports:
- name: http-metrics
port: {{ .Values.controllerManager.metrics.port }}
protocol: TCP
targetPort: {{ .Values.controllerManager.metrics.port }}
selector:
app.kubernetes.io/instance: {{ .Release.Name }}
app.kubernetes.io/component: controller-manager
2 changes: 1 addition & 1 deletion config/default/kustomization.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -22,7 +22,7 @@ bases:
# [CERTMANAGER] To enable cert-manager, uncomment all sections with 'CERTMANAGER'. 'WEBHOOK' components are required.
- ../certmanager
# [PROMETHEUS] To enable prometheus monitor, uncomment all sections with 'PROMETHEUS'.
- ../prometheus
#- ../prometheus

patchesStrategicMerge:
# Protect the /metrics endpoint by putting it behind auth.
Expand Down

0 comments on commit f55d331

Please sign in to comment.