generators.external-secrets.io_passwords.yaml 4.1 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112
  1. apiVersion: apiextensions.k8s.io/v1
  2. kind: CustomResourceDefinition
  3. metadata:
  4. annotations:
  5. controller-gen.kubebuilder.io/version: v0.19.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. encoding:
  59. default: raw
  60. description: |-
  61. Encoding specifies the encoding of the generated password.
  62. Valid values are:
  63. - "raw" (default): no encoding
  64. - "base64": standard base64 encoding
  65. - "base64url": base64url encoding
  66. - "base32": base32 encoding
  67. - "hex": hexadecimal encoding
  68. enum:
  69. - base64
  70. - base64url
  71. - base32
  72. - hex
  73. - raw
  74. type: string
  75. length:
  76. default: 24
  77. description: |-
  78. Length of the password to be generated.
  79. Defaults to 24
  80. type: integer
  81. noUpper:
  82. default: false
  83. description: Set NoUpper to disable uppercase characters
  84. type: boolean
  85. secretKeys:
  86. description: |-
  87. SecretKeys defines the keys that will be populated with generated passwords.
  88. Defaults to "password" when not set.
  89. items:
  90. type: string
  91. minItems: 1
  92. type: array
  93. symbolCharacters:
  94. description: |-
  95. SymbolCharacters specifies the special characters that should be used
  96. in the generated password.
  97. type: string
  98. symbols:
  99. description: |-
  100. Symbols specifies the number of symbol characters in the generated
  101. password. If omitted it defaults to 25% of the length of the password
  102. type: integer
  103. required:
  104. - allowRepeat
  105. - length
  106. - noUpper
  107. type: object
  108. type: object
  109. served: true
  110. storage: true
  111. subresources:
  112. status: {}