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

Allow passing json configuration when calling provision command #2115

Closed
4 tasks done
Tracked by #18198
kwiatekus opened this issue May 23, 2024 · 0 comments
Closed
4 tasks done
Tracked by #18198

Allow passing json configuration when calling provision command #2115

kwiatekus opened this issue May 23, 2024 · 0 comments
Assignees
Labels
area/cli Related to all activities around CLI kind/feature Categorizes issue or PR as related to a new feature.

Comments

@kwiatekus
Copy link
Contributor

kwiatekus commented May 23, 2024

Description

Allow passing kyma configuration ( in form of json file ) when calling kyma provision command:

  • user should be able to pass a config json file that is compliant with the provisioning params schema from KEB (see attachments), ie kyma provision --parameters=kyma.json
  • the parameters should be optional. (Mandatory name and region could be also provided as dedicated command options
  • parameters provided as flags should have precedence over potentially overlapping parameters from json (--name and --region )
  • paramaters json file that works when used in BTP Cockpit of via BTP CLI (see attachments) should also work with Kyma CLI

Reasons

Kyma Environment Broker supports passing additional parameters when creating/updating kyma environment.
Kyma CLI provision command should allow passing the config.json file to allow configuring OIDC providers.

Attachments
params-schema.json

BTP Cockpit Screenshot:
Screenshot 2024-05-23 at 13 19 54

sample provisioning via BTP CLI:
btp create accounts/environment-instance --display-name fooo --environment kyma --service kymaruntime --plan trial --parameters config.json

@kwiatekus kwiatekus added kind/feature Categorizes issue or PR as related to a new feature. area/cli Related to all activities around CLI labels May 23, 2024
@anoipm anoipm self-assigned this May 28, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
area/cli Related to all activities around CLI kind/feature Categorizes issue or PR as related to a new feature.
Projects
None yet
Development

No branches or pull requests

2 participants