Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

🌱 Remove deprecated ControllerManagerConfig #2087

Merged
merged 1 commit into from
Nov 28, 2024
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
11 changes: 0 additions & 11 deletions config/base/controller_manager_config.yaml

This file was deleted.

9 changes: 0 additions & 9 deletions config/base/kustomization.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -27,21 +27,12 @@ resources:
generatorOptions:
disableNameSuffixHash: true

configMapGenerator:
- name: manager-config
files:
- controller_manager_config.yaml

patches:
# Protect the /metrics endpoint by putting it behind auth.
# If you want your controller-manager to expose the /metrics
# endpoint w/o any authn/z, please comment the following line.
- path: manager_auth_proxy_patch.yaml

# Mount the controller config file for loading manager configurations
# through a ComponentConfig type
#- manager_config_patch.yaml

# [WEBHOOK] To enable webhook, uncomment all the sections with [WEBHOOK] prefix including the one in
# crd/kustomization.yaml
- path: manager_webhook_patch.yaml
Expand Down
20 changes: 0 additions & 20 deletions config/base/manager_config_patch.yaml

This file was deleted.

19 changes: 0 additions & 19 deletions config/render/capm3.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -2502,25 +2502,6 @@ subjects:
namespace: baremetal-operator-system
---
apiVersion: v1
data:
controller_manager_config.yaml: |
apiVersion: controller-runtime.sigs.k8s.io/v1alpha1
kind: ControllerManagerConfig
health:
healthProbeBindAddress: :9440
metrics:
bindAddress: 127.0.0.1:8085
webhook:
port: 9443
leaderElection:
leaderElect: true
resourceName: a9498140.metal3.io
kind: ConfigMap
metadata:
name: baremetal-operator-manager-config
namespace: baremetal-operator-system
---
apiVersion: v1
data:
CACHEURL: http://172.22.0.1/images
DEPLOY_KERNEL_URL: http://172.22.0.2:6180/images/ironic-python-agent.kernel
Expand Down