Skip to content

Commit ceeb2a9

Browse files
committed
fix: remove duplicated port in helm
Signed-off-by: Todd Baert <todd.baert@dynatrace.com>
1 parent 31cddba commit ceeb2a9

File tree

2 files changed

+18
-0
lines changed

2 files changed

+18
-0
lines changed
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,17 @@
1+
# delete the default webhook-server port (to avoid duplicate) since we build it from helm
2+
apiVersion: apps/v1
3+
kind: Deployment
4+
metadata:
5+
name: controller-manager
6+
namespace: system
7+
spec:
8+
template:
9+
spec:
10+
containers:
11+
- name: manager
12+
ports:
13+
- containerPort: 9443
14+
name: webhook-server
15+
protocol: TCP
16+
$patch: delete
17+

config/overlays/helm/kustomization.yaml

+1
Original file line numberDiff line numberDiff line change
@@ -14,6 +14,7 @@ namespace: |-
1414
patchesStrategicMerge:
1515
- exclude-ns.yaml
1616
- manager.yaml
17+
- exclude-webhook-server-container-port.yaml
1718
- exclude-validatingwebhook.yaml
1819

1920
configMapGenerator:

0 commit comments

Comments
 (0)