Version 2.4

kf network-policies

Name

kf network-policies - List network policies in the targeted Space.

Synopsis

kf network-policies [flags]

Examples

kf network-policies

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-policies

-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.