Giter Site home page Giter Site logo

Comments (5)

jqmichael avatar jqmichael commented on August 14, 2024

@stefanprodan
If I understand the implementation of MaybeDefaultWithSelfSignedCerts correctly, this replaces the code in the gen-cert.sh which uses openssl to create the cert and private key.

https://github.com/aws/aws-app-mesh-inject/blob/master/gen-cert.sh#L8-L29

But it is still required for customers to send CertificateSigningRequest to API server and approve the cert. So we can't completely get rid of gen-cert.sh.

Is my understanding correct?

from aws-app-mesh-controller-for-k8s.

stefanprodan avatar stefanprodan commented on August 14, 2024

Yes indeed the apiserver package doesn't deal with cert approval, cert-manager has a nice utility called cainjector that automates that part without any scripts.

from aws-app-mesh-controller-for-k8s.

jasonrichardsmith avatar jasonrichardsmith commented on August 14, 2024

@stefanprodan I have just done some preliminary work with cert manager which handles the entire cert lifecycle. I also added the yaml to kustomize. I will submit a PR with the changes to the manifests, and the README. If the team wants to fall back on the cert-manager as the solution of choice for admission controllers?

from aws-app-mesh-controller-for-k8s.

stefanprodan avatar stefanprodan commented on August 14, 2024

I think it would be great to have an alternative to Helm that doesn't involve bash scripts. In the Helm installer the cert is handled like this https://github.com/aws/eks-charts/blob/master/stable/appmesh-inject/templates/_helpers.tpl#L59

If we could have a kubectl apply -k github.com/aws/aws-app-mesh-inject//kustomize that installs cert-manager and the injector with the right cert, it would be awesome.

from aws-app-mesh-controller-for-k8s.

M00nF1sh avatar M00nF1sh commented on August 14, 2024

closing this as both cert-manager/bash script is supported in GA version

from aws-app-mesh-controller-for-k8s.

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.