-
Notifications
You must be signed in to change notification settings - Fork 9
PKO-275 Add documentation for Global Image Prefix Override feature #20
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
PKO-275 Add documentation for Global Image Prefix Override feature #20
Conversation
…refix Override feature
| weight: 2001 | ||
| --- | ||
|
|
||
| The Global Image Prefix Override feature enables deployment of upstream package-operator artifacts from private registries without rebuilding them in downstream pipelines. This solves the previously impossible scenario where organizations needed to mirror upstream images while maintaining original deployment manifests, without referencing the workload images with PKO's internal image digest feature. |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
the feature enables using mirrored package and workload images without needing to rebuild the images with new image references
mirroring pko artifacts to private registry is just our use case of this feature
|
|
||
| ## Usage Example | ||
|
|
||
| The following `mirror.sh` script demonstrates a the mirroring of the images and the modification of the bootstrap job manifests. (Images for version v1.82.2 are mirrored from the namespace `quary.io/package-operator` into the namespace `quay.io/erdii-test/pko-mirror`). |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
| The following `mirror.sh` script demonstrates a the mirroring of the images and the modification of the bootstrap job manifests. (Images for version v1.82.2 are mirrored from the namespace `quary.io/package-operator` into the namespace `quay.io/erdii-test/pko-mirror`). | |
| The following `mirror.sh` script demonstrates a the mirroring of the images and the modification of the bootstrap job manifests. (Images for version v1.82.2 are mirrored from the namespace `quay.io/package-operator` into the namespace `quay.io/erdii-test/pko-mirror`). |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Good catch. Will commit manually.
| Modifying the container's `.image` field | ||
| Updating the first command-line argument in .args[0] | ||
|
|
||
| This is required as some componenets might directly reference images without respecting the prefix override, so the need to be explicitly changed. This ensures all PKO package image pulls during bootstrap come from your mirror location. |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
| This is required as some componenets might directly reference images without respecting the prefix override, so the need to be explicitly changed. This ensures all PKO package image pulls during bootstrap come from your mirror location. | |
| This is required as some components might directly reference images without respecting the prefix override, so the need to be explicitly changed. This ensures all PKO package image pulls during bootstrap come from your mirror location. |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
I will make this change manually, I noticed that the "the" should be "they need to be.." as well.
|
All change requests were made. Pending final review. |
Summary
This PR adds documentation to the package-operator documentation website for global image prefix overrides.
Documents:
Jira: PKO-237
Documentation ticket:
Jira: PKO-275
This PR does not contain integration tests as it is documentation. It can be previewed by running a hugo server locally. Screenshots of localhost version attached to JIRA ticket.
Change Type
New Feature documentation