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
|`name`_string_| The name of the extension, required | True || MinLength: 1 <br />Pattern: `^[a-z0-9]([-a-z0-9_]*[a-z0-9])?$` <br /> |
975
-
|`image`_[ImageVolumeSource](https://kubernetes.io/docs/reference/generated/kubernetes-api/v1.34/#imagevolumesource-v1-core)_| The image containing the extension, required | True|||
977
+
|`image`_[ImageVolumeSource](https://kubernetes.io/docs/reference/generated/kubernetes-api/v1.34/#imagevolumesource-v1-core)_| The image containing the extension. ||||
976
978
|`extension_control_path`_string array_| The list of directories inside the image which should be added to extension_control_path.<br />If not defined, defaults to "/share". ||||
977
979
|`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". ||||
978
980
|`ld_library_path`_string array_| The list of directories inside the image which should be added to ld_library_path. ||||
981
+
|`bin_path`_string array_| A list of directories within the image to be appended to the<br />PostgreSQL process's `PATH` environment variable. ||||
982
+
|`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. ||||
983
+
984
+
985
+
#### ExtensionEnvVar
986
+
987
+
988
+
989
+
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 /> |
1001
+
|`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 /> |
979
1002
980
1003
981
1004
#### ExtensionSpec
@@ -1892,8 +1915,9 @@ _Appears in:_
1892
1915
1893
1916
_Underlying type:__string_
1894
1917
1895
-
PrimaryUpdateMethod contains the method to use when upgrading
1896
-
the primary server of the cluster as part of rolling updates
1918
+
PrimaryUpdateMethod defines the method to use when upgrading
1919
+
the primary instance of the cluster as part of rolling updates.
0 commit comments