NAME

Kubernetes::Comb::CRD - IO::K8s resource map provider for the Comb custom resource

VERSION

version 0.001

SYNOPSIS

use Kubernetes::REST;
use Kubernetes::Comb::CRD;

my $rest = Kubernetes::REST->new(
  server      => ...,
  credentials => ...,
  with        => [ 'Kubernetes::Comb::CRD' ]
);
my $combs = $rest->list('Comb', namespace => 'platform');

# a CR class in another API group
my $k8s = IO::K8s->new(
  with => [ Kubernetes::Comb::CRD->new(crd_class => 'MyApp::CRD::Comb') ]
);

DESCRIPTION

Registers the Comb custom resource with IO::K8s, so a client resolves the Kind Comb -- and its qualified name, comb.internal/v1/Comb by default -- to the CR class and inflates Comb objects. Takes the place of the provider classes IO::K8s ships for its bundled CRDs (IO::K8s::Cilium, ...).

crd_class

The CR class to register. Defaults to Kubernetes::Comb::CRD::Comb; a subclass for another API group goes here. Loaded on first use unless it is already.

resource_map

Returns the map IO::K8s::Role::ResourceMap asks for: the Kind and the qualified apiVersion/Kind of "crd_class", both pointing at the class. The qualified entry is there for clients that take a plain resource_map instead of providers, like Net::Async::Kubernetes.

SEE ALSO

SUPPORT

Issues

Please report bugs and feature requests on GitHub at https://github.com/Getty/p5-kubernetes-comb/issues.

IRC

Join #kubernetes on irc.perl.org or message Getty directly.

CONTRIBUTING

Contributions are welcome! Please fork the repository and submit a pull request.

AUTHOR

Torsten Raudssus <getty@cpan.org>

COPYRIGHT AND LICENSE

This software is copyright (c) 2026 by Torsten Raudssus <torsten@raudssus.de> https://raudssus.de/.

This is free software; you can redistribute it and/or modify it under the same terms as the Perl 5 programming language system itself.