diff --git a/libs/cloudnative-pg/config.jsonnet b/libs/cloudnative-pg/config.jsonnet index 2c44e9d..eac48dd 100644 --- a/libs/cloudnative-pg/config.jsonnet +++ b/libs/cloudnative-pg/config.jsonnet @@ -3,26 +3,35 @@ local config = import 'jsonnet/config.jsonnet'; local versions = [ - { version: '1.24.1' }, // released on 16 OCT, 2024 - { version: '1.23.5' }, // released on 16 OCT, 2024 + { version: '1.25.0' }, // released on 23 DEC 2024 + { version: '1.24.2' }, // released on 23 DEC 2024 + { version: '1.23.6' }, // released on 23 DEC, 2024 ]; config.new( name='cloudnative-pg', specs=[ { - local url = 'https://raw.githubusercontent.com/cloudnative-pg/cloudnative-pg/main/config/crd/bases/', - output: v.version, - crds: [ - '%s/postgresql.cnpg.io_backups.yaml' % url, - '%s/postgresql.cnpg.io_clusters.yaml' % url, - '%s/postgresql.cnpg.io_clusterimagecatalogs.yaml' % url, - '%s/postgresql.cnpg.io_imagecatalogs.yaml' % url, - '%s/postgresql.cnpg.io_poolers.yaml' % url, - '%s/postgresql.cnpg.io_scheduledbackups.yaml' % url, - ], + crds: + [ + '%s/postgresql.cnpg.io_backups.yaml' % url, + '%s/postgresql.cnpg.io_clusterimagecatalogs.yaml' % url, + '%s/postgresql.cnpg.io_clusters.yaml' % url, + '%s/postgresql.cnpg.io_imagecatalogs.yaml' % url, + '%s/postgresql.cnpg.io_poolers.yaml' % url, + '%s/postgresql.cnpg.io_scheduledbackups.yaml' % url, + ] + + ( + if (v.version == '1.25.0') + then [ + '%s/postgresql.cnpg.io_databases.yaml' % url, + '%s/postgresql.cnpg.io_publications.yaml' % url, + '%s/postgresql.cnpg.io_subscriptions.yaml' % url, + ] + else [] + ), prefix: '^io\\.cnpg\\.postgresql\\..*', localName: 'cloudnative-pg', }