110 lines
4.0 KiB
YAML
110 lines
4.0 KiB
YAML
---
|
|
apiVersion: apiextensions.k8s.io/v1
|
|
kind: CustomResourceDefinition
|
|
metadata:
|
|
annotations:
|
|
controller-gen.kubebuilder.io/version: v0.14.0
|
|
name: ippolicies.ingress.k8s.ngrok.com
|
|
spec:
|
|
group: ingress.k8s.ngrok.com
|
|
names:
|
|
kind: IPPolicy
|
|
listKind: IPPolicyList
|
|
plural: ippolicies
|
|
singular: ippolicy
|
|
scope: Namespaced
|
|
versions:
|
|
- additionalPrinterColumns:
|
|
- description: IPPolicy ID
|
|
jsonPath: .status.id
|
|
name: ID
|
|
type: string
|
|
- description: Age
|
|
jsonPath: .metadata.creationTimestamp
|
|
name: Age
|
|
type: date
|
|
name: v1alpha1
|
|
schema:
|
|
openAPIV3Schema:
|
|
description: IPPolicy is the Schema for the ippolicies API
|
|
properties:
|
|
apiVersion:
|
|
description: |-
|
|
APIVersion defines the versioned schema of this representation of an object.
|
|
Servers should convert recognized schemas to the latest internal value, and
|
|
may reject unrecognized values.
|
|
More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#resources
|
|
type: string
|
|
kind:
|
|
description: |-
|
|
Kind is a string value representing the REST resource this object represents.
|
|
Servers may infer this from the endpoint the client submits requests to.
|
|
Cannot be updated.
|
|
In CamelCase.
|
|
More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#types-kinds
|
|
type: string
|
|
metadata:
|
|
type: object
|
|
spec:
|
|
description: IPPolicySpec defines the desired state of IPPolicy
|
|
properties:
|
|
description:
|
|
default: Created by kubernetes-ingress-controller
|
|
description: Description is a human-readable description of the object
|
|
in the ngrok API/Dashboard
|
|
type: string
|
|
metadata:
|
|
default: '{"owned-by":"kubernetes-ingress-controller"}'
|
|
description: Metadata is a string of arbitrary data associated with
|
|
the object in the ngrok API/Dashboard
|
|
type: string
|
|
rules:
|
|
description: Rules is a list of rules that belong to the policy
|
|
items:
|
|
properties:
|
|
action:
|
|
enum:
|
|
- allow
|
|
- deny
|
|
type: string
|
|
cidr:
|
|
type: string
|
|
description:
|
|
default: Created by kubernetes-ingress-controller
|
|
description: Description is a human-readable description of
|
|
the object in the ngrok API/Dashboard
|
|
type: string
|
|
metadata:
|
|
default: '{"owned-by":"kubernetes-ingress-controller"}'
|
|
description: Metadata is a string of arbitrary data associated
|
|
with the object in the ngrok API/Dashboard
|
|
type: string
|
|
type: object
|
|
type: array
|
|
type: object
|
|
status:
|
|
description: IPPolicyStatus defines the observed state of IPPolicy
|
|
properties:
|
|
id:
|
|
description: |-
|
|
INSERT ADDITIONAL STATUS FIELD - define observed state of cluster
|
|
Important: Run "make" to regenerate code after modifying this file
|
|
type: string
|
|
rules:
|
|
items:
|
|
properties:
|
|
action:
|
|
type: string
|
|
cidr:
|
|
type: string
|
|
id:
|
|
type: string
|
|
type: object
|
|
type: array
|
|
type: object
|
|
type: object
|
|
served: true
|
|
storage: true
|
|
subresources:
|
|
status: {}
|