Skip to content

Commit

Permalink
Documentation for Moon commit 544e15b1b3fac2fec90b96c2308402e710068889
Browse files Browse the repository at this point in the history
  • Loading branch information
aerokube/moon2 committed Aug 12, 2024
1 parent 0ac4933 commit 01a0a1d
Showing 1 changed file with 67 additions and 7 deletions.
74 changes: 67 additions & 7 deletions latest/index.html
Original file line number Diff line number Diff line change
Expand Up @@ -2296,12 +2296,8 @@ <h5 id="capability-context"><a class="anchor" href="#capability-context"></a>Add
<i class="fa icon-note" title="Note"></i>
</td>
<td class="content">
<div class="olist arabic">
<ol class="arabic">
<li>
<div class="paragraph">
<p>This feature is available since Moon 2.3.0.</p>
</li>
</ol>
</div>
</td>
</tr>
Expand All @@ -2317,6 +2313,32 @@ <h5 id="capability-context"><a class="anchor" href="#capability-context"></a>Add
</div>
</div>
</div>
<div class="sect4">
<h5 id="capability-window-manager"><a class="anchor" href="#capability-window-manager"></a>Disable Window Manager: windowManager</h5>
<div class="admonitionblock note">
<table>
<tr>
<td class="icon">
<i class="fa icon-note" title="Note"></i>
</td>
<td class="content">
<div class="paragraph">
<p>This feature is available since Moon 2.7.0.</p>
</div>
</td>
</tr>
</table>
</div>
<div class="paragraph">
<p>A window manager is system software that controls the placement and appearance of windows within a windowing system in a graphical user interface. By default, all browsers are started with enabled window manager. This capability allows to turn off window manager. The main change that will happen when you turn off window manager - browser window will have no title bar and border, you will be unable to resize and move browser window when doing manual testing, but you still can do this with code.</p>
</div>
<div class="listingblock">
<div class="title">Type: boolean</div>
<div class="content">
<pre>windowManager: false # Default is true</pre>
</div>
</div>
</div>
</div>
<div class="sect3">
<h4 id="selenium-headless"><a class="anchor" href="#selenium-headless"></a>2.2.2. Headless Mode</h4>
Expand Down Expand Up @@ -4950,6 +4972,7 @@ <h4 id="configuration-object"><a class="anchor" href="#configuration-object"></a
noProxy: &quot;&quot;
httpProxy: &quot;&quot;
httpsProxy: &quot;&quot;
metadata: true
pattern: &quot;&quot;
secretKey: &quot;&quot;
secretRef:
Expand Down Expand Up @@ -6095,7 +6118,7 @@ <h4 id="video-recording-s3"><a class="anchor" href="#video-recording-s3"></a>3.3
</table>
</li>
<li>
<p>Access to S3 bucket can be provided either with <strong>a pair of static credentials</strong> (an <strong>access key</strong> and a <strong>secret key</strong>) or by <strong>adding cloud platform roles</strong>. This section shows how to configure static credentials. How to configure role-based access to S3 bucket is shown <a href="#video-recording-s3-roles">below</a>.</p>
<p>Access to S3 bucket can be provided either with <strong>a pair of static credentials</strong> (an <strong>access key</strong> and a <strong>secret key</strong>) or by <strong>adding cloud platform roles</strong>. This section shows how to configure static credentials. How to configure role-based access to S3 bucket is shown <a href="#video-recording-s3-roles">below</a>. How to load S3 credentials from Kubernetes secret is described <a href="#video-recording-s3-secret">here</a>.</p>
</li>
<li>
<p>Update storage settings in <a href="#configuration-object">configuration object</a>:</p>
Expand Down Expand Up @@ -6454,6 +6477,43 @@ <h5 id="video-recording-proxy"><a class="anchor" href="#video-recording-proxy"><
<p>Syntax of these fields correspond to <code>NO_PROXY</code>, <code>HTTP_PROXY</code> and <code>HTTPS_PROXY</code> environment variables.</p>
</div>
</div>
<div class="sect4">
<h5 id="video-recording-instance-metadata"><a class="anchor" href="#video-recording-instance-metadata"></a>Disabling instance metadata support</h5>
<div class="admonitionblock note">
<table>
<tr>
<td class="icon">
<i class="fa icon-note" title="Note"></i>
</td>
<td class="content">
<div class="paragraph">
<p>This feature is available since Moon 2.7.0.</p>
</div>
</td>
</tr>
</table>
</div>
<div class="paragraph">
<p>By default, Moon expects that S3 client used for uploading videos can rely on so-called <a href="https://docs.aws.amazon.com/AWSEC2/latest/UserGuide/ec2-instance-metadata.html">instance metadata API</a>. This is supported in the majority of cloud platforms. In some cases however such API is not available. In that case you can instruct Moon to disable instance metadata support in S3 uploading logic:</p>
</div>
<div class="listingblock">
<div class="title">Disabling instance metadata for S3 uploads</div>
<div class="content">
<pre class="CodeRay highlight"><code data-lang="yaml"> <span class="key">apiVersion</span>: <span class="string"><span class="content">moon.aerokube.com/v1</span></span>
<span class="key">kind</span>: <span class="string"><span class="content">Config</span></span>
<span class="key">metadata</span>:
<span class="key">name</span>: <span class="string"><span class="content">default</span></span>
<span class="key">namespace</span>: <span class="string"><span class="content">moon</span></span>
<span class="comment"># Other Kubernetes metadata</span>
<span class="key">spec</span>:
<span class="comment"># Some fields before</span>
<span class="key">storage</span>:
<span class="comment"># Other S3 storage settings</span>
<span class="key">metadata</span>: <span class="string"><span class="content">false</span></span> <span class="comment"># This disables instance metadata (default is true)</span>
<span class="comment"># Other fields</span></code></pre>
</div>
</div>
</div>
</div>
</div>
<div class="sect2">
Expand Down Expand Up @@ -8676,7 +8736,7 @@ <h2 id="mobile-emulation-devices"><a class="anchor" href="#mobile-emulation-devi
<div id="footer">
<div id="footer-text">
Version latest<br>
Last updated 2024-08-12 03:52:10 UTC
Last updated 2024-08-12 16:22:04 UTC
</div>
</div>
<!-- Global site tag (gtag.js) - Google Analytics -->
Expand Down

0 comments on commit 01a0a1d

Please sign in to comment.