Skip to content

Latest commit

 

History

History
30 lines (22 loc) · 1.23 KB

generate-istio-authorizationpolicy.md

File metadata and controls

30 lines (22 loc) · 1.23 KB

Generate Istio AuthorizationPolicy objects

The kuadrantctl generate istio authorizationpolicy command generates an Istio AuthorizationPolicy from your OpenAPI Specification (OAS) 3.x and kubernetes service information.

OpenAPI specification

OpenAPI document resource can be provided by one of the following channels:

  • Filename in the available path.
  • URL format (supported schemes are HTTP and HTTPS). The CLI will try to download from the given address.
  • Read from stdin standard input stream.

Usage :

$ kuadrantctl generate istio authorizationpolicy -h
Generate Istio AuthorizationPolicy

Usage:
  kuadrantctl generate istio authorizationpolicy [flags]

Flags:
      --gateway-label strings   Gateway label (required)
  -h, --help                    help for authorizationpolicy
      --oas string              /path/to/file.[json|yaml|yml] OR http[s]://domain/resource/path.[json|yaml|yml] OR - (required)
      --public-host string      The address used by a client when attempting to connect to a service (required)

Global Flags:
  -v, --verbose   verbose output