Skip to content

Commit

Permalink
Upgrade sample testdata in the v3x branch
Browse files Browse the repository at this point in the history
  • Loading branch information
camilamacedo86 committed May 23, 2024
1 parent 11b6a2a commit edbd1c7
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 12 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -31,6 +31,8 @@ patches:
# More info: https://book.kubebuilder.io/reference/metrics
# If you want to expose the metric endpoint of your controller-manager uncomment the following line.
#- path: manager_metrics_patch.yaml
# target:
# kind: Deployment

# Mount the controller config file for loading manager configurations
# through a ComponentConfig type
Expand Down
Original file line number Diff line number Diff line change
@@ -1,13 +1,4 @@
# This patch adds the args to allow exposing the metrics endpoint securely
apiVersion: apps/v1
kind: Deployment
metadata:
name: controller-manager
namespace: system
spec:
template:
spec:
containers:
- name: manager
args:
- "--metrics-bind-address=0.0.0.0:8080"
- op: add
path: /spec/template/spec/containers/0/args/0
value: --metrics-bind-address=:8080

0 comments on commit edbd1c7

Please sign in to comment.