-
Notifications
You must be signed in to change notification settings - Fork 405
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
[WIP] Add descriptions to AC's CRD's fields #17432
base: main
Are you sure you want to change the base?
Conversation
✅ Deploy Preview for kyma-project-docs-preview ready!
To edit notification comments on pull requests, go to your Netlify site settings. |
Not documented:
|
<!-- Application v1alpha1 applicationconnector.kyma-project.io --> | ||
| Parameter | Description | | ||
| ---------------------------------------- | ---------| | ||
| **spec.accessLabel** | | |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
accessLabel
was used for Service Catalog integration, and is no longer relevant. I think we can get rid of that.
| Parameter | Description | | ||
| ---------------------------------------- | ---------| | ||
| **spec.accessLabel** | | | ||
| **spec.compassMetadata** | | |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
compassMetadata
is set by the Compass Runtime Agent. If the property is non-nil it means that the Application was created from Compass Application. If the field is empty, we can assume that Application was created manually, and is not controlled by the Compass Runtime Agent.
| ---------------------------------------- | ---------| | ||
| **spec.accessLabel** | | | ||
| **spec.compassMetadata** | | | ||
| **spec.compassMetadata.applicationId** | | |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
ApplicationID
of the source Compass Application that was used to create Kyma Application
| **spec.compassMetadata** | | | ||
| **spec.compassMetadata.applicationId** | | | ||
| **spec.compassMetadata.authentication** | | | ||
| **spec.compassMetadata.authentication.clientIds** | | |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
clientIds
contains an identifier fetched from Compass that is used for authentication. This field is set by Compass Runtime Agent when Application is created, and used by the Connectivity Validator to determine whether incoming request should be authorised or not. Connectivity Validator expects that the CNAME
of the client certificate matches clientId
| **spec.compassMetadata.authentication** | | | ||
| **spec.compassMetadata.authentication.clientIds** | | | ||
| **spec.description** | Describes the connected Application. | | ||
| **spec.displayName** | | |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
displayName
is left empty by the Compass Runtime Agent, so that I would assume it is deprecated.
| **spec.group** | | | ||
| **spec.labels** | Defines the labels of the Application. | | ||
| **spec.longDescription** | | | ||
| **spec.providerDisplayName** | | |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
providerDisplayName
is still set by the Compass Runtime Agent, but I suppose it could be removed. Needs some short investigation.
| **spec.services.entries.apiType** | | | ||
| **spec.services.entries.centralGatewayUrl** | Specifies the URL of Application Gateway. Internal address resolvable only within the cluster. This field is required for the API entry type. In the [Compass mode](../../01-overview/main-areas/application-connectivity/README.md), it's provided by Runtime Agent. In the [standalone mode](../../01-overview/main-areas/application-connectivity/README.md), you have to provide it yourself. | ||
| | ||
| **spec.services.entries.credentials** | | |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
We could link the tutorials, but I think we should also describe those fields one by one.
| **spec.services.entries.credentials.type** | | | ||
| **spec.services.entries.gatewayUrl** | | | ||
| **spec.services.entries.id** | | | ||
| **spec.services.entries.name** | New fields used by V2 version | |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
New fields used by V2 version
conveys zero information. Entry.name
allows to support API Bundles functionality provided by Compass. APIBundle is a set of APIs that share the same credentials. The API Bundle have both name and identifier that are used by the Compass Runtime Agent to set spec.services.name
field. Each API in the bundle has name that is used by the Compass Runtime Agent to set spec.services.entries.name
.
| **spec.services.entries.id** | | | ||
| **spec.services.entries.name** | New fields used by V2 version | | ||
| **spec.services.entries.requestParametersSecretName** | | | ||
| **spec.services.entries.specificationUrl** | | |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
I think it is deprecated.
| | ||
| **spec.services.providerDisplayName** | Specifies a human-readable name of the Application service provider. In the [Compass mode](../../01-overview/main-areas/application-connectivity/README.md), it's provided by Runtime Agent. In the [standalone mode](../../01-overview/main-areas/application-connectivity/README.md), you have to provide it yourself. | ||
| | ||
| **spec.services.tags** | Specifies additional tags used for better documentation of the available APIs. In the [Compass mode](../../01-overview/main-areas/application-connectivity/README.md), it's provided by Runtime Agent. In the [standalone mode](../../01-overview/main-areas/application-connectivity/README.md), you have to provide it yourself. |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
I think it is deprecated, and should be removed.
@VOID404: The following tests failed, say
Full PR test history. Your PR dashboard. Instructions for interacting with me using PR comments are available here. If you have questions or suggestions related to my behavior, please file an issue against the kubernetes/test-infra repository. I understand the commands that are listed here. |
This issue or PR has been automatically marked as stale due to the lack of recent activity. This bot triages issues and PRs according to the following rules:
You can:
If you think that I work incorrectly, kindly raise an issue with the problem. /lifecycle stale |
This issue or PR has been automatically marked as stale due to the lack of recent activity. This bot triages issues and PRs according to the following rules:
You can:
If you think that I work incorrectly, kindly raise an issue with the problem. /lifecycle stale |
Description
Changes proposed in this pull request:
Related issue(s)
Part of kyma-project/application-connector-manager#155