Merge pull request #21699 from vikas-goel/i21663

Comply to Kubernetes specifications for annotation size.
This commit is contained in:
openshift-merge-bot[bot]
2024-02-21 15:00:25 +00:00
committed by GitHub
13 changed files with 256 additions and 218 deletions

View File

@ -39,11 +39,6 @@ Also note that both Deployment and DaemonSet can only have `restartPolicy` set t
Output to the given file instead of STDOUT. If the file already exists, `kube generate` refuses to replace it and returns an error.
#### **--no-trunc**
Don't truncate annotations to the Kubernetes maximum length of 63 characters.
Note: enabling this flag means the generated YAML file is not Kubernetes compatible and can only be used with `podman kube play`
#### **--podman-only**
Add podman-only reserved annotations in generated YAML file (Cannot be used by Kubernetes)

View File

@ -217,10 +217,6 @@ When no network option is specified and *host* network mode is not configured in
This option conflicts with host added in the Kubernetes YAML.
#### **--no-trunc**
Use annotations that are not truncated to the Kubernetes maximum length of 63 characters
#### **--publish**=*[[ip:][hostPort]:]containerPort[/protocol]*
Define or override a port definition in the YAML file.