config/crd/bases/egressgateway.kubernetes.azure.com_gatewayvmconfigurations.yaml (98 lines of code) (raw):
---
apiVersion: apiextensions.k8s.io/v1
kind: CustomResourceDefinition
metadata:
annotations:
controller-gen.kubebuilder.io/version: v0.17.1
name: gatewayvmconfigurations.egressgateway.kubernetes.azure.com
spec:
group: egressgateway.kubernetes.azure.com
names:
kind: GatewayVMConfiguration
listKind: GatewayVMConfigurationList
plural: gatewayvmconfigurations
singular: gatewayvmconfiguration
scope: Namespaced
versions:
- name: v1alpha1
schema:
openAPIV3Schema:
description: GatewayVMConfiguration is the Schema for the gatewayvmconfigurations
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: GatewayVMConfigurationSpec defines the desired state of GatewayVMConfiguration
properties:
gatewayNodepoolName:
description: Name of the gateway nodepool to apply the gateway configuration.
type: string
gatewayVmssProfile:
description: Profile of the gateway VMSS to apply the gateway configuration.
properties:
publicIpPrefixSize:
description: Public IP prefix size to be applied to this VMSS.
format: int32
maximum: 31
minimum: 0
type: integer
vmssName:
description: Name of the VMSS
type: string
vmssResourceGroup:
description: Resource group of the VMSS. Must be in the same subscription.
type: string
type: object
provisionPublicIps:
default: true
description: Whether to provision public IP prefixes for outbound.
type: boolean
publicIpPrefixId:
description: BYO Resource ID of public IP prefix to be used as outbound.
type: string
required:
- provisionPublicIps
type: object
status:
description: GatewayVMConfigurationStatus defines the observed state of
GatewayVMConfiguration
properties:
egressIpPrefix:
description: The egress source IP for traffic using this configuration.
type: string
gatewayVMProfiles:
description: Gateway VM profile
items:
description: GatewayVMProfile provides details about gateway VM
side configuration.
properties:
nodeName:
type: string
primaryIP:
type: string
secondaryIP:
type: string
type: object
type: array
type: object
type: object
served: true
storage: true
subresources:
status: {}