Git Product home page Git Product logo

Comments (5)

rashedkvm avatar rashedkvm commented on June 8, 2024 1
  1. azurecr.io is a public registry and should not require users to set either of these flags CACertPaths, VerifyCerts, or Insecure. The issue could be related to firewall settings, CORS policy, etc.
  2. As per our team discussion, our goal is only to support TLS connections. For TLS connection to registries with client cert(mTLS) or cert issued by private certificate authorities, we will need additional flag(s) in the apps CLI plugin. Love to get design input regarding the new flag(s).

@danfein ^^

from apps-cli-plugin.

cpage-pivotal avatar cpage-pivotal commented on June 8, 2024

We will also need support for Insecure. As @rashedkvm notes, firewall/CORS settings are preventing secure access to public signed registries like azurecr.io, and the developer teams that want to use this capability do not have privileges to override this.

from apps-cli-plugin.

atmandhol avatar atmandhol commented on June 8, 2024

@danfein Can we get Design recco for a CA Certs Path flag that can be used multiple times?

from apps-cli-plugin.

danfein avatar danfein commented on June 8, 2024

Recommendation

--registry-ca-cert

--registry-ca-cert                 string    file path to CA certificate used to authenticate with registry. Flag may be used multiple times

Thinking

registry - included to differentiate this ca cert from other ca certs that may need to be used by other parts of the system.

ca - included to differentiate it from a registry client cert which may also be needed --registry-client-cert


Also considered

--registry-cert - if there was only one cert type would have been a shorter option.

from apps-cli-plugin.

danfein avatar danfein commented on June 8, 2024

Recommended flags for additional registry configuration

 tanzu apps workload create -h
...
--registry-ca-cert       string    file path to CA certificate used to authenticate with registry.Flag may be used multiple times
--registry-username      string    username for authenticating with registry
--registry-password      string    password for authenticating with registry
--registry-token         string    token for authenticating with registry

from apps-cli-plugin.

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.