Skip to content

Commit

Permalink
Merge pull request #70 from deads2k/termination
Browse files Browse the repository at this point in the history
OCPBUGS-28230: enforce termination message policy on all platform pods
  • Loading branch information
openshift-merge-bot[bot] committed May 1, 2024
2 parents 7cb9279 + 7d71d2a commit 9c5dd8d
Show file tree
Hide file tree
Showing 2 changed files with 12 additions and 0 deletions.
9 changes: 9 additions & 0 deletions assets/controller.yaml
Expand Up @@ -86,6 +86,7 @@ spec:
requests:
memory: 50Mi
cpu: 10m
terminationMessagePolicy: FallbackToLogsOnError
- name: node-update-controller
image: ${DRIVER_IMAGE}
command: ["/bin/node-update-controller"]
Expand Down Expand Up @@ -115,6 +116,7 @@ spec:
requests:
memory: 50Mi
cpu: 10m
terminationMessagePolicy: FallbackToLogsOnError
- name: csi-provisioner
image: ${PROVISIONER_IMAGE}
imagePullPolicy: IfNotPresent
Expand All @@ -140,6 +142,7 @@ spec:
requests:
memory: 50Mi
cpu: 10m
terminationMessagePolicy: FallbackToLogsOnError
# kube-rbac-proxy for external-provisioner container.
# Provides https proxy for http-based external-provisioner metrics.
- name: provisioner-kube-rbac-proxy
Expand All @@ -162,6 +165,7 @@ spec:
volumeMounts:
- mountPath: /etc/tls/private
name: metrics-serving-cert
terminationMessagePolicy: FallbackToLogsOnError
- name: csi-attacher
image: ${ATTACHER_IMAGE}
imagePullPolicy: IfNotPresent
Expand All @@ -183,6 +187,7 @@ spec:
requests:
memory: 50Mi
cpu: 10m
terminationMessagePolicy: FallbackToLogsOnError
- name: attacher-kube-rbac-proxy
args:
- --secure-listen-address=0.0.0.0:9203
Expand All @@ -203,6 +208,7 @@ spec:
volumeMounts:
- mountPath: /etc/tls/private
name: metrics-serving-cert
terminationMessagePolicy: FallbackToLogsOnError
- name: csi-resizer
image: ${RESIZER_IMAGE}
imagePullPolicy: IfNotPresent
Expand All @@ -224,6 +230,7 @@ spec:
requests:
memory: 50Mi
cpu: 10m
terminationMessagePolicy: FallbackToLogsOnError
- name: resizer-kube-rbac-proxy
args:
- --secure-listen-address=0.0.0.0:9204
Expand All @@ -244,6 +251,7 @@ spec:
volumeMounts:
- mountPath: /etc/tls/private
name: metrics-serving-cert
terminationMessagePolicy: FallbackToLogsOnError
- name: csi-liveness-probe
image: ${LIVENESS_PROBE_IMAGE}
imagePullPolicy: IfNotPresent
Expand All @@ -259,6 +267,7 @@ spec:
requests:
memory: 50Mi
cpu: 10m
terminationMessagePolicy: FallbackToLogsOnError
volumes:
- name: socket-dir
emptyDir: {}
Expand Down
3 changes: 3 additions & 0 deletions assets/node.yaml
Expand Up @@ -81,6 +81,7 @@ spec:
requests:
memory: 50Mi
cpu: 10m
terminationMessagePolicy: FallbackToLogsOnError
- name: csi-node-driver-registrar
securityContext:
privileged: true
Expand Down Expand Up @@ -120,6 +121,7 @@ spec:
requests:
memory: 50Mi
cpu: 10m
terminationMessagePolicy: FallbackToLogsOnError
- name: csi-liveness-probe
image: ${LIVENESS_PROBE_IMAGE}
imagePullPolicy: IfNotPresent
Expand All @@ -135,6 +137,7 @@ spec:
requests:
memory: 50Mi
cpu: 10m
terminationMessagePolicy: FallbackToLogsOnError
volumes:
- name: kubelet-dir
hostPath:
Expand Down

0 comments on commit 9c5dd8d

Please sign in to comment.