generators.external-secrets.io_passwords.yaml 3.2 KB

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