You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: website/versioned_docs/version-1.29/cloudnative-pg.v1.md
+20Lines changed: 20 additions & 0 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -996,6 +996,26 @@ _Appears in:_
996
996
|`dynamic_library_path`_string array_| The list of directories inside the image which should be added to dynamic_library_path.<br />If not defined, defaults to "/lib". ||||
997
997
|`ld_library_path`_string array_| The list of directories inside the image which should be added to ld_library_path. ||||
998
998
|`bin_path`_string array_| A list of directories within the image to be appended to the<br />PostgreSQL process's `PATH` environment variable. ||||
999
+
|`env`_[ExtensionEnvVar](#extensionenvvar) array_| Env is a list of custom environment variables to be set in the<br />PostgreSQL process for this extension. It is the responsibility of the<br />cluster administrator to ensure the variables are correct for the<br />specific extension. Note that changes to these variables require<br />a manual cluster restart to take effect. ||||
1000
+
1001
+
1002
+
#### ExtensionEnvVar
1003
+
1004
+
1005
+
1006
+
ExtensionEnvVar defines an environment variable for a specific extension
|`name`_string_| Name of the environment variable to be injected into the<br />PostgreSQL process. | True || MinLength: 1 <br />Pattern: `^[a-zA-Z_][a-zA-Z0-9_]*$` <br /> |
1018
+
|`value`_string_| Value of the environment variable. CloudNativePG performs a direct<br />replacement of this value, with support for placeholder expansion.<br />The $\{`image_root`\} placeholder resolves to the absolute mount path<br />of the extension's volume (e.g., `/extensions/my-extension`). This<br />is particularly useful for allowing applications or libraries to<br />locate specific directories within the mounted image.<br />Unrecognized placeholders are rejected. To include a literal $\{...\}<br />in the value, escape it as $$\{...\}. | True || MinLength: 1 <br /> |
0 commit comments