头盔发布升级超时

时间:2020-02-21 12:46:03

标签: terraform kubernetes-helm kong

我正在通过terraform升级头盔版本(Kong头盔图表),但失败了:

const ExamDetails = props => {
  const { title, description } = props.content;
  const [showData, setShowData] =  useState(false);

  useEffect(() => {
     console.log(title);
    //only set true once this component has received the title prop
    if(title !== undefined && title !== null){ 
       setShowData(true);
    }
  }, [title])

  return (
    <>
      <div
        className="font-weight-bold h2"
        dangerouslySetInnerHTML={{ __html: title }}
      />
      <div
        className="content-side"
        dangerouslySetInnerHTML={{ __html: description }}
      />
      {showData && ReactDOM.createPortal(
            <h1>gurmeet</h1>,
            document.getElementsByClassName('js-lead-in-content')[0]
          )}
    </>
  );
};

export default ExamDetails;

我尝试回滚并进行升级,但没有更改。

知道为什么要得到这个吗?

0 个答案:

没有答案