Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
68 changes: 68 additions & 0 deletions PrefectDeployment.md
Original file line number Diff line number Diff line change
Expand Up @@ -538,6 +538,14 @@ ValueFrom is a reference to a secret containing the API key
spec.nodeName, spec.serviceAccountName, status.hostIP, status.podIP, status.podIPs.<br/>
</td>
<td>false</td>
</tr><tr>
<td><b><a href="#prefectdeploymentspecserverapikeyvaluefromfilekeyref">fileKeyRef</a></b></td>
<td>object</td>
<td>
FileKeyRef selects a key of the env file.
Requires the EnvFiles feature gate to be enabled.<br/>
</td>
<td>false</td>
</tr><tr>
<td><b><a href="#prefectdeploymentspecserverapikeyvaluefromresourcefieldref">resourceFieldRef</a></b></td>
<td>object</td>
Expand Down Expand Up @@ -639,6 +647,66 @@ spec.nodeName, spec.serviceAccountName, status.hostIP, status.podIP, status.podI
</table>


### PrefectDeployment.spec.server.apiKey.valueFrom.fileKeyRef
<sup><sup>[↩ Parent](#prefectdeploymentspecserverapikeyvaluefrom)</sup></sup>



FileKeyRef selects a key of the env file.
Requires the EnvFiles feature gate to be enabled.

<table>
<thead>
<tr>
<th>Name</th>
<th>Type</th>
<th>Description</th>
<th>Required</th>
</tr>
</thead>
<tbody><tr>
<td><b>key</b></td>
<td>string</td>
<td>
The key within the env file. An invalid key will prevent the pod from starting.
The keys defined within a source may consist of any printable ASCII characters except '='.
During Alpha stage of the EnvFiles feature gate, the key size is limited to 128 characters.<br/>
</td>
<td>true</td>
</tr><tr>
<td><b>path</b></td>
<td>string</td>
<td>
The path within the volume from which to select the file.
Must be relative and may not contain the '..' path or start with '..'.<br/>
</td>
<td>true</td>
</tr><tr>
<td><b>volumeName</b></td>
<td>string</td>
<td>
The name of the volume mount containing the env file.<br/>
</td>
<td>true</td>
</tr><tr>
<td><b>optional</b></td>
<td>boolean</td>
<td>
Specify whether the file or its key must be defined. If the file or key
does not exist, then the env var is not published.
If optional is set to true and the specified key does not exist,
the environment variable will not be set in the Pod's containers.

If optional is set to false and the specified key does not exist,
an error will be returned during Pod creation.<br/>
<br/>
<i>Default</i>: false<br/>
</td>
<td>false</td>
</tr></tbody>
</table>


### PrefectDeployment.spec.server.apiKey.valueFrom.resourceFieldRef
<sup><sup>[↩ Parent](#prefectdeploymentspecserverapikeyvaluefrom)</sup></sup>

Expand Down
Loading
Loading