-
Notifications
You must be signed in to change notification settings - Fork 13
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
Adjust ACM to retrieve normalised application name by querying applicationsForRuntime
#290
Comments
Main points: Naming applications: The Director will stop returning friendly (normalized) name for Applications connected to Kyma runtimes runtime. As a result we can have Applications with non-DNS compliant names that will we will be able to create in Kubernetes cluster. Runtime Agent should append some kind of unique suffix so as to eliminate potential naming conflicts with existing Application CR names Runtime Agent should apply its custom normalization logic for Application CR resource names only if runtime is labeled with isNormalized=false. Code to normalize application name - to use on Compass Runtime Agent side is here Runtime Agent periodically fetches all applications from Compass. It should tweak it's reconciliation algorithm a bit and stop comparing application names and rather it should compare by application IDs when trying to determine if an application already exists. Labeling runtimes: Runtime Agent should make sure to call Compass and label the respective runtime with <app_id>_eventURL and the value being the actual absolute /v1/events URL (we could rethink the name of the label, but it should contain the app ID) |
We came into conclusion our normalization that the task consists actually of two different requirements:
The first requirement is the easiest one - just copy normalizator code and make compass runtime agent use it during synchronisation I suggest splitting the task: Part 1:
Part 2:
|
Follow up action to support two (or more) applications with the same name: #362 |
Description
Effective by September 30th, 2024 (the end of Q3), UCL (formerly known as Compass) will be deprecating and completely removing the application naming normalisation logic currently ensured by us as part of the response of the
applicationsForRuntime
GraphQL query.This change is in response to an issue originally reported back to you in 2020: kyma/issues/10070. As indicated by Jan Mędrek's comment on the GitHub issue, it appears the necessary adaptations to your components should have already been implemented here: reconciler/issues/419.
AC:
applicationsForRuntime
response (eventually is a fix required on ACM side for generating a normalised application name).The text was updated successfully, but these errors were encountered: