Skip to content

Commit ad193c5

Browse files
authored
chore: integrate metadata.hcl.tmpl with comments and instructions (#99)
Signed-off-by: Gabriele Bartolini <gabriele.bartolini@enterprisedb.com>
1 parent 214901d commit ad193c5

1 file changed

Lines changed: 37 additions & 0 deletions

File tree

templates/metadata.hcl.tmpl

Lines changed: 37 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -3,12 +3,49 @@
33
metadata = {
44
name = "{{ .Name }}"
55
sql_name = "{{ .Name }}"
6+
7+
# TODO: Remove this comment block after customizing the file.
8+
# `image_name`: MUST be unique across the container registry because
9+
# it identifies the image (e.g. ghcr.io/cloudnative-pg/<image_name>)
610
image_name = "{{ .Name }}"
11+
12+
# TODO: Remove this comment block after customizing the file.
13+
# `shared_preload_libraries`: list libraries to be added to
14+
# `shared_preload_libraries` in Postgres. Usually empty.
15+
# Used in tests.
16+
# Example: ["pgaudit"].
717
shared_preload_libraries = []
18+
19+
# TODO: Remove this comment block after customizing the file.
20+
# `extension_control_path`: if EMPTY (`[]`), the operator follows the CNPG
21+
# convention and will add the image's `share` directory to
22+
# `extension_control_path`. Usually empty.
23+
# Used in tests and to generate image catalogs.
24+
# See: https://cloudnative-pg.io/docs/current/imagevolume_extensions#image-specifications
825
extension_control_path = []
26+
27+
# TODO: Remove this comment block after customizing the file.
28+
# `dynamic_library_path`: if EMPTY (`[]`) the operator will add the image's
29+
# `lib` directory to `dynamic_library_path`. Usually empty.
30+
# Used in tests and to generate image catalogs.
931
dynamic_library_path = []
32+
33+
# TODO: Remove this comment block after customizing the file.
34+
# `ld_library_path`: this SHOULD be defined when your extension needs
35+
# additional (usually system) libraries loaded into Postgres before startup.
36+
# If left EMPTY (`[]`) the operator will NOT alter `ld_library_path`. See the
37+
# `postgis` extension metadata for an example usage. Usually empty.
38+
# Used in tests and to generate image catalogs.
1039
ld_library_path = []
40+
41+
# TODO: Remove this comment block after customizing the file.
42+
# `auto_update_os_libs`: set to true to allow the maintenance tooling
43+
# to update OS libraries automatically; look at the `postgis` example.
1144
auto_update_os_libs = false
45+
46+
# TODO: Remove this comment block after customizing the file.
47+
# `required_extensions`: must contain the name(s) of the sibling
48+
# folders in this repository that contain a required extension.
1249
required_extensions = []
1350

1451
versions = {

0 commit comments

Comments
 (0)