Skip to content
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

feat: add addon dependent api and doc #8053

Open
wants to merge 8 commits into
base: main
Choose a base branch
from

Conversation

skyrise-l
Copy link
Contributor

@skyrise-l skyrise-l commented Aug 29, 2024

#7995 An AddonDependencie API has been added to the addon to indicate other addons that the current addon depends on and their supported versions. The version of the dependent addon can be empty, which defaults to the current addon's version.

Slightly later, automatic installation of addon dependencies will be added to kbcli. Currently, only the dependency check for addons is performed in kb.

@github-actions github-actions bot added the size/L Denotes a PR that changes 100-499 lines. label Aug 29, 2024
@skyrise-l skyrise-l changed the title feat: add addon dependent and doc feat: add addon dependent api and doc Aug 29, 2024

// Specify all addons that this addon depends on.
// +optional
AddonDependencies []AddonDependency `json:"addonDependencies,omitempty"`
Copy link
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

What does it mean for a dependency to have an addon's name and version? Based on the issue corresponding to the PR, apecloud-mysql actually depends on a specific version of the etcd cmpd name, but the etcd addon name is not equal to the etcd cmpd name.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
size/L Denotes a PR that changes 100-499 lines.
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants