generators.external-secrets.io_passwords.yaml 3.1 KB

1234567891011121314151617181920212223242526272829303132333435363738394041424344454647484950515253545556575859606162636465666768697071727374757677787980818283848586
  1. apiVersion: apiextensions.k8s.io/v1
  2. kind: CustomResourceDefinition
  3. metadata:
  4. annotations:
  5. controller-gen.kubebuilder.io/version: v0.14.0
  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: |-
  24. Password generates a random password based on the
  25. configuration parameters in spec.
  26. You can specify the length, characterset and other attributes.
  27. properties:
  28. apiVersion:
  29. description: |-
  30. APIVersion defines the versioned schema of this representation of an object.
  31. Servers should convert recognized schemas to the latest internal value, and
  32. may reject unrecognized values.
  33. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#resources
  34. type: string
  35. kind:
  36. description: |-
  37. Kind is a string value representing the REST resource this object represents.
  38. Servers may infer this from the endpoint the client submits requests to.
  39. Cannot be updated.
  40. In CamelCase.
  41. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#types-kinds
  42. type: string
  43. metadata:
  44. type: object
  45. spec:
  46. description: PasswordSpec controls the behavior of the password generator.
  47. properties:
  48. allowRepeat:
  49. default: false
  50. description: set AllowRepeat to true to allow repeating characters.
  51. type: boolean
  52. digits:
  53. description: |-
  54. Digits specifies the number of digits in the generated
  55. password. If omitted it defaults to 25% of the length of the password
  56. type: integer
  57. length:
  58. default: 24
  59. description: |-
  60. Length of the password to be generated.
  61. Defaults to 24
  62. type: integer
  63. noUpper:
  64. default: false
  65. description: Set NoUpper to disable uppercase characters
  66. type: boolean
  67. symbolCharacters:
  68. description: |-
  69. SymbolCharacters specifies the special characters that should be used
  70. in the generated password.
  71. type: string
  72. symbols:
  73. description: |-
  74. Symbols specifies the number of symbol characters in the generated
  75. password. If omitted it defaults to 25% of the length of the password
  76. type: integer
  77. required:
  78. - allowRepeat
  79. - length
  80. - noUpper
  81. type: object
  82. type: object
  83. served: true
  84. storage: true
  85. subresources:
  86. status: {}