generators.external-secrets.io_sshkeys.yaml 2.5 KB

1234567891011121314151617181920212223242526272829303132333435363738394041424344454647484950515253545556575859606162636465666768697071
  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) and ECDSA keys (default: 256).
  52. For RSA keys: 2048, 3072, 4096
  53. For ECDSA keys: 256, 384, 521
  54. Ignored for ed25519 keys
  55. maximum: 8192
  56. minimum: 256
  57. type: integer
  58. keyType:
  59. default: rsa
  60. description: KeyType specifies the SSH key type (rsa, ecdsa, ed25519)
  61. enum:
  62. - rsa
  63. - ecdsa
  64. - ed25519
  65. type: string
  66. type: object
  67. type: object
  68. served: true
  69. storage: true
  70. subresources:
  71. status: {}