Giter Site home page Giter Site logo

Comments (4)

coreydaley avatar coreydaley commented on June 17, 2024

@cuppett This should be a quick change if you can get me the specs.

from cluster-image-registry-operator.

cuppett avatar cuppett commented on June 17, 2024

UUID would absolutely be the most unique way to tackle this. However, it provides a whole lot of uniqueness and not a lot of insight when scanning an account's bucket list or seeing it referenced in an audit trail. A more common approach is to incorporate a common name, the account number, region and a pinch of randomness.

So instead of a bucket name like:

3eee4f9b-589c-4c88-9967-6cbd7c2691f7

We could auto-generate the name to be:

openshift-registry-321966283653-us-east-1-6ufk3

Where the last 5 characters are selected from an ASCII wheel based on seeding from /dev/urandom or similar.

from cluster-image-registry-operator.

coreydaley avatar coreydaley commented on June 17, 2024

@cuppett The bucket name already starts with "image-registry-"
I will add your other suggestions

from cluster-image-registry-operator.

coreydaley avatar coreydaley commented on June 17, 2024

It seems that the bucket name can only be 63 characters long.

from cluster-image-registry-operator.

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.