GithubHelp home page GithubHelp logo

支持SSL证书共享 about higress HOT 4 CLOSED

listapp99 avatar listapp99 commented on July 18, 2024
支持SSL证书共享

from higress.

Comments (4)

CH3CHO avatar CH3CHO commented on July 18, 2024

不过 Ingress 并不要求与被访问服务在一个命名空间下吧?

from higress.

johnlanni avatar johnlanni commented on July 18, 2024

CredentialName: credentials.ToKubernetesIngressResource(c.options.RawClusterId, cfg.Namespace, secretName),

如上代码,机制上是可以支持的,这个需求也是合理的,一般ingress可能放在业务ns下给开发管理,secret更希望统一管理在系统ns下给运维统一管理。
Gateway API通过Gateway资源管理secret可以比较好解决这个问题,同时也支持了referenctGrant。
Ingress API要解决这个问题,直接让不同ns里的ingress跨ns使用secret不太合理,有安全隐患。
我们可以基于系统ns下的一份配置,来统一管理不同域名需要用到的证书,虽然底层也是跨ns引用secret,但ingress的创建者无法自己去配置secret,把权限收口在系统ns下。
这个 @2456868764 这边已经在开发能支持自动签发证书的管理工具,可以一并考虑在系统ns下全局配置证书的方式。例如可以对一个域名配置开启自动签发证书,或者对域名直接指定一个secret。

from higress.

daixijun avatar daixijun commented on July 18, 2024

CredentialName: credentials.ToKubernetesIngressResource(c.options.RawClusterId, cfg.Namespace, secretName),

如上代码,机制上是可以支持的,这个需求也是合理的,一般ingress可能放在业务ns下给开发管理,secret更希望统一管理在系统ns下给运维统一管理。 Gateway API通过Gateway资源管理secret可以比较好解决这个问题,同时也支持了referenctGrant。 Ingress API要解决这个问题,直接让不同ns里的ingress跨ns使用secret不太合理,有安全隐患。 我们可以基于系统ns下的一份配置,来统一管理不同域名需要用到的证书,虽然底层也是跨ns引用secret,但ingress的创建者无法自己去配置secret,把权限收口在系统ns下。 这个 @2456868764 这边已经在开发能支持自动签发证书的管理工具,可以一并考虑在系统ns下全局配置证书的方式。例如可以对一个域名配置开启自动签发证书,或者对域名直接指定一个secret。

同样的需求,希望将 TLS Secret 放在系统NS下, 业务只需要部署 Ingress 去使用即可

from higress.

johnlanni avatar johnlanni commented on July 18, 2024

@2456868764 这个功能是ingress nginx的痛点,可以优先实现一下,你看是跟自动签发证书一起实现,还是先实现这个。

from higress.

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.