--- apiVersion: apiextensions.k8s.io/v1 kind: CustomResourceDefinition metadata: annotations: controller-gen.kubebuilder.io/version: v0.17.2 name: firewallrules.unifi.engen.priv.no spec: group: unifi.engen.priv.no names: kind: FirewallRule listKind: FirewallRuleList plural: firewallrules singular: firewallrule scope: Namespaced versions: - name: v1beta1 schema: openAPIV3Schema: description: FirewallRule is the Schema for the firewallrules 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: properties: destination: properties: firewall_group: items: type: string type: array service: items: description: FirewallRuleSpec defines the desired state of FirewallRule. properties: name: type: string namespace: type: string type: object type: array type: object match_firewall_groups_in_all_namespaces: type: boolean match_services_in_all_namespaces: type: boolean name: type: string source: properties: from_networks: items: type: string type: array from_zones: items: type: string type: array type: object required: - destination - name - source type: object status: description: FirewallRuleStatus defines the observed state of FirewallRule. type: object type: object served: true storage: true subresources: status: {}