Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Appearance settings

Latest commit

 

History

History
History
 
 

Folders and files

NameName
Last commit message
Last commit date

parent directory

..
 
 
 
 
 
 
 
 

README.md

Outline

Cert-Manager Model Classes

This module contains the Java model classes generated from the release version of cert-manager CRDs.

It makes it possible to CRUD custom resources defined by cert-manager in a strong-typed manner in your Java application, such as create an issuer, request a certificate, etc.

Usage

To use this library, include the following maven dependency

<dependency>
    <groupId>io.kubernetes</groupId>
    <artifactId>client-java-cert-manager-models</artifactId>
    <version>0.16.1-SNAPSHOT</version>
</dependency>

Please refer to the CertManagerExample, which demonstrates how to create a self signed issuer using the model class and Kubernetes Java client generic API.

Compatibility

Artifact Version Cert-Manager Release Version CRD Source
0.16.1-SNAPSHOT 0.16.1 Here

Code Generation

There is a utility script update.sh to help with the code generation.

  • The only prerequisites required is Docker installed on the host

Under the cert-manager directory, execute:

./update.sh

It will generate the model classes from the CRDs hosted at the URL specified via the -u option in the update.sh script. If newer version of CRDs becomes available, just update the -u option accordingly.

Morty Proxy This is a proxified and sanitized view of the page, visit original site.