Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Bump CNPG library to v1.25.0 #495

Merged
merged 2 commits into from
Feb 12, 2025
Merged
Changes from 1 commit
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
37 changes: 25 additions & 12 deletions libs/cloudnative-pg/config.jsonnet
Original file line number Diff line number Diff line change
Expand Up @@ -3,26 +3,39 @@
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:
if (v.version == '1.25.0') then
[
'%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_databases.yaml' % url, // Added in v1.25.0
'%s/postgresql.cnpg.io_imagecatalogs.yaml' % url,
'%s/postgresql.cnpg.io_poolers.yaml' % url,
'%s/postgresql.cnpg.io_publications.yaml' % url, // Added in v1.25.0
'%s/postgresql.cnpg.io_scheduledbackups.yaml' % url,
'%s/postgresql.cnpg.io_subscriptions.yaml' % url, // Added in v1.25.0
]
else
[
'%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,
],
jakubhajek marked this conversation as resolved.
Show resolved Hide resolved
prefix: '^io\\.cnpg\\.postgresql\\..*',
localName: 'cloudnative-pg',
}
Expand Down
Loading