Skip to content

Commit

Permalink
OCPBUGS-28230: enforce termination message policy on all platform pods
Browse files Browse the repository at this point in the history
Signed-off-by: Joe Lanford <joe.lanford@gmail.com>
  • Loading branch information
joelanford committed May 1, 2024
1 parent 79d64e8 commit 28ec719
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 0 deletions.
1 change: 1 addition & 0 deletions config/e2e/manager_e2e_coverage_copy_pod.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -18,6 +18,7 @@ spec:
capabilities:
drop:
- "ALL"
terminationMessagePolicy: FallbackToLogsOnError
volumeMounts:
- name: e2e-coverage-volume
mountPath: /e2e-coverage
Expand Down
2 changes: 2 additions & 0 deletions config/manager/manager.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -84,6 +84,7 @@ spec:
requests:
cpu: 10m
memory: 64Mi
terminationMessagePolicy: FallbackToLogsOnError
- name: kube-rbac-proxy
securityContext:
allowPrivilegeEscalation: false
Expand All @@ -104,6 +105,7 @@ spec:
requests:
cpu: 5m
memory: 64Mi
terminationMessagePolicy: FallbackToLogsOnError
serviceAccountName: controller-manager
terminationGracePeriodSeconds: 10
volumes:
Expand Down

0 comments on commit 28ec719

Please sign in to comment.