Skip to main content
Version: 2.8.0

aperturectl apply policy

Apply Aperture Policy to the cluster

Synopsis

Use this command to apply the Aperture Policy to the cluster.

aperturectl apply policy [flags]

Examples

aperturectl apply policy --file=policies/rate-limiting.yaml

aperturectl apply policy --dir=policies

Options

      --dir string    Path to directory containing Aperture Policy files
--file string Path to Aperture Policy file
-h, --help help for policy

Options inherited from parent commands

      --api-key string         FluxNinja ARC API Key to be used when using Cloud Controller
--controller string Address of Aperture Controller
--controller-ns string Namespace in which the Aperture Controller is running
--insecure Allow connection to controller running without TLS
--kube Find controller in Kubernetes cluster, instead of connecting directly
--kube-config string Path to the Kubernetes cluster config. Defaults to '~/.kube/config' or $KUBECONFIG
--skip-verify Skip TLS certificate verification while connecting to controller

SEE ALSO