NAME

IO::K8s::CertManager - cert-manager CRD resource map provider for IO::K8s

VERSION

version 1.001

SYNOPSIS

my $k8s = IO::K8s->new(with => ['IO::K8s::CertManager']);

my $cert = $k8s->new_object('Certificate',
    metadata => { name => 'my-cert', namespace => 'default' },
    spec => {
        secretName => 'my-cert-tls',
        issuerRef  => { name => 'letsencrypt', kind => 'ClusterIssuer' },
        dnsNames   => ['example.com'],
    },
);

print $cert->to_yaml;

DESCRIPTION

Resource map provider for cert-manager Custom Resource Definitions. Registers 6 CRD classes covering cert-manager.io/v1 and acme.cert-manager.io/v1.

Not loaded by default — opt in via the with constructor parameter of IO::K8s or by calling $k8s->add('IO::K8s::CertManager') at runtime.

Included CRDs (cert-manager.io/v1)

Certificate (namespaced), CertificateRequest (namespaced), Issuer (namespaced), ClusterIssuer (cluster-scoped)

Included CRDs (acme.cert-manager.io/v1)

Order (namespaced), Challenge (namespaced)

SEE ALSO

IO::K8s

cert-manager documentation

cert-manager API reference

ACME issuer

SUPPORT

Issues

Please report bugs and feature requests on GitHub at https://github.com/pplu/io-k8s-p5/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.

AUTHORS

  • Torsten Raudssus <torsten@raudssus.de>

  • Jose Luis Martinez <jlmartin@cpan.org> (original author, inactive)

COPYRIGHT AND LICENSE

This software is Copyright (c) 2018 by Jose Luis Martinez.

This is free software, licensed under:

The Apache License, Version 2.0, January 2004