-
Notifications
You must be signed in to change notification settings - Fork 202
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
Add kube_generate_type to set default for kube generate #1394
Conversation
@rhatdan @vrothberg PTAL |
The kube_generate_type field can be used to set what kind of k8s object, i.e pod or deployment, that the podman kube generate command should generate by default. Signed-off-by: Urvashi Mohnani <umohnani@redhat.com>
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
LGTM
/approve |
[APPROVALNOTIFIER] This PR is APPROVED This pull-request has been approved by: rhatdan, umohnani8 The full list of commands accepted by this bot can be found here. The pull request process is described here
Needs approval from an approver in each of these files:
Approvers can indicate their approval by writing |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Just a (late) nit on the docs.
@@ -540,6 +540,10 @@ reserving the pod's resources for the lifetime of the pod. By default container | |||
engines run a built-in container using the pause executable. If you want override | |||
specify an image to pull. | |||
|
|||
**kube_generate_type**="pod" | |||
|
|||
Default Kubernetes kind/specification of the kubernetes yaml generated with the `podman kube generate` command. The possible options are `pod` and `deployment`. |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Shouldn't we point to man podman-kube-play
for supported options?
We don't validate/parse the input here, so there's a risk of the docs getting out of date over time.
The kube_generate_type field can be used to set what kind of k8s object, i.e pod or deployment, that the podman kube generate command should generate by default.