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 b40c858 commit e853620
Showing 1 changed file with 10 additions and 0 deletions.
10 changes: 10 additions & 0 deletions assets/controller.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -68,6 +68,7 @@ spec:
timeoutSeconds: 3
periodSeconds: 10
failureThreshold: 5
terminationMessagePolicy: FallbackToLogsOnError
volumeMounts:
- name: socket-dir
mountPath: /var/lib/csi/sockets/pluginproxy/
Expand Down Expand Up @@ -100,6 +101,7 @@ spec:
env:
- name: ADDRESS
value: /var/lib/csi/sockets/pluginproxy/csi.sock
terminationMessagePolicy: FallbackToLogsOnError
volumeMounts:
- name: socket-dir
mountPath: /var/lib/csi/sockets/pluginproxy/
Expand Down Expand Up @@ -128,6 +130,7 @@ spec:
requests:
memory: 20Mi
cpu: 10m
terminationMessagePolicy: FallbackToLogsOnError
volumeMounts:
- mountPath: /etc/tls/private
name: metrics-serving-cert
Expand All @@ -146,6 +149,7 @@ spec:
env:
- name: ADDRESS
value: /var/lib/csi/sockets/pluginproxy/csi.sock
terminationMessagePolicy: FallbackToLogsOnError
volumeMounts:
- name: socket-dir
mountPath: /var/lib/csi/sockets/pluginproxy/
Expand All @@ -172,6 +176,7 @@ spec:
requests:
memory: 20Mi
cpu: 10m
terminationMessagePolicy: FallbackToLogsOnError
volumeMounts:
- mountPath: /etc/tls/private
name: metrics-serving-cert
Expand All @@ -189,6 +194,7 @@ spec:
env:
- name: ADDRESS
value: /var/lib/csi/sockets/pluginproxy/csi.sock
terminationMessagePolicy: FallbackToLogsOnError
volumeMounts:
- name: socket-dir
mountPath: /var/lib/csi/sockets/pluginproxy/
Expand All @@ -215,6 +221,7 @@ spec:
requests:
memory: 20Mi
cpu: 10m
terminationMessagePolicy: FallbackToLogsOnError
volumeMounts:
- mountPath: /etc/tls/private
name: metrics-serving-cert
Expand All @@ -233,6 +240,7 @@ spec:
env:
- name: ADDRESS
value: /var/lib/csi/sockets/pluginproxy/csi.sock
terminationMessagePolicy: FallbackToLogsOnError
volumeMounts:
- mountPath: /var/lib/csi/sockets/pluginproxy/
name: socket-dir
Expand All @@ -259,6 +267,7 @@ spec:
requests:
memory: 20Mi
cpu: 10m
terminationMessagePolicy: FallbackToLogsOnError
volumeMounts:
- mountPath: /etc/tls/private
name: metrics-serving-cert
Expand All @@ -270,6 +279,7 @@ spec:
- --probe-timeout=3s
- --health-port=10301
- --v=${LOG_LEVEL}
terminationMessagePolicy: FallbackToLogsOnError
volumeMounts:
- name: socket-dir
mountPath: /csi
Expand Down

0 comments on commit e853620

Please sign in to comment.