package IO::K8s::Cilium::V2::CiliumNetworkPolicy;
# ABSTRACT: Cilium network policy for namespace-scoped network security
our $VERSION = '1.107';
use IO::K8s::APIObject
    api_version     => 'cilium.io/v2',
    resource_plural => 'ciliumnetworkpolicies';
with 'IO::K8s::Role::Namespaced', 'IO::K8s::Role::NetworkPolicy';

sub _netpol_format { 'cilium' }

k8s spec   => { Str => 1 };
k8s specs  => { Str => 1 };
k8s status => { Str => 1 };

1;

__END__

=pod

=encoding UTF-8

=head1 NAME

IO::K8s::Cilium::V2::CiliumNetworkPolicy - Cilium network policy for namespace-scoped network security

=head1 VERSION

version 1.107

=head1 DESCRIPTION

This resource represents a namespace-scoped network policy enforced by Cilium's eBPF datapath. It provides fine-grained network security rules for pods within a namespace, using API version C<cilium.io/v2>. The C<spec>, C<specs>, and C<status> fields contain opaque CRD-specific data structures managed by the Cilium controller.

=head1 SEE ALSO

=over

=item * L<IO::K8s::Cilium> - Main Cilium CRD namespace

=item * L<https://docs.cilium.io/en/stable/network/kubernetes/policy/> - Upstream Cilium network policy documentation

=back

=head1 SUPPORT

=head2 Issues

Please report bugs and feature requests on GitHub at
L<https://github.com/pplu/io-k8s-p5/issues>.

=head1 CONTRIBUTING

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

=head1 AUTHORS

=over 4

=item *

Torsten Raudssus <getty@cpan.org>

=item *

Jose Luis Martinez Torres <jlmartin@cpan.org>

=back

=head1 COPYRIGHT AND LICENSE

This software is Copyright (c) 2018-2026 by Jose Luis Martinez Torres <jlmartin@cpan.org>.

This is free software, licensed under:

  The Apache License, Version 2.0, January 2004

=cut
