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 /> |
986
-
|`image`_[ImageVolumeSource](https://kubernetes.io/docs/reference/generated/kubernetes-api/v1.34/#imagevolumesource-v1-core)_| The image containing the extension, required | True|||
988
+
|`image`_[ImageVolumeSource](https://kubernetes.io/docs/reference/generated/kubernetes-api/v1.34/#imagevolumesource-v1-core)_| The image containing the extension. ||||
987
989
|`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". ||||
988
990
|`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". ||||
989
991
|`ld_library_path`_string array_| The list of directories inside the image which should be added to ld_library_path. ||||
992
+
|`bin_path`_string array_| A list of directories within the image to be appended to the<br />PostgreSQL process's `PATH` environment variable. ||||
993
+
|`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. ||||
994
+
995
+
996
+
#### ExtensionEnvVar
997
+
998
+
999
+
1000
+
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 /> |
1012
+
|`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 /> |
990
1013
991
1014
992
1015
#### ExtensionSpec
@@ -1955,8 +1978,9 @@ _Appears in:_
1955
1978
1956
1979
_Underlying type:__string_
1957
1980
1958
-
PrimaryUpdateMethod contains the method to use when upgrading
1959
-
the primary server of the cluster as part of rolling updates
1981
+
PrimaryUpdateMethod defines the method to use when upgrading
1982
+
the primary instance of the cluster as part of rolling updates.
0 commit comments