description:Peer is a WireGuard peer that should have access to the VPN.
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:'Specification of the desired behavior of the Kilo Peer.
More info:https://github.com/kubernetes/community/blob/master/contributors/devel/api-conventions.md#spec-and-status'
properties:
allowedIPs:
description:AllowedIPs is the list of IP addresses that are allowed
for the given peer's tunnel.
items:
type:string
type:array
endpoint:
description:Endpoint is the initial endpoint for connections to the
peer.
properties:
dnsOrIP:
description:DNSOrIP is a DNS name or an IP address.
properties:
dns:
description:DNS must be a valid RFC 1123 subdomain.
type:string
ip:
description:IP must be a valid IP address.
type:string
type:object
port:
description:Port must be a valid port number.
format:int32
type:integer
required:
- dnsOrIP
- port
type:object
persistentKeepalive:
description:PersistentKeepalive is the interval in seconds of the
emission of keepalive packets by the peer. This defaults to 0, which
disables the feature.
type:integer
presharedKey:
description:PresharedKey is the optional symmetric encryption key
for the peer.
type:string
publicKey:
description:PublicKey is the WireGuard public key for the peer.