Skip to content

Commit

Permalink
Add metallb CRDs
Browse files Browse the repository at this point in the history
  • Loading branch information
blmhemu committed Aug 18, 2024
1 parent 2ffb318 commit 5e70a87
Showing 1 changed file with 28 additions and 0 deletions.
28 changes: 28 additions & 0 deletions libs/metallb/config.jsonnet
Original file line number Diff line number Diff line change
@@ -0,0 +1,28 @@
local config = import 'jsonnet/config.jsonnet';
local versions = ['0.14.8'];
local manifests = [
'bfdprofiles',
'bgpadvertisements',
'bgppeers',
'communities',
'ipaddresspools',
'l2advertisements',
'servicel2statuses',
];

config.new(
name='argo-cd',
specs=[
{
localName: 'metallb',
output: std.join('.', std.split(version, '.')[:2]),
prefix: '^io\\.metallb\\..*',
crds: [
'https://raw.githubusercontent.com/metallb/metallb/v%s/config/crd/bases/metallb.io_%s.yaml'
% [version, manifest]
for manifest in manifests
],
}
for version in versions
]
)

0 comments on commit 5e70a87

Please sign in to comment.