Skip to content

Commit

Permalink
fix manager metrics service name
Browse files Browse the repository at this point in the history
  • Loading branch information
therealak12 committed Sep 5, 2023
1 parent fd5d587 commit 237b3dd
Show file tree
Hide file tree
Showing 5 changed files with 9 additions and 9 deletions.
4 changes: 2 additions & 2 deletions config/prometheus/monitor.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -6,12 +6,12 @@ metadata:
labels:
control-plane: controller-manager
app.kubernetes.io/name: servicemonitor
app.kubernetes.io/instance: controller-manager-metrics-monitor
app.kubernetes.io/instance: manager-metrics-monitor
app.kubernetes.io/component: metrics
app.kubernetes.io/created-by: route-to-contour-httpproxy
app.kubernetes.io/part-of: route-to-contour-httpproxy
app.kubernetes.io/managed-by: kustomize
name: controller-manager-metrics-monitor
name: manager-metrics-monitor
namespace: system
spec:
endpoints:
Expand Down
4 changes: 2 additions & 2 deletions config/rbac/auth_proxy_service.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -4,12 +4,12 @@ metadata:
labels:
control-plane: controller-manager
app.kubernetes.io/name: service
app.kubernetes.io/instance: controller-manager-metrics-service
app.kubernetes.io/instance: manager-metrics-service
app.kubernetes.io/component: kube-rbac-proxy
app.kubernetes.io/created-by: route-to-contour-httpproxy
app.kubernetes.io/part-of: route-to-contour-httpproxy
app.kubernetes.io/managed-by: kustomize
name: controller-manager-metrics-service
name: manager-metrics-service
namespace: system
spec:
ports:
Expand Down
2 changes: 1 addition & 1 deletion deploy/charts/route-to-contour-httpproxy/Chart.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -13,7 +13,7 @@ type: application
# This is the chart version. This version number should be incremented each time you make changes
# to the chart and its templates, including the app version.
# Versions are expected to follow Semantic Versioning (https://semver.org/)
version: 0.1.0
version: 0.1.1
# This is the version number of the application being deployed. This version number should be
# incremented each time you make changes to the application. Versions are not expected to
# follow Semantic Versioning. They should reflect the version the application is using.
Expand Down
Original file line number Diff line number Diff line change
@@ -1,17 +1,17 @@
apiVersion: v1
kind: Service
metadata:
name: {{ include "route-to-contour-httpproxy.fullname" . }}-controller-manager-metrics-service
name: {{ include "route-to-contour-httpproxy.fullname" . }}-manager-metrics-service
labels:
app.kubernetes.io/component: kube-rbac-proxy
app.kubernetes.io/created-by: route-to-contour-httpproxy
app.kubernetes.io/part-of: route-to-contour-httpproxy
control-plane: controller-manager
{{- include "route-to-contour-httpproxy.labels" . | nindent 4 }}
spec:
type: {{ .Values.metricsService.type }}
type: {{ .Values.managerMetricsService.type }}
selector:
control-plane: controller-manager
{{- include "route-to-contour-httpproxy.selectorLabels" . | nindent 4 }}
ports:
{{- .Values.metricsService.ports | toYaml | nindent 2 -}}
{{- .Values.managerMetricsService.ports | toYaml | nindent 2 -}}
2 changes: 1 addition & 1 deletion deploy/charts/route-to-contour-httpproxy/values.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -25,7 +25,7 @@ controllerManagerConfig:
interDcClass: 5s
defaultClass: 30s
kubernetesClusterDomain: cluster.local
metricsService:
managerMetricsService:
ports:
- name: https
port: 8443
Expand Down

0 comments on commit 237b3dd

Please sign in to comment.