crds.yaml 3.4 KB

1234567891011121314151617181920212223242526272829303132333435363738394041424344454647484950515253545556575859606162636465666768697071727374757677787980818283848586878889909192
  1. apiVersion: apiextensions.k8s.io/v1
  2. kind: CustomResourceDefinition
  3. metadata:
  4. annotations:
  5. controller-gen.kubebuilder.io/version: v0.6.0
  6. creationTimestamp: null
  7. name: peers.kilo.squat.ai
  8. spec:
  9. group: kilo.squat.ai
  10. names:
  11. kind: Peer
  12. listKind: PeerList
  13. plural: peers
  14. singular: peer
  15. scope: Cluster
  16. versions:
  17. - name: v1alpha1
  18. schema:
  19. openAPIV3Schema:
  20. description: Peer is a WireGuard peer that should have access to the VPN.
  21. properties:
  22. apiVersion:
  23. description: 'APIVersion defines the versioned schema of this representation
  24. of an object. Servers should convert recognized schemas to the latest
  25. internal value, and may reject unrecognized values. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#resources'
  26. type: string
  27. kind:
  28. description: 'Kind is a string value representing the REST resource this
  29. object represents. Servers may infer this from the endpoint the client
  30. submits requests to. Cannot be updated. In CamelCase. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#types-kinds'
  31. type: string
  32. metadata:
  33. type: object
  34. spec:
  35. description: 'Specification of the desired behavior of the Kilo Peer.
  36. More info: https://github.com/kubernetes/community/blob/master/contributors/devel/api-conventions.md#spec-and-status'
  37. properties:
  38. allowedIPs:
  39. description: AllowedIPs is the list of IP addresses that are allowed
  40. for the given peer's tunnel.
  41. items:
  42. type: string
  43. type: array
  44. endpoint:
  45. description: Endpoint is the initial endpoint for connections to the
  46. peer.
  47. properties:
  48. dnsOrIP:
  49. description: DNSOrIP is a DNS name or an IP address.
  50. properties:
  51. dns:
  52. description: DNS must be a valid RFC 1123 subdomain.
  53. type: string
  54. ip:
  55. description: IP must be a valid IP address.
  56. type: string
  57. type: object
  58. port:
  59. description: Port must be a valid port number.
  60. format: int32
  61. type: integer
  62. required:
  63. - dnsOrIP
  64. - port
  65. type: object
  66. persistentKeepalive:
  67. description: PersistentKeepalive is the interval in seconds of the
  68. emission of keepalive packets by the peer. This defaults to 0, which
  69. disables the feature.
  70. type: integer
  71. presharedKey:
  72. description: PresharedKey is the optional symmetric encryption key
  73. for the peer.
  74. type: string
  75. publicKey:
  76. description: PublicKey is the WireGuard public key for the peer.
  77. type: string
  78. required:
  79. - allowedIPs
  80. - publicKey
  81. type: object
  82. required:
  83. - spec
  84. type: object
  85. served: true
  86. storage: true
  87. status:
  88. acceptedNames:
  89. kind: ""
  90. plural: ""
  91. conditions: []
  92. storedVersions: []