-
Notifications
You must be signed in to change notification settings - Fork 494
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
Fixed Labels with sha256 image ref #2238
Conversation
Signed-off-by: Yuri Sa <[email protected]>
Signed-off-by: Yuri Sa <[email protected]>
Namespace: collectorNamespace, | ||
}, | ||
Spec: v1alpha1.OpenTelemetryCollectorSpec{ | ||
Image: "ghcr.io/open-telemetry/opentelemetry-operator/opentelemetry-operator:0.81.0@sha256:c6671841470b83007e0553cdadbc9d05f6cfe17b3ebe9733728dc4a579a5b532", |
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.
Could you please add a test case for otel/opentelemetry-collector-contrib@sha256:c6671841470b83007e0553cdadbc9d05f6cfe17b3ebe9733728dc4a579a5b532
- it was reported in the issue this PR resolves
Signed-off-by: Yuri Sa <[email protected]>
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.
Thanks for addressing this issue ! :)
Signed-off-by: Yuri Sa <[email protected]>
Signed-off-by: Yuri Sa <[email protected]>
Signed-off-by: Yuri Sa <[email protected]>
Signed-off-by: Yuri Sa <[email protected]>
* Fixed Labels with sha256 image ref Signed-off-by: Yuri Sa <[email protected]> * Fixed Labels with sha256 image ref Signed-off-by: Yuri Sa <[email protected]> * Added required unit tests Signed-off-by: Yuri Sa <[email protected]> * Added required unit tests Signed-off-by: Yuri Sa <[email protected]> * Changed unit tests Signed-off-by: Yuri Sa <[email protected]> * Changed unit tests Signed-off-by: Yuri Sa <[email protected]> * Changed unit tests Signed-off-by: Yuri Sa <[email protected]> --------- Signed-off-by: Yuri Sa <[email protected]>
Description:
Fixed the labeling process which was broken at the moment to capture the current image tag when the users set the sha256 reference.
Link to tracking Issue:
resolves #1982
Testing:
Created a test using an image being declared with a sha256 and checked if there was a label with only the version number.
Documentation: