generators.external-secrets.io_sshkeys.yaml 2.4 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869
  1. apiVersion: apiextensions.k8s.io/v1
  2. kind: CustomResourceDefinition
  3. metadata:
  4. annotations:
  5. controller-gen.kubebuilder.io/version: v0.19.0
  6. labels:
  7. external-secrets.io/component: controller
  8. name: sshkeys.generators.external-secrets.io
  9. spec:
  10. group: generators.external-secrets.io
  11. names:
  12. categories:
  13. - external-secrets
  14. - external-secrets-generators
  15. kind: SSHKey
  16. listKind: SSHKeyList
  17. plural: sshkeys
  18. singular: sshkey
  19. scope: Namespaced
  20. versions:
  21. - name: v1alpha1
  22. schema:
  23. openAPIV3Schema:
  24. description: SSHKey generates SSH key pairs.
  25. properties:
  26. apiVersion:
  27. description: |-
  28. APIVersion defines the versioned schema of this representation of an object.
  29. Servers should convert recognized schemas to the latest internal value, and
  30. may reject unrecognized values.
  31. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#resources
  32. type: string
  33. kind:
  34. description: |-
  35. Kind is a string value representing the REST resource this object represents.
  36. Servers may infer this from the endpoint the client submits requests to.
  37. Cannot be updated.
  38. In CamelCase.
  39. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#types-kinds
  40. type: string
  41. metadata:
  42. type: object
  43. spec:
  44. description: SSHKeySpec controls the behavior of the ssh key generator.
  45. properties:
  46. comment:
  47. description: Comment specifies an optional comment for the SSH key
  48. type: string
  49. keySize:
  50. description: |-
  51. KeySize specifies the key size for RSA keys (default: 2048)
  52. For RSA keys: 2048, 3072, 4096
  53. Ignored for ed25519 keys
  54. maximum: 8192
  55. minimum: 256
  56. type: integer
  57. keyType:
  58. default: rsa
  59. description: KeyType specifies the SSH key type (rsa, ed25519)
  60. enum:
  61. - rsa
  62. - ed25519
  63. type: string
  64. type: object
  65. type: object
  66. served: true
  67. storage: true
  68. subresources:
  69. status: {}