Skip to content

Commit

Permalink
fix: remove duplicated port in helm (#686)
Browse files Browse the repository at this point in the history
Signed-off-by: Todd Baert <todd.baert@dynatrace.com>
  • Loading branch information
toddbaert committed Jul 4, 2024
1 parent 31cddba commit 65c3c26
Show file tree
Hide file tree
Showing 2 changed files with 17 additions and 0 deletions.
16 changes: 16 additions & 0 deletions config/overlays/helm/exclude-webhook-server-container-port.yaml
Original file line number Diff line number Diff line change
@@ -0,0 +1,16 @@
# delete the default webhook-server port (to avoid duplicate) since we build it from helm
apiVersion: apps/v1
kind: Deployment
metadata:
name: controller-manager
namespace: system
spec:
template:
spec:
containers:
- name: manager
ports:
- containerPort: 9443
name: webhook-server
protocol: TCP
$patch: delete
1 change: 1 addition & 0 deletions config/overlays/helm/kustomization.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -14,6 +14,7 @@ namespace: |-
patchesStrategicMerge:
- exclude-ns.yaml
- manager.yaml
- exclude-webhook-server-container-port.yaml
- exclude-validatingwebhook.yaml

configMapGenerator:
Expand Down

0 comments on commit 65c3c26

Please sign in to comment.