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

Automatically detect platform #133

Closed
pavolloffay opened this issue Nov 27, 2018 · 2 comments
Closed

Automatically detect platform #133

pavolloffay opened this issue Nov 27, 2018 · 2 comments
Assignees

Comments

@pavolloffay
Copy link
Member

At the moment jaeger-operator has to be configured with --platform=openshift to find out information about the platform: k8s, openshift. This leads to duplication of deployment files and docs.

Maybe we can get the platform from the orchestration API and adjust behavior based on that.

@jpkrohling
Copy link
Contributor

I opened a thread on the operator-sdk mailing list a couple of weeks ago on this topic:

https://groups.google.com/forum/#!msg/operator-framework/ls0-cNq0mmg/Rcm_or-HAgAJ

I believe this is something that should be provided by the SDK.

@pavolloffay
Copy link
Member Author

There is no API in k8s which returns a distribution. However in case of creating openshift route we can query api/routes.openshift.io/v1 to check whether routes are accessible and based on it create it.

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

No branches or pull requests

2 participants