generators.external-secrets.io_passwords.yaml 3.2 KB

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