mirror of
https://github.com/lensapp/lens.git
synced 2025-05-20 05:10:56 +00:00
Add paddings in Proxy page
Signed-off-by: Alex Andreev <alex.andreev.email@gmail.com>
This commit is contained in:
parent
5e4be5f6b2
commit
89a84faf14
@ -31,7 +31,7 @@ export const LensProxy = observer(() => {
|
|||||||
|
|
||||||
return (
|
return (
|
||||||
<section id="proxy">
|
<section id="proxy">
|
||||||
<section>
|
<section className="mb-12">
|
||||||
<h2 data-testid="proxy-header">Proxy</h2>
|
<h2 data-testid="proxy-header">Proxy</h2>
|
||||||
<SubTitle title="HTTP Proxy"/>
|
<SubTitle title="HTTP Proxy"/>
|
||||||
<Input
|
<Input
|
||||||
@ -41,14 +41,14 @@ export const LensProxy = observer(() => {
|
|||||||
onChange={v => setProxy(v)}
|
onChange={v => setProxy(v)}
|
||||||
onBlur={() => UserStore.getInstance().httpsProxy = proxy}
|
onBlur={() => UserStore.getInstance().httpsProxy = proxy}
|
||||||
/>
|
/>
|
||||||
<small className="hint">
|
<p className="pt-4">
|
||||||
Proxy is used only for non-cluster communication.
|
Proxy is used only for non-cluster communication.
|
||||||
</small>
|
</p>
|
||||||
</section>
|
</section>
|
||||||
|
|
||||||
<hr className="small"/>
|
<hr className="mb-12"/>
|
||||||
|
|
||||||
<section className="small">
|
<section>
|
||||||
<SubTitle title="Certificate Trust"/>
|
<SubTitle title="Certificate Trust"/>
|
||||||
<FormSwitch
|
<FormSwitch
|
||||||
control={
|
control={
|
||||||
@ -60,11 +60,11 @@ export const LensProxy = observer(() => {
|
|||||||
}
|
}
|
||||||
label="Allow untrusted Certificate Authorities"
|
label="Allow untrusted Certificate Authorities"
|
||||||
/>
|
/>
|
||||||
<small className="hint">
|
<p className="pt-4 leading-snug">
|
||||||
This will make Lens to trust ANY certificate authority without any validations.{" "}
|
This will make Lens to trust ANY certificate authority without any validations.{" "}
|
||||||
Needed with some corporate proxies that do certificate re-writing.{" "}
|
Needed with some corporate proxies that do certificate re-writing.{" "}
|
||||||
Does not affect cluster communications!
|
Does not affect cluster communications!
|
||||||
</small>
|
</p>
|
||||||
</section>
|
</section>
|
||||||
</section>
|
</section>
|
||||||
);
|
);
|
||||||
|
|||||||
Loading…
Reference in New Issue
Block a user