Version 2.3

kf network-policy

Name

kf network-policy - Print information about the given NetworkPolicy.

Synopsis

kf network-policy NAME [flags]

Examples

  kf network-policy my-network-policy

Flags

--allow-missing-template-keys
If true, ignore any errors in templates when a field or map key is missing in the template. Only applies to golang and jsonpath output formats. (default true)
-h, --help
help for network-policy
-o, --output=string
Output format. One of: go-template|go-template-file|json|jsonpath|jsonpath-as-json|jsonpath-file|name|template|templatefile|yaml.
--template=string
Template string or path to template file to use when -o=go-template, -o=go-template-file. The template format is golang templates.

Inherited flags

These flags are inherited from parent commands.

--as=string
Username to impersonate for the operation.
--as-group=strings
Group to impersonate for the operation. Include this flag multiple times to specify multiple groups.
--config=string
Path to the Kf config file to use for CLI requests.
--kubeconfig=string
Path to the kubeconfig file to use for CLI requests.
--log-http
Log HTTP requests to standard error.
--space=string
Space to run the command against. This flag overrides the currently targeted Space.