-
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?
Changes from all commits
File filter
Filter by extension
Conversations
Jump to
Diff view
Diff view
There are no files selected for viewing
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -36,34 +36,77 @@ spec: | |
|
||
This table lists all the possible parameters of a given resource together with their descriptions: | ||
|
||
| Parameter | Required | Description | | ||
|----------|:-------------:|------| | ||
| **metadata.name** | Yes | Specifies the name of the CR. | | ||
| **spec.description** | No | Describes the connected Application. | | ||
| **spec.skipVerify** | No | Determines whether to skip TLS certificate verification for the Application. | | ||
| **spec.encodeUrl** | No | Allows for URL encoding. If set to 'false', your URL segments stay intact. | | ||
| **spec.labels** | No | Defines the labels of the Application. | | ||
| **spec.services** | No | Contains all services that the Application provides. | | ||
| **spec.services.id** | Yes | Identifies the service that the Application provides. | | ||
| **spec.services.identifier** | No | Represents an additional identifier unique in the Application scope. Allows the external system to provide its own identifier. | | ||
| **spec.services.name** | No | Represents a unique name of the service. Used for proxying in Application Gateway. | | ||
| **spec.services.providerDisplayName** | Yes | 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** | No | 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. | | ||
| **spec.services.labels** | No | Specifies additional labels for the service offered by the Application. 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** | Yes | Contains the information about the APIs and events that the service offered by the Application provides. 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.type** | Yes | Specifies the entry type: `API` or `Events`. 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.centralGatewayUrl** | No | 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.accessLabel** | No | Specifies the label used in Istio rules in Application Connector. This field is required for the API entry type. | | ||
| **spec.services.entries.targetUrl** | No | Specifies the URL of a given API. 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.oauthUrl** | No | Specifies the URL used to authorize with a given API. 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.credentialsSecretName** | No | Specifies the name of the Secret which allows you to call a given API. This field is required if **spec.services.entries.oauthUrl** is specified. 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. | | ||
<!-- The table below was generated automatically --> | ||
<!-- Some special tags (html comments) are at the end of lines due to markdown requirements. --> | ||
<!-- The content between "TABLE-START" and "TABLE-END" will be replaced --> | ||
<!-- TABLE-START --> | ||
<!-- Application v1alpha1 applicationconnector.kyma-project.io --> | ||
| Parameter | Description | | ||
| ---------------------------------------- | ---------| | ||
| **spec.accessLabel** | | | ||
| **spec.compassMetadata** | | | ||
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more.
|
||
| **spec.compassMetadata.applicationId** | | | ||
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more.
|
||
| **spec.compassMetadata.authentication** | | | ||
| **spec.compassMetadata.authentication.clientIds** | | | ||
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more.
|
||
| **spec.description** | Describes the connected Application. | | ||
| **spec.displayName** | | | ||
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more.
|
||
| **spec.encodeUrl** | Allows for URL encoding. If set to `false`, your URL segments stay intact. | | ||
| **spec.group** | | | ||
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more.
|
||
| **spec.labels** | Defines the labels of the Application. | | ||
| **spec.longDescription** | | | ||
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. I think |
||
| **spec.providerDisplayName** | | | ||
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more.
|
||
| **spec.services** | Contains all services that the Application provides. | | ||
| **spec.services.authCreateParameterSchema** | New fields used by V2 version | | ||
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more.
|
||
| **spec.services.description** | | | ||
| **spec.services.displayName** | | | ||
| **spec.services.entries** | Contains the information about the APIs and events that the service offered by the Application provides. 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.accessLabel** | Specifies the label used in Istio rules in Application Connector. This field is required for the API entry type. | ||
| | ||
| **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 commentThe 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.authenticationUrl** | | | ||
| **spec.services.entries.credentials.csrfInfo** | | | ||
| **spec.services.entries.credentials.csrfInfo.tokenEndpointURL** | | | ||
| **spec.services.entries.credentials.secretName** | | | ||
| **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 commentThe reason will be displayed to describe this comment to others. Learn more.
|
||
| **spec.services.entries.requestParametersSecretName** | | | ||
| **spec.services.entries.specificationUrl** | | | ||
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. I think it is deprecated. |
||
| **spec.services.entries.targetUrl** | Specifies the URL of a given API. 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.type** | Specifies the entry type: `API` or `Events`. 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.id** | Identifies the service that the Application provides. | | ||
| **spec.services.identifier** | Represents an additional identifier unique in the Application scope. Allows the external system to provide its own identifier. | ||
| | ||
| **spec.services.labels** | Deprecated | | ||
| **spec.services.longDescription** | | | ||
| **spec.services.name** | Represents a unique name of the service. Used for proxying in Application Gateway. | ||
| | ||
| **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 commentThe reason will be displayed to describe this comment to others. Learn more. I think it is deprecated, and should be removed. |
||
| | ||
| **spec.skipInstallation** | | | ||
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more.
|
||
| **spec.skipVerify** | Determines whether to skip TLS certificate verification for the Application. | | ||
| **spec.tags** | New fields used by V2 version. | | ||
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. I believe it is deprecated, and we should remove it. |
||
| **spec.tenant** | | | ||
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more.
|
||
| **status.installationStatus** | Represents the status of Application release installation | | ||
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. We should remove that as Application Operator was deprecated, and removed long time ago. |
||
| **status.installationStatus.description** | | | ||
| **status.installationStatus.status** | |<!-- TABLE-END --> | ||
|
||
|
||
## Related resources and components | ||
|
||
These components use this CR: | ||
|
||
| Component | Description | | ||
|-----------|-------------| | ||
| Application Gateway | Reads the API metadata in order to connect to the external system. | | ||
| Application Connectivity Validator (in the [Compass mode](../../01-overview/main-areas/application-connectivity/README.md)) | Validates requests and events from the external system against the respective Application CR. | | ||
| Runtime Agent (in the [Compass mode](../../01-overview/main-areas/application-connectivity/README.md)) | Saves the metadata of the connected external system in the Application CR, synchronizes the metadata stored in Compass with the state in the cluster stored in the Application CR. | | ||
| Component | Description | | ||
|-----------------------------------------------------------------------------------------------------------------------------|------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------| | ||
| Application Gateway | Reads the API metadata in order to connect to the external system. | | ||
| Application Connectivity Validator (in the [Compass mode](../../01-overview/main-areas/application-connectivity/README.md)) | Validates requests and events from the external system against the respective Application CR. | | ||
| Runtime Agent (in the [Compass mode](../../01-overview/main-areas/application-connectivity/README.md)) | Saves the metadata of the connected external system in the Application CR, synchronizes the metadata stored in Compass with the state in the cluster stored in the Application CR. | |
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.