-
Notifications
You must be signed in to change notification settings - Fork 33
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
Drop URL validation on ElasticSearch host in proxy settings #2074
Comments
After finish that story we can drop hack from docker file https://github.com/apinf/platform/blob/develop/docker-compose.yml#L14-L15. |
Some quick notes/questions,
|
It is also worth considering how the API Umbrella URL field will be affected by OpenShift deployment.
Issue #2036 is opened in order to remove the Elasticsearch url, which will mean we communicate directly with API Umbrella for analytics data. Regardless of when #2036 is resolved, it is our planned trajectory. |
We can easily remove the RegEx validation from any URL field, but I just want to understand the issue and explore alternatives (in context of our development roadmap). |
E.g. it may be possible to specify a different OpenShift hostname, which would possible resolve this issue:
|
"API Umbrella URL" because we still need access to API-Umbrella after setup for getting admin API-keys, we will need to assign regular domain name for API-Umbrella. The issue can happen for internal services (ElasticSearch) because they should be accessible only from a private network by hostname instead of domains. In future, if we will able get Admin API keys from "API Umbrella" without visit it from browser and do it only from Platform UI, we will have the same issue. Because "API Umbrella" will be only in private network by name like "api-umbrella". |
@brylie Your link for the settings of setup OpenShift hostname (admin panel), not for services run on openshift (docker images like platform, api-umbrella). That not related to our issue. |
The first sentence of that section seems to be talking about services run on OpenShift. |
I just think this issue is not urgent, although I can understand why it seems to be a high priority. Rather than take up the issue right away, I am simply recommending we wait until #2036 progresses. |
Can I place this issue in icebox until we find out what will happen with #2036? The current understanding is that the data available through the admin API is really limited and would not serve our dashboard. Either we would need to enhance the admin API or we need to continue using ElasticSearch. Or will placing this in icebox and waiting mean problems with any OpenShift experiments? |
I am OK with a move that issue to the icebox, fix #2036 will make not relevant that issue. |
@bajiat Interested |
@brylie wanted have a discussion about this need in the Github issue first |
@marla-singer Can you make the change? |
@bajiat Yes, I can |
@frenchbread Now emq scheme has the regex for ElasticSearch field as well. Should it be removed? |
@marla-singer Yep, similarly to api-umbrella |
For docker-compose and OpenShift/Kubernetes deploy we have a hack for able use Elasticsearch URL.
For OpenShift/Kubernetes (or cloud services) Elasticsearch can be available by host name (not valid URL) like "elasticsearch".
Suggestion: Drop URL validation and allow user use url safe string as hostname.
Examples:
"elasticsearch"
"elasticsearch-2-4"
"elastic-search"
The text was updated successfully, but these errors were encountered: