Giter Site home page Giter Site logo

Add default TLS cert about net-istio HOT 7 OPEN

BobyMCbobs avatar BobyMCbobs commented on September 12, 2024
Add default TLS cert

from net-istio.

Comments (7)

dprotaso avatar dprotaso commented on September 12, 2024 1

/unassign @BobyMCbobs

from net-istio.

github-actions avatar github-actions commented on September 12, 2024

This issue is stale because it has been open for 90 days with no
activity. It will automatically close after 30 more days of
inactivity. Reopen the issue with /reopen. Mark the issue as
fresh by adding the comment /remove-lifecycle stale.

from net-istio.

BobyMCbobs avatar BobyMCbobs commented on September 12, 2024

/remove-lifecycle stale

from net-istio.

nak3 avatar nak3 commented on September 12, 2024

Hi @BobyMCbobs

net-istio has two TLS setup
a) Manually adding a TLS certificate
b) Enabling auto-TLS certs

I assume that you want to add the default TLS cert for b) but then I guess it is a little bit difficult for net-istio.

Unlike Contour, Istio's Gateway does not support cross namespace secret[1][2]. Thereforce, we need to deploy secrets in every single namespace where net-istio generated the Gateway.

Contour can deploy the default secret in "some-admin-namespace", though.

Sorry if you have any other good solution but I just leave my comment here.

[1] istio/istio#14598 (comment)
[2] https://istio.io/latest/docs/reference/config/networking/gateway/#ServerTLSSettings (Only credentialName is available)

from net-istio.

BobyMCbobs avatar BobyMCbobs commented on September 12, 2024

Hi @BobyMCbobs

net-istio has two TLS setup a) Manually adding a TLS certificate b) Enabling auto-TLS certs

I assume that you want to add the default TLS cert for b) but then I guess it is a little bit difficult for net-istio.

@nak3, thank you for your reply.
Yeah this is correct.
Ideally make it so that it uses a given TLS cert by default for a hostname wildcard and for anything else it uses net-certmanager.
I think I may need to write something custom for that functionality though.
Perhaps even a MutatingWebhookConfiguration could do it 🤔

Unlike Contour, Istio's Gateway does not support cross namespace secret[1][2]. Thereforce, we need to deploy secrets in every single namespace where net-istio generated the Gateway.

Contour can deploy the default secret in "some-admin-namespace", though.

When I used Contour, this was something I also implemented

Sorry if you have any other good solution but I just leave my comment here.

[1] istio/istio#14598 (comment) [2] https://istio.io/latest/docs/reference/config/networking/gateway/#ServerTLSSettings (Only credentialName is available)

from net-istio.

github-actions avatar github-actions commented on September 12, 2024

This issue is stale because it has been open for 90 days with no
activity. It will automatically close after 30 more days of
inactivity. Reopen the issue with /reopen. Mark the issue as
fresh by adding the comment /remove-lifecycle stale.

from net-istio.

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.