generate kube -s: targetPort: 0
is not valid
#11930
Labels
locked - please file new issue/PR
Assist humans wanting to comment on an old issue or PR with locked comments.
I run a container as described at https://mail.aegee.org/cgit/aegee-ldap/tree/readme.md#n13, then call
podman generate kube -s busy_mclaren
. The Service without the bind-annotation is:It says targetPort:0 , but according to https://kubernetes.io/docs/reference/kubernetes-api/service-resources/service-v1/ the targetPort number must be between 1 and 65535.
I insert the file and kubernetes and then get it with `kubeclt describe it with
As can be seen,
targetPort:0
from the input is ignored.The text was updated successfully, but these errors were encountered: