Skip to content

Introduce kyma CLI commands for api-gateway via CLI exstensibility #1807

@kwiatekus

Description

@kwiatekus

Description

Introduce config map (as part of api-gateway manifests) that enables basic CRUD commands in kyma CLI for apirules .

AC

  • Kyma CLI should allow users to create, delete, list, (patch?) API Rules
  • when creating/patching users should be able to control complex access strategies allowed by the API-Rule CRD
  • when listing, CLI should show the target URL of the API rule, target service, type of access strategy used

Reasons
Scenarios that include exposing workloads with API-Rules are essential for kyma adoption. Having dedicated kyma CLI commands will enhance dev experience for API-rules within kyma runtime.

Kyma CLI extensibility concept assumes that modules, when installed on kyma runtime, bring command definitions for kyma CLI.

Attachments

Here is an example of serverless commands introduced as config map
https://github.com/kyma-project/serverless/blob/main/config/serverless/templates/cli-extension.yaml

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions