Skip to content

Commit

Permalink
Remove unused manager config configmap
Browse files Browse the repository at this point in the history
- this configmap is never mounted in the deployment,
so it's never used
  • Loading branch information
ChunyiLyu committed May 20, 2024
1 parent 5f16b20 commit 690ae9c
Show file tree
Hide file tree
Showing 3 changed files with 0 additions and 43 deletions.
19 changes: 0 additions & 19 deletions charts/kratix/templates/distribution.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -364,25 +364,6 @@ subjects:
namespace: kratix-platform-system
---
apiVersion: v1
data:
controller_manager_config.yaml: |
apiVersion: controller-runtime.sigs.k8s.io/v1alpha1
kind: ControllerManagerConfig
health:
healthProbeBindAddress: :8081
metrics:
bindAddress: 127.0.0.1:8080
webhook:
port: 9443
leaderElection:
leaderElect: true
resourceName: 2743c979.kratix.io
kind: ConfigMap
metadata:
name: kratix-platform-manager-config
namespace: kratix-platform-system
---
apiVersion: v1
data:
WC_IMG: syntasso/kratix-platform-pipeline-adapter:5a754f2bf1cda45374e2b786db845a1db14e61fc
kind: ConfigMap
Expand Down
4 changes: 0 additions & 4 deletions config/default/kustomization.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -30,10 +30,6 @@ patchesStrategicMerge:
# endpoint w/o any authn/z, please comment the following line.
- 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
- manager_webhook_patch.yaml
Expand Down
20 changes: 0 additions & 20 deletions config/default/manager_config_patch.yaml

This file was deleted.

0 comments on commit 690ae9c

Please sign in to comment.