Skip to content

Implement extensibility for alpha module command group #2439

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

Open
kwiatekus opened this issue Mar 18, 2025 · 0 comments
Open

Implement extensibility for alpha module command group #2439

kwiatekus opened this issue Mar 18, 2025 · 0 comments
Labels
kind/feature Categorizes issue or PR as related to a new feature.
Milestone

Comments

@kwiatekus
Copy link
Contributor

kwiatekus commented Mar 18, 2025

Description

Allow modules to bring custom configurability for their Module CRs
For example:

  • allow exposing docker registry via CLI
    kyma alpha module configure docker-registry --external-access --storage ....
    kyma alpha module add docker-registry --external-access --storage ....
  • defining default runtime profile for serverless via CLI

AC

  • configuration options are detected based on configmap installed as part of module operator resources
  • Adding custom patches for existing module CRs should be possible
  • Adding custom patches should be possible also when calling add command
  • Add a config map extension for docker registry allowing to pass options for exposing docker registry (as a working example that proves the concept)

Execution

  • implement mechanism to detect config maps and build new commands based on their definitions
  • define config map in docker-registry operator resources

Reasons

Configuration for module CRs via CLI is much more convenient then editing Module CR via kubectl edit

Attachments

#2221 (comment)

@kwiatekus kwiatekus added the kind/feature Categorizes issue or PR as related to a new feature. label Mar 18, 2025
@kwiatekus kwiatekus changed the title Add command that exposes docker registry externally Implement extensibility for alpha module command group Mar 20, 2025
@kwiatekus kwiatekus transferred this issue from kyma-project/docker-registry Mar 31, 2025
@kwiatekus kwiatekus added this to the 3.1.0 milestone Mar 31, 2025
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
kind/feature Categorizes issue or PR as related to a new feature.
Projects
None yet
Development

No branches or pull requests

1 participant