Skip to content

Commit 66bb564

Browse files
Deployed d0dc95b to dev with MkDocs 1.6.1 and mike 2.1.4
1 parent 4e26b31 commit 66bb564

File tree

2 files changed

+18
-3
lines changed

2 files changed

+18
-3
lines changed

dev/configuration-and-management/tls-configuration/index.html

Lines changed: 17 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -2777,23 +2777,38 @@ <h3 id="environment-variables">Environment Variables</h3>
27772777
<tr>
27782778
<th>Variable</th>
27792779
<th>Description</th>
2780+
<th>Default</th>
27802781
<th>Example</th>
27812782
</tr>
27822783
</thead>
27832784
<tbody>
27842785
<tr>
27852786
<td><code>TLS_CERT</code></td>
27862787
<td>Path to TLS certificate file</td>
2788+
<td>(none)</td>
27872789
<td><code>/etc/maas-api/tls/tls.crt</code></td>
27882790
</tr>
27892791
<tr>
27902792
<td><code>TLS_KEY</code></td>
27912793
<td>Path to TLS private key file</td>
2794+
<td>(none)</td>
27922795
<td><code>/etc/maas-api/tls/tls.key</code></td>
27932796
</tr>
2797+
<tr>
2798+
<td><code>TLS_SELF_SIGNED</code></td>
2799+
<td>Generate a self-signed certificate at startup</td>
2800+
<td><code>false</code></td>
2801+
<td><code>true</code></td>
2802+
</tr>
2803+
<tr>
2804+
<td><code>TLS_MIN_VERSION</code></td>
2805+
<td>Minimum accepted TLS version (<code>1.2</code> or <code>1.3</code>)</td>
2806+
<td><code>1.2</code></td>
2807+
<td><code>1.3</code></td>
2808+
</tr>
27942809
</tbody>
27952810
</table>
2796-
<p>When both variables are set, the API server listens on HTTPS (port 8443) instead of HTTP (port 8080).</p>
2811+
<p>When <code>TLS_CERT</code> and <code>TLS_KEY</code> are both set, the API server listens on HTTPS (port 8443) instead of HTTP (port 8080). If <code>TLS_SELF_SIGNED</code> is set to <code>true</code>, a self-signed certificate is generated automatically and explicit cert/key paths are not required. When both cert/key files and <code>TLS_SELF_SIGNED</code> are provided, the cert/key files take precedence.</p>
27972812
<h3 id="volume-mounts">Volume Mounts</h3>
27982813
<p>Certificates should be mounted as a volume from a Kubernetes Secret:</p>
27992814
<div class="highlight"><pre><span></span><code><a id="__codelineno-5-1" name="__codelineno-5-1" href="#__codelineno-5-1"></a><span class="nt">spec</span><span class="p">:</span>
@@ -2911,7 +2926,7 @@ <h3 id="test-https-endpoint">Test HTTPS Endpoint</h3>
29112926
<span class="md-icon" title="Last update">
29122927
<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 24 24"><path d="M21 13.1c-.1 0-.3.1-.4.2l-1 1 2.1 2.1 1-1c.2-.2.2-.6 0-.8l-1.3-1.3c-.1-.1-.2-.2-.4-.2m-1.9 1.8-6.1 6V23h2.1l6.1-6.1zM12.5 7v5.2l4 2.4-1 1L11 13V7zM11 21.9c-5.1-.5-9-4.8-9-9.9C2 6.5 6.5 2 12 2c5.3 0 9.6 4.1 10 9.3-.3-.1-.6-.2-1-.2s-.7.1-1 .2C19.6 7.2 16.2 4 12 4c-4.4 0-8 3.6-8 8 0 4.1 3.1 7.5 7.1 7.9l-.1.2z"/></svg>
29132928
</span>
2914-
<span class="git-revision-date-localized-plugin git-revision-date-localized-plugin-date" title="March 29, 2026 13:56:15 UTC">March 29, 2026</span>
2929+
<span class="git-revision-date-localized-plugin git-revision-date-localized-plugin-date" title="March 31, 2026 19:13:17 UTC">March 31, 2026</span>
29152930
</span>
29162931

29172932

dev/search/search_index.json

Lines changed: 1 addition & 1 deletion
Large diffs are not rendered by default.

0 commit comments

Comments
 (0)