crds.yaml 3.5 KB

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