Skip to content

Commit 7ff5ecd

Browse files
author
Joshua Reed
committed
Debugging additions.
1 parent e46f038 commit 7ff5ecd

File tree

4 files changed

+17
-6
lines changed

4 files changed

+17
-6
lines changed

config/dev/kustomization.yaml

Lines changed: 0 additions & 5 deletions
This file was deleted.

config/dev/insecure_manager.yaml renamed to config/develop/insecure_manager.yaml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -11,5 +11,5 @@ spec:
1111
labels:
1212
control-plane: capc-controller-manager
1313
spec:
14-
securityContext:
14+
securityContext: # Tilt image build and runs as root.
1515
runAsNonRoot: false

config/develop/kustomization.yaml

Lines changed: 12 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,12 @@
1+
namespace: capc-system
2+
bases:
3+
- ../default
4+
patchesStrategicMerge:
5+
- insecure_manager.yaml
6+
7+
patches:
8+
- path: manager_open_debug_port.yaml
9+
target:
10+
kind: Deployment
11+
name: controller-manager
12+
namespace: system
Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,4 @@
1+
- op: add
2+
path: /spec/template/spec/containers/0/ports/-
3+
value:
4+
containerPort: 40000 # Delve debugging port.

0 commit comments

Comments
 (0)