Skip to content

Commit

Permalink
Expose container port for probes (#149)
Browse files Browse the repository at this point in the history
kube-linter reports errors for this missing exposed container port.
  • Loading branch information
tkdchen authored Sep 30, 2024
1 parent a0445b4 commit 9f4b0f3
Showing 1 changed file with 4 additions and 0 deletions.
4 changes: 4 additions & 0 deletions config/manager/manager.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -43,6 +43,10 @@ spec:
- --leader-elect
image: controller:latest
name: manager
ports:
- containerPort: 8081
name: probes
protocol: TCP
securityContext:
allowPrivilegeEscalation: false
capabilities:
Expand Down

0 comments on commit 9f4b0f3

Please sign in to comment.