Skip to content

Commit 2cf1274

Browse files
author
Ish Shah
authored
Updates before wordsmithing
1 parent 1064b0f commit 2cf1274

File tree

1 file changed

+3
-5
lines changed

1 file changed

+3
-5
lines changed

enhancements/sha-bundle-digest.md

Lines changed: 3 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -18,8 +18,7 @@ last-updated: 2022-01-14
1818
status:implementable
1919
---
2020

21-
# Title
22-
Add support for SHA-based Digest for Images
21+
# Add support for SHA-based Digest for Images
2322

2423
## Summary
2524

@@ -33,21 +32,20 @@ This set of changes will allow SDK users in air-gapped (disconnected) environmen
3332

3433
### Goals
3534

36-
- Give users the ability to the enable digest-based image resolution via a CLI flag when generating bundles.
3735
- Allow users to specify additional images to resolve digests via an environment variable.
3836
- Add the ability to resolve image digests from image tag dynamically using local docker registry.
3937
- OPEN QUESTION: Store digest and tag mappings in file so that user-written code can resolve tags to digest.
4038

4139
### Non-Goals
4240

43-
- Migrate existing `operator-sdk` based operators from image tags to image digests.
41+
- Automated migration of existing `operator-sdk` based operators from image tags to image digests.
4442
- Identify locations in user code that reference images by tag.
4543

4644
## Proposal
4745

4846
- Add `--image-digests` flag to `make bundle` in order to enable this feature to be run.
49-
5047
- During bundle generation, discover all environment variables that begin with `RELATED_IMAGE_` then resolve the tags to digests. These variables should be set in `config/manager/manager.yaml` as suggested in [https://master.sdk.operatorframework.io/docs/best-practices/common-recommendation/#other-common-suggestions](https://master.sdk.operatorframework.io/docs/best-practices/common-recommendation/#other-common-suggestions).
48+
- Update CSV relatedImages with resolved image tags to digests
5149

5250

5351
### Risks and Mitigations

0 commit comments

Comments
 (0)