Coder Social home page Coder Social logo

Comments (12)

slaterx avatar slaterx commented on June 4, 2024 2

Further to this, v0.1.0 instead of v0.1.1 works fine after deploying.

from cert-utils-operator.

raffaelespazzoli avatar raffaelespazzoli commented on June 4, 2024

CustomResourceDefinition are typically defined in each kube environment. In which environment are you running?

from cert-utils-operator.

devopstales avatar devopstales commented on June 4, 2024

openshift OKD 3.11 If I try by command line it can be found:

oc get CustomResourceDefinition.apiextensions.k8s.io
NAME                                  CREATED AT
certificaterequests.cert-manager.io   2020-06-14T09:09:47Z
certificates.cert-manager.io          2020-06-14T09:09:47Z
challenges.acme.cert-manager.io       2020-06-14T09:09:46Z
clusterissuers.cert-manager.io        2020-06-14T09:09:46Z
issuers.cert-manager.io               2020-06-14T09:09:47Z
orders.acme.cert-manager.io           2020-06-14T09:09:47Z

from cert-utils-operator.

raffaelespazzoli avatar raffaelespazzoli commented on June 4, 2024

can you look at the version of the crd object?
oc get CustomResourceDefinition.apiextensions.k8s.io certificaterequests.cert-manager.io

from cert-utils-operator.

slaterx avatar slaterx commented on June 4, 2024

@raffaelespazzoli I can reproduce the error above. I'm also running OKD 3.11.

Running your command gives me:

oc get CustomResourceDefinition.apiextensions.k8s.io certificaterequests.cert-manager.io
NAME                                  CREATED AT
certificaterequests.cert-manager.io   2020-06-14T20:45:53Z

from cert-utils-operator.

raffaelespazzoli avatar raffaelespazzoli commented on June 4, 2024

sorry I should have been clearer. can you run this command:oc get CustomResourceDefinition.apiextensions.k8s.io certificaterequests.cert-manager.io -o yaml
and look at the apiversion of the CustomResourceDefinition type. I'm going to guess it's not v1 in OKD 3.11.

from cert-utils-operator.

slaterx avatar slaterx commented on June 4, 2024

Correct, it is v1alpha2:

oc get CustomResourceDefinition.apiextensions.k8s.io certificaterequests.cert-manager.io -o yaml
(...)
apiVersion: apiextensions.k8s.io/v1beta1
kind: CustomResourceDefinition
metadata:
(...)
  name: certificaterequests.cert-manager.io
  selfLink: /apis/apiextensions.k8s.io/v1beta1/customresourcedefinitions/certificaterequests.cert-manager.io
(...)
  version: v1alpha2
  versions:
  - name: v1alpha2
    served: true
    storage: true
status:
(...)
  storedVersions:
  - v1alpha2

from cert-utils-operator.

raffaelespazzoli avatar raffaelespazzoli commented on June 4, 2024

ok, I have no plan to maintain backward compatibility with the 3.x line of OpenShift. So, I think you have three options:

  1. run the v0.1.0 version of the operator
  2. upgrade to OpenShift 4.x
  3. fork the operator and backport it to OpenShift 3.x

from cert-utils-operator.

slaterx avatar slaterx commented on June 4, 2024

Will you consider our PR if we find a way to backport it?

from cert-utils-operator.

raffaelespazzoli avatar raffaelespazzoli commented on June 4, 2024

@slaterx sure.
I assume the CRD injection is not something that makes much sense anyway on OpenShift 3.11, so perhaps the best approach for this patch would be to simple disable that controller when running on OpenShift 3.x

from cert-utils-operator.

raffaelespazzoli avatar raffaelespazzoli commented on June 4, 2024

@slaterx may I close this issue?

from cert-utils-operator.

slaterx avatar slaterx commented on June 4, 2024

Yes, you can close it @raffaelespazzoli!

from cert-utils-operator.

Related Issues (20)

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.