@@ -73,6 +73,9 @@ export default class ControllerTab extends Component<PropsType, StateType> {
this.setState({ pods, raw: res.data, showTooltip });
if (isFirst) {
+ let pod = res.data[0];
+ let status = this.getPodStatus(pod.status);
+ (status === "failed" && pod.status?.message) && this.props.setPodError(pod.status?.message);
selectPod(res.data[0]);
}
})
@@ -713,3 +713,16 @@ const StyledSourceBox = styled.div`
overflow: auto;
margin-bottom: 25px;
`;
+
+const StyledSourceBox = styled.div`
+ width: 100%;
+ height: 100%;
+ background: #ffffff11;
+ color: #ffffff;
+ padding: 10px 35px 25px;
+ position: relative;
+ border-radius: 5px;
+ font-size: 13px;
+ overflow: auto;
+ margin-bottom: 25px;
+`;