generators.external-secrets.io_passwords.yaml 3.2 KB

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