Giter Site home page Giter Site logo

Comments (4)

cf-gitbot avatar cf-gitbot commented on August 16, 2024

We have created an issue in Pivotal Tracker to manage this:

https://www.pivotaltracker.com/story/show/119273371

The labels on this github issue will be updated when the story is started.

from staticfile-buildpack.

flavorjones avatar flavorjones commented on August 16, 2024

Is there a reason you wouldn't prefer to use a route service to perform authentication instead of building it into the nginx configuration?

http://docs.cloudfoundry.org/services/route-services.html

I think our logic was that basic auth that doesn't require integration with outside services was a reasonable thing to support in the buildpack; but introducing external integrations is, in my opinion, perhaps a function that's better served elsewhere in the system.

A route service would be more easily testable and reusable. Have you considered it as an alternative?

from staticfile-buildpack.

eddiewebb avatar eddiewebb commented on August 16, 2024

Thanks @flavorjones - I'm circulating that idea with the team, but cursory glance does raise one major concern for us around secrets management.

properties:
 router:
   route_services_secret: YOUR-SECRET-PASSPHRASE

We would need to developers to encrypt that before checking into our CD pipelines, and then decrypt that portion of the manifest as part of the automated push. For dynamic buildpacks we use libraries in the running app to decrypt on the fly with user provided services that stage the appropriate key.

Anyway, I'll see what others on the team think.

from staticfile-buildpack.

eddiewebb avatar eddiewebb commented on August 16, 2024

Got some education after talking with the team. We are waiting to move to 1.7 but otherwise the route service seems like a viable option. Thanks @flavorjones !

from staticfile-buildpack.

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.