Giter Site home page Giter Site logo

Support ARM64 images about istio-csr HOT 13 CLOSED

cert-manager avatar cert-manager commented on May 27, 2024
Support ARM64 images

from istio-csr.

Comments (13)

JoshVanL avatar JoshVanL commented on May 27, 2024 1

Hi @xunholy, yep this is definitely something we can include.

/assign

from istio-csr.

JoshVanL avatar JoshVanL commented on May 27, 2024 1

@xunholy, I think this will also have problems as this Issuer is expecting issued certificates as being used for TLS between the Cloudflare servers and your services.

External issuers that as far as I know would work are aws-privateca-issuer, google-cas-issuer, and step-issuer. Pricing varies! 🙂

from istio-csr.

xunholy avatar xunholy commented on May 27, 2024

@JoshVanL did you need any help? I have some arm64 nodes I can test out any images you're building out at present.

from istio-csr.

JoshVanL avatar JoshVanL commented on May 27, 2024

Hi @xunholy, apologies for the delay. I have opened a PR and will push the image shortly after it merges.

from istio-csr.

JoshVanL avatar JoshVanL commented on May 27, 2024

@xunholy A multi-arch image and new helm chart version has been pushed. Let me know if things are working for you.

from istio-csr.

xunholy avatar xunholy commented on May 27, 2024

Testing it out now. Here was the below findings:

  Warning  Unhealthy  2m39s (x6499 over 11h)  kubelet  Readiness probe failed: HTTP probe failed with statuscode: 500
panic: interface conversion: runtime.Object is nil, not *v1.CertificateRequest

goroutine 280 [running]:
github.com/cert-manager/istio-csr/pkg/certmanager.(*manager).waitForCertificateRequest(0x40002c8230, {0x26757d0, 0x400101ad40}, {0x26988f8, 0x4000cbc1e0}, 0x400037bb00)
	/workspace/pkg/certmanager/certmanager.go:188 +0x5b8
github.com/cert-manager/istio-csr/pkg/certmanager.(*manager).Sign(0x40002c8230, {0x26757d0, 0x400101ad40}, {0x22ff29c, 0x11}, {0x4001294000, 0x3c8, 0x799}, 0x34630b8a000, {0x4001048080, ...})
	/workspace/pkg/certmanager/certmanager.go:138 +0x550
github.com/cert-manager/istio-csr/pkg/tls.(*Provider).fetchCertificate(0x4000fcdea0, {0x26757d0, 0x400101ad40})
	/workspace/pkg/tls/tls.go:266 +0x284
github.com/cert-manager/istio-csr/pkg/tls.(*Provider).Start(0x4000fcdea0, {0x26757d0, 0x400101ad40})
	/workspace/pkg/tls/tls.go:119 +0x4c
sigs.k8s.io/controller-runtime/pkg/manager.(*controllerManager).startRunnable.func1(0x4001012000, {0x25f74a0, 0x4000fcdea0})
	/go/pkg/mod/sigs.k8s.io/[email protected]/pkg/manager/internal.go:697 +0x70
created by sigs.k8s.io/controller-runtime/pkg/manager.(*controllerManager).startRunnable
	/go/pkg/mod/sigs.k8s.io/[email protected]/pkg/manager/internal.go:695 +0x68

@JoshVanL

I should note I didn't integrate it yet with any CA or Istio, just spun up the helm chart as it currently is right now.

from istio-csr.

xunholy avatar xunholy commented on May 27, 2024

Error: failed to fetch initial serving certificate: failed to sign serving certificate: failed to wait for CertificateRequest istio-system/istio-csr-89jlq to be signed: created CertificateRequest has failed: [{Approved True 2021-09-05 22:15:41 +0000 UTC cert-manager.io Certificate request has been approved by cert-manager.io} {Ready False 2021-09-05 22:15:42 +0000 UTC Failed Failed to wait for order resource "istio-csr-89jlq-3417425060" to become ready: order is in "errored" state: Failed to create Order: 400 urn:ietf:params:acme:error:rejectedIdentifier: Error creating new order :: Cannot issue for "cert-manager-istio-csr.network.svc": Domain name does not end with a valid public suffix (TLD)}]

from istio-csr.

JoshVanL avatar JoshVanL commented on May 27, 2024

Hi @xunholy 🙂

panic: interface conversion: runtime.Object is nil, not *v1.CertificateRequest

This edge case is quite surprising to me. I wouldn't have expected that value to ever be nil. Will fix that..

Error: failed to fetch initial serving certificate: failed to sign serving certificate: failed to wait for CertificateRequest istio-system/istio-csr-89jlq to be signed: created CertificateRequest has failed: [{Approved True 2021-09-05 22:15:41 +0000 UTC cert-manager.io Certificate request has been approved by cert-manager.io} {Ready False 2021-09-05 22:15:42 +0000 UTC Failed Failed to wait for order resource "istio-csr-89jlq-3417425060" to become ready: order is in "errored" state: Failed to create Order: 400 urn:ietf:params:acme:error:rejectedIdentifier: Error creating new order :: Cannot issue for "cert-manager-istio-csr.network.svc": Domain name does not end with a valid public suffix (TLD)}]

This looks as though you are attempting to use a public ACME server for your istio-csr issuer which won't work. You will need to use an Issuer which is able to sign certs for private DNS/URIs.

from istio-csr.

xunholy avatar xunholy commented on May 27, 2024

@JoshVanL thanks for the advice, so rather than using LE as a public ACME, I will need to have LE create a CA internally and then reference that as an issuer if my understanding is correct?

from istio-csr.

JoshVanL avatar JoshVanL commented on May 27, 2024

@xunholy no, LE etc. won't issue intermediates since you could then sign yourself google.com which would be publicly trusted 😬

You will need to use something like the CA Issuer like in the demo example, Vault, Venafi, or an appropriate external issuer. These will use a CA that you control and will be the root of trust for your istio mesh.

from istio-csr.

xunholy avatar xunholy commented on May 27, 2024

Perfect, thanks for confirming. Gives me a reason to redeploy origin-ca-issuer which appears to be supported.

origin-ca-issuer: Used to request certificates signed by Cloudflare Origin CA to enable TLS between Cloudflare edge and your Kubernetes workloads.

from istio-csr.

JoshVanL avatar JoshVanL commented on May 27, 2024

Issue has now been resolved and confirmed ARM images are working.

/close

from istio-csr.

jetstack-bot avatar jetstack-bot commented on May 27, 2024

@JoshVanL: Closing this issue.

In response to this:

Issue has now been resolved and confirmed ARM images are working.

/close

Instructions for interacting with me using PR comments are available here. If you have questions or suggestions related to my behavior, please file an issue against the kubernetes/test-infra repository.

from istio-csr.

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.