generators.external-secrets.io_passwords.yaml 2.9 KB

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