GithubHelp home page GithubHelp logo

sample-external-issuer's Issues

Question: enable Server-Side Apply (SSA)

Hello,
we developed a custom issuer from the sample in this repository.

While testing our custom issuer, we encountered a bug which causes spurious reconcile loops in the RetryOnConflict function we use.
For some reason we still don't understand, the certificaterequest annotations changes are not always applied and the following Reconcile loop does not see them, causing a new API request to our backend.
This is a problem, since API requests must only be performed once per certificaterequest.

We posted the issue on the cert-manager issue tracker and we have been advised to enable Server-Side Apply.

Can it be enabled by changing a setting in the operator configuration (kubebuilder or client-go)?
In any case, could you please provide an example?

Thanks!

Create Kubernetes Events logging significant operations and errors

We should create Kubernetes Events linked to the Sample Issuer and ClusterIssuer resources,
and events linked to the CertificateRequests that the issuer operates on.

This will make it easier for an administrator to understand what the issuer is doing and it will make errors even easier to diagnose, because the warning events will show up in kubectl describe issuer and kubectl describe certificaterequest.

Question: figuring this out as I go, could use a little guidence on this step: add 'kubebuilder CRD Markers'

I have a very short bash and powershell script which I currently use to generate certificates in my kubernetes cluster, they are so small and simple that it seems like if I can just get the sample issuer customized I should be able to add what little code is needed to create a working issuer for my environment which I could then share and support for the community.

Could I get just a little more detail on this step? I see the comment it is specifying '// +kubebuilder:subresource:status' is already in the file its asking me to modify. Is that what I need to add? Has it already been added automatically and the documentation just needs to be updated? Do I need to add in multiple places? Just looking for a little guidence. Please don't just give me a link to https://book.kubebuilder.io/reference/markers/crd.html, I saw the link and have clicked on it, thank you ahead of time. Maybe the answer is I need to go off and learn go for a couple months. If so I let me know and I can move on till I have time. Was hoping I might be able to learn just enough to get things going for now.

api/v1alpha1/{cluster}issuer_types.go: Add Kubebuilder CRD Markers to allow modification of IssuerStatus as a Status Subresource: 
// +kubebuilder:subresource:status

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.