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 exposing apps pushed by kyma CLI #2240

Open
Tracked by #2236
kwiatekus opened this issue Nov 8, 2024 · 0 comments
Open
Tracked by #2236

Allow exposing apps pushed by kyma CLI #2240

kwiatekus opened this issue Nov 8, 2024 · 0 comments
Assignees
Labels
kind/feature Categorizes issue or PR as related to a new feature.

Comments

@kwiatekus
Copy link
Contributor

kwiatekus commented Nov 8, 2024

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

  • it should allow for public access for all paths and all HTTP methods
  • it should assume the host name = app name
  • it should use the default kyma gateway

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 #2236
Depends on #2239

@kwiatekus kwiatekus added the kind/feature Categorizes issue or PR as related to a new feature. label Nov 8, 2024
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

3 participants