dell / csm

Dell Container Storage Modules (CSM)
Apache License 2.0
71 stars 16 forks source link

[BUG]: Operator offline bundle doesn't prepare registries correctly #1574

Open atye opened 1 week ago

atye commented 1 week ago

Bug Description

When preparing the bundle like so:

bash scripts/csm-offline-bundle.sh -p -r registry.com:5000

There are multiple lines in deploy/operator.yaml which have docker.io like this:

        - name: RELATED_IMAGE_csi-isilon
          value: 'docker.io/registry.com:5000/csi-isilon:v2.11.0'

The csm-offline-bundle.sh script needs to be fixed so that it properly prepares the supplied registry in all relevant files.

Logs

bash scripts/csm-offline-bundle.sh -p -r registry.com:5000

There are multiple lines in deploy/operator.yaml which have docker.io like this:

        - name: RELATED_IMAGE_csi-isilon
          value: 'docker.io/registry.com:5000/csi-isilon:v2.11.0'

Screenshots

No response

Additional Environment Information

No response

Steps to Reproduce

Prepare offline bundle See faulty image references in deploy/operator.yaml

Expected Behavior

Proper image references

CSM Driver(s)

CSM Operator

Installation Type

No response

Container Storage Modules Enabled

No response

Container Orchestrator

NA

Operating System

NA

atye commented 1 week ago

link: 29601