generators.external-secrets.io_passwords.yaml 3.0 KB

12345678910111213141516171819202122232425262728293031323334353637383940414243444546474849505152535455565758596061626364656667686970717273747576
  1. apiVersion: apiextensions.k8s.io/v1
  2. kind: CustomResourceDefinition
  3. metadata:
  4. annotations:
  5. controller-gen.kubebuilder.io/version: v0.10.0
  6. creationTimestamp: null
  7. name: passwords.generators.external-secrets.io
  8. spec:
  9. group: generators.external-secrets.io
  10. names:
  11. categories:
  12. - password
  13. kind: Password
  14. listKind: PasswordList
  15. plural: passwords
  16. shortNames:
  17. - password
  18. singular: password
  19. scope: Namespaced
  20. versions:
  21. - name: v1alpha1
  22. schema:
  23. openAPIV3Schema:
  24. description: Password generates a random password based on the configuration
  25. parameters in spec. You can specify the length, characterset and other attributes.
  26. properties:
  27. apiVersion:
  28. description: 'APIVersion defines the versioned schema of this representation
  29. of an object. Servers should convert recognized schemas to the latest
  30. internal value, and may reject unrecognized values. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#resources'
  31. type: string
  32. kind:
  33. description: 'Kind is a string value representing the REST resource this
  34. object represents. Servers may infer this from the endpoint the client
  35. submits requests to. Cannot be updated. In CamelCase. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#types-kinds'
  36. type: string
  37. metadata:
  38. type: object
  39. spec:
  40. description: PasswordSpec controls the behavior of the password generator.
  41. properties:
  42. allowRepeat:
  43. default: false
  44. description: set AllowRepeat to true to allow repeating characters.
  45. type: boolean
  46. digits:
  47. description: Digits specifies the number of digits in the generated
  48. password. If omitted it defaults to 25% of the length of the password
  49. type: integer
  50. length:
  51. default: 24
  52. description: Length of the password to be generated. Defaults to 24
  53. type: integer
  54. noUpper:
  55. default: false
  56. description: Set NoUpper to disable uppercase characters
  57. type: boolean
  58. symbolCharacters:
  59. description: SymbolCharacters specifies the special characters that
  60. should be used in the generated password.
  61. type: string
  62. symbols:
  63. description: Symbols specifies the number of symbol characters in
  64. the generated password. If omitted it defaults to 25% of the length
  65. of the password
  66. type: integer
  67. required:
  68. - allowRepeat
  69. - length
  70. - noUpper
  71. type: object
  72. type: object
  73. served: true
  74. storage: true
  75. subresources:
  76. status: {}