Skip to content

Commit

Permalink
Add details on Policy for Service Account (#132)
Browse files Browse the repository at this point in the history
  • Loading branch information
dvaldivia authored May 21, 2020
1 parent 3bb3175 commit c49a7bb
Showing 1 changed file with 11 additions and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -18,14 +18,15 @@ import React, { useEffect, useState } from "react";
import Grid from "@material-ui/core/Grid";
import { UnControlled as CodeMirror } from "react-codemirror2";
import Typography from "@material-ui/core/Typography";
import { Button, LinearProgress } from "@material-ui/core";
import { Button, LinearProgress, Tooltip } from "@material-ui/core";
import { createStyles, Theme, withStyles } from "@material-ui/core/styles";
import { modalBasic } from "../Common/FormComponents/common/styleLibrary";
import ModalWrapper from "../Common/ModalWrapper/ModalWrapper";
import api from "../../../common/api";
import "codemirror/lib/codemirror.css";
import "codemirror/theme/material.css";
import { NewServiceAccount } from "./types";
import HelpIcon from "@material-ui/icons/Help";

require("codemirror/mode/javascript/javascript");

Expand Down Expand Up @@ -120,6 +121,15 @@ const AddServiceAccount = ({
</Grid>
)}
<Grid item xs={12}>
<Typography component="h5">
Optional Policy
<Tooltip
title="A policy that restricts this service account can be attached."
placement="top-start"
>
<HelpIcon />
</Tooltip>
</Typography>
<CodeMirror
className={classes.codeMirror}
options={{
Expand Down

0 comments on commit c49a7bb

Please sign in to comment.