cilium-dbg policy import

Import security policy in JSON format

cilium-dbg policy import <path> [flags]

Examples

  cilium-dbg policy import ~/policy.json
  cilium-dbg policy import ./policies/app/

Options

  -h, --help                          help for import
  -o, --output string                 json| yaml| jsonpath='{}'
      --print                         Print policy after import
      --replace                       Replace existing policy
      --replace-with-labels strings   Replace existing policies that match given labels

Options inherited from parent commands

      --config string   Config file (default is $HOME/.cilium.yaml)
  -D, --debug           Enable debug messages
  -H, --host string     URI to server-side API

SEE ALSO