Skip to content
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

Use OTEL collector image from GHCR #732

Merged
merged 1 commit into from
Feb 23, 2022

Conversation

pavolloffay
Copy link
Member

@pavolloffay pavolloffay commented Feb 22, 2022

Signed-off-by: Pavol Loffay p.loffay@gmail.com

Depends on #719

@pavolloffay pavolloffay requested review from a team and dmitryax February 22, 2022 12:13
@@ -84,7 +84,7 @@ func main() {
pflag.BoolVar(&enableLeaderElection, "enable-leader-election", false,
"Enable leader election for controller manager. "+
"Enabling this will ensure there is only one active controller manager.")
pflag.StringVar(&collectorImage, "collector-image", fmt.Sprintf("otel/opentelemetry-collector:%s", v.OpenTelemetryCollector), "The default OpenTelemetry collector image. This image is used when no image is specified in the CustomResource.")
pflag.StringVar(&collectorImage, "collector-image", fmt.Sprintf("ghcr.io/open-telemetry/opentelemetry-collector-releases/opentelemetry-collector:%s", v.OpenTelemetryCollector), "The default OpenTelemetry collector image. This image is used when no image is specified in the CustomResource.")
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

is it available?

i tried (podman/docker):

run --rm -it otel/opentelemetry-collector # worked

run --rm -it ghcr.io/open-telemetry/opentelemetry-collector-releases/opentelemetry-collector       
Trying to pull ghcr.io/open-telemetry/opentelemetry-collector-releases/opentelemetry-collector:latest...
...
reading manifest latest in ghcr.io/open-telemetry/opentelemetry-collector-releases/opentelemetry-collector: manifest unknown

Copy link
Member Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Copy link
Member Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

This PR should go in after #719

Copy link
Contributor

@VineethReddy02 VineethReddy02 left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

LGTM!

Signed-off-by: Pavol Loffay <p.loffay@gmail.com>
@pavolloffay pavolloffay merged commit 9a49863 into open-telemetry:main Feb 23, 2022
ItielOlenick pushed a commit to ItielOlenick/opentelemetry-operator that referenced this pull request May 1, 2024
Signed-off-by: Pavol Loffay <p.loffay@gmail.com>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants