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
  • Loading branch information
deads2k committed Apr 19, 2024
1 parent 342d140 commit ba43441
Show file tree
Hide file tree
Showing 3 changed files with 5 additions and 4 deletions.
4 changes: 2 additions & 2 deletions assets/templates/diskmaker-discovery-daemonset.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -45,7 +45,7 @@ spec:
memory: 50Mi
cpu: 10m
terminationMessagePath: /dev/termination-log
terminationMessagePolicy: File
terminationMessagePolicy: FallbackToLogsOnError
volumeMounts:
- mountPath: /mnt/local-storage
mountPropagation: HostToContainer
Expand Down Expand Up @@ -74,7 +74,7 @@ spec:
memory: 20Mi
cpu: 10m
terminationMessagePath: /dev/termination-log
terminationMessagePolicy: File
terminationMessagePolicy: FallbackToLogsOnError
volumeMounts:
- mountPath: /etc/tls/private
name: metrics-serving-cert
Expand Down
4 changes: 2 additions & 2 deletions assets/templates/diskmaker-manager-daemonset.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -45,7 +45,7 @@ spec:
memory: 50Mi
cpu: 10m
terminationMessagePath: /dev/termination-log
terminationMessagePolicy: File
terminationMessagePolicy: FallbackToLogsOnError
volumeMounts:
- mountPath: /mnt/local-storage
mountPropagation: HostToContainer
Expand Down Expand Up @@ -77,7 +77,7 @@ spec:
memory: 20Mi
cpu: 10m
terminationMessagePath: /dev/termination-log
terminationMessagePolicy: File
terminationMessagePolicy: FallbackToLogsOnError
volumeMounts:
- mountPath: /etc/tls/private
name: metrics-serving-cert
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -386,6 +386,7 @@ spec:
requests:
memory: 50Mi
cpu: 10m
terminationMessagePolicy: FallbackToLogsOnError
env:
- name: WATCH_NAMESPACE
valueFrom:
Expand Down

0 comments on commit ba43441

Please sign in to comment.