Giter VIP home page Giter VIP logo

Comments (10)

dmage avatar dmage commented on July 19, 2024 2

You can set the environment variable REGISTRY_STORAGE_REDIRECT_DISABLE=true

from image-registry.

dmage avatar dmage commented on July 19, 2024

@rhnewtron can you elaborate on the parameter? The upstream registry has 4 parameters for the Azure storage driver: accountname, accountkey, container, and realm [1].

from image-registry.

rhnewtron avatar rhnewtron commented on July 19, 2024

It's about this:

storage:
  ....
  redirect:
    disable: false

Described here https://docs.openshift.com/container-platform/3.11/install_config/registry/extended_registry_configuration.html#docker-registry-configuration-reference-storage

I need

storage:
  redirect:
    disable: true

from image-registry.

rhnewtron avatar rhnewtron commented on July 19, 2024

This was a great tipp. I set the Environment on the Registry and now I can push and pull Images with the Azure Backend from the Registry via the exposed route without granting vnet access to everyone. I think this is very valuable for the documentation.

env:

            - name: REGISTRY_STORAGE_REDIRECT_DISABLE
              value: "true"

from image-registry.

rhnewtron avatar rhnewtron commented on July 19, 2024

From my side the issue can be closed. However updating the documentation for azure specifics (vnet security for storage accounts) may be a great follow up ticket.

from image-registry.

adambkaplan avatar adambkaplan commented on July 19, 2024

@dmage something we need to factor in to the image-registry-operator?

from image-registry.

dmage avatar dmage commented on July 19, 2024

@adambkaplan we may want to expose this setting for UPI installations. We need to weigh benefits of vnet security

from image-registry.

bparees avatar bparees commented on July 19, 2024

@adambkaplan we may want to expose this setting for UPI installations.

why would we make a distinction on config options for ipi vs upi?

the critical issue in my mind is what we default content redirect to be enabled on azure installations, based on whether vnet security is on or not.

from image-registry.

dmage avatar dmage commented on July 19, 2024

@bparees we don't enable vnet security on IPI, so we don't need this option there. But this option will be available for IPI and UPI.

from image-registry.

dmage avatar dmage commented on July 19, 2024

The option disableRedirects is added to the image registry operator config.

from image-registry.

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.