kyma-project / cli

Simple set of commands to manage a Kyma installation
Apache License 2.0
112 stars 118 forks source link

Allow exposing apps pushed by kyma CLI #2240

Open kwiatekus opened 3 weeks ago

kwiatekus commented 3 weeks ago

Description Kyma cli should support a new boolean --expose flag that would create an api-rule CR for the pushed application. The api rule should be of minimum setup (and though requiring minimum input data from the user), i.e

So that : kyma alpha app push --name mynginx --image nginx:latest --containerPort xx --expose true would expose the mynginx deployment as https://mynginx.{cluster domain}/**

Reasons

It is an essential feature to allow developer to deploy the currently developed code to k8s runtime and to test it by calling it from outside the cluster

Related Part of https://github.com/kyma-project/cli/issues/2236 Depends on https://github.com/kyma-project/cli/issues/2239