Skip to content

Commit

Permalink
Merge pull request #992 from deads2k/termination
Browse files Browse the repository at this point in the history
OCPBUGS-28230: add FallbackToLogsOnError for easier debugging
  • Loading branch information
openshift-merge-bot[bot] committed Jan 26, 2024
2 parents 305d10f + 1fea78e commit 2962f2b
Show file tree
Hide file tree
Showing 4 changed files with 4 additions and 0 deletions.
1 change: 1 addition & 0 deletions bindata/nodecadaemon.yaml
Expand Up @@ -65,6 +65,7 @@ spec:
done
sleep 60 & wait ${!}
done
terminationMessagePolicy: FallbackToLogsOnError
volumeMounts:
- name: serviceca
mountPath: /tmp/serviceca
Expand Down
1 change: 1 addition & 0 deletions manifests/07-operator-ibm-cloud-managed.yaml
Expand Up @@ -56,6 +56,7 @@ spec:
requests:
cpu: 10m
memory: 50Mi
terminationMessagePolicy: FallbackToLogsOnError
volumeMounts:
- mountPath: /var/run/configmaps/trusted-ca/
name: trusted-ca
Expand Down
1 change: 1 addition & 0 deletions manifests/07-operator.yaml
Expand Up @@ -74,6 +74,7 @@ spec:
value: quay.io/openshift/origin-cli:v4.0
- name: AZURE_ENVIRONMENT_FILEPATH
value: /tmp/azurestackcloud.json
terminationMessagePolicy: FallbackToLogsOnError
volumeMounts:
- name: trusted-ca
mountPath: /var/run/configmaps/trusted-ca/
Expand Down
1 change: 1 addition & 0 deletions pkg/resource/podtemplatespec.go
Expand Up @@ -510,6 +510,7 @@ func makePodTemplateSpec(coreClient coreset.CoreV1Interface, proxyLister configl
},
},
},
TerminationMessagePolicy: corev1.TerminationMessageFallbackToLogsOnError,
},
},
Volumes: volumes,
Expand Down

0 comments on commit 2962f2b

Please sign in to comment.