-
Notifications
You must be signed in to change notification settings - Fork 64
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
Registry operator full app name support #1441
Comments
Reviewing the criteria of this issue, there is going to be some adjustments to what needs to be done under this issue as well as a correction to what was done in #1439:
|
Need to refactor naming.go functions to use fully qualified app name instead of CR name. This ensures the controller logic does not break due to resource name changes. |
|
DNS is currently failing to resolve hostname, investigating why this is happening. Once fixed, the open PR should be ready for review. |
Captured error in test log:
|
#1519 could block this issue. |
Potential blocker resolved 👍 |
Errors currently experienced seem to be linked to a current controller error when creating the route where the resultant address still exceeds 63 characters limit even with name truncation:
Investigating a workaround that can still sync with the helm chart's current |
Found a mistake in the ordering of the contains case for creating the fully qualified app name, was following the helm chart Additionally, had to change the CR names used by the integration test cases to take advance of the case above, e.g. Will need to open an issue to investigate a proper fix for both the helm chart and registry operator to better reduce the chances of hitting the 63 character limit for OpenShift route addresses. |
PR is ready for review: devfile/registry-operator#86 |
Which area/kind this issue is related to?
/area registry
Issue Description
The registry operator currently only has an app name that is used across the operator specifications: https://github.com/devfile/registry-operator/blob/f55ab8e7c8061934547c7d55bd67d81d509a8752/pkg/registry/naming.go
The helm chart uses both an app name and a fully qualified app name which a combo of the app name and release name by default: https://github.com/devfile/registry-support/blob/f66264f22310c3c93bf0c77db5f4cd4b560aba5e/deploy/chart/devfile-registry/templates/_template.tpl#L20-L39
The registry operator should implement a fully qualified app name as well and use this field in the same places as the helm chart does.
Parent Epic: #1274
Acceptance Criteria
The text was updated successfully, but these errors were encountered: