Skip to content

Commit 8ba5c02

Browse files
Merge pull request #546 from mbaldessari/drop-metrics-sidecar
Drop the /metrics endpoint
2 parents d262906 + 148e8a0 commit 8ba5c02

9 files changed

Lines changed: 0 additions & 83 deletions

bundle/manifests/patterns-operator-controller-manager-metrics-service_v1_service.yaml

Lines changed: 0 additions & 17 deletions
This file was deleted.

bundle/manifests/patterns-operator-manager-config_v1_configmap.yaml

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -5,8 +5,6 @@ data:
55
kind: ControllerManagerConfig
66
health:
77
healthProbeBindAddress: :8081
8-
metrics:
9-
bindAddress: 127.0.0.1:8080
108
webhook:
119
port: 9443
1210
leaderElection:

bundle/manifests/patterns-operator-metrics-reader_rbac.authorization.k8s.io_v1_clusterrole.yaml

Lines changed: 0 additions & 10 deletions
This file was deleted.

config/default/kustomization.yaml

Lines changed: 0 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -21,15 +21,7 @@ bases:
2121
- ../webhook
2222
# [CERTMANAGER] To enable cert-manager, uncomment all sections with 'CERTMANAGER'. 'WEBHOOK' components are required.
2323
#- ../certmanager
24-
# [PROMETHEUS] To enable prometheus monitor, uncomment all sections with 'PROMETHEUS'.
25-
#- ../prometheus
26-
2724
patchesStrategicMerge:
28-
# Protect the /metrics endpoint by putting it behind auth.
29-
# If you want your controller-manager to expose the /metrics
30-
# endpoint w/o any authn/z, please comment the following line.
31-
# - manager_auth_proxy_patch.yaml
32-
3325
# Mount the controller config file for loading manager configurations
3426
# through a ComponentConfig type
3527
#- manager_config_patch.yaml

config/default/manager_auth_proxy_patch.yaml

Lines changed: 0 additions & 15 deletions
This file was deleted.

config/manager/controller_manager_config.yaml

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -2,8 +2,6 @@ apiVersion: controller-runtime.sigs.k8s.io/v1alpha1
22
kind: ControllerManagerConfig
33
health:
44
healthProbeBindAddress: :8081
5-
metrics:
6-
bindAddress: 127.0.0.1:8080
75
webhook:
86
port: 9443
97
leaderElection:

config/prometheus/kustomization.yaml

Lines changed: 0 additions & 2 deletions
This file was deleted.

config/prometheus/monitor.yaml

Lines changed: 0 additions & 20 deletions
This file was deleted.

config/rbac/kustomization.yaml

Lines changed: 0 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -9,10 +9,3 @@ resources:
99
- role_binding.yaml
1010
- leader_election_role.yaml
1111
- leader_election_role_binding.yaml
12-
# Comment the following 4 lines if you want to disable
13-
# the auth proxy (https://github.com/brancz/kube-rbac-proxy)
14-
# which protects your /metrics endpoint.
15-
#- auth_proxy_service.yaml
16-
#- auth_proxy_role.yaml
17-
#- auth_proxy_role_binding.yaml
18-
#- auth_proxy_client_clusterrole.yaml

0 commit comments

Comments
 (0)