2022-10-29 18:15:50 +00:00
|
|
|
apiVersion: apiextensions.k8s.io/v1
|
|
|
|
kind: CustomResourceDefinition
|
|
|
|
metadata:
|
|
|
|
annotations:
|
2024-10-29 09:54:27 +00:00
|
|
|
controller-gen.kubebuilder.io/version: v0.16.5
|
2024-06-16 10:52:10 +00:00
|
|
|
labels:
|
|
|
|
external-secrets.io/component: controller
|
2022-10-29 18:15:50 +00:00
|
|
|
name: passwords.generators.external-secrets.io
|
|
|
|
spec:
|
|
|
|
group: generators.external-secrets.io
|
|
|
|
names:
|
|
|
|
categories:
|
2024-09-25 07:45:07 +00:00
|
|
|
- external-secrets
|
|
|
|
- external-secrets-generators
|
2022-10-29 18:15:50 +00:00
|
|
|
kind: Password
|
|
|
|
listKind: PasswordList
|
|
|
|
plural: passwords
|
|
|
|
singular: password
|
|
|
|
scope: Namespaced
|
|
|
|
versions:
|
|
|
|
- name: v1alpha1
|
|
|
|
schema:
|
|
|
|
openAPIV3Schema:
|
2024-01-22 19:56:06 +00:00
|
|
|
description: |-
|
|
|
|
Password generates a random password based on the
|
|
|
|
configuration parameters in spec.
|
|
|
|
You can specify the length, characterset and other attributes.
|
2022-10-29 18:15:50 +00:00
|
|
|
properties:
|
|
|
|
apiVersion:
|
2024-01-22 19:56:06 +00:00
|
|
|
description: |-
|
|
|
|
APIVersion defines the versioned schema of this representation of an object.
|
|
|
|
Servers should convert recognized schemas to the latest internal value, and
|
|
|
|
may reject unrecognized values.
|
|
|
|
More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#resources
|
2022-10-29 18:15:50 +00:00
|
|
|
type: string
|
|
|
|
kind:
|
2024-01-22 19:56:06 +00:00
|
|
|
description: |-
|
|
|
|
Kind is a string value representing the REST resource this object represents.
|
|
|
|
Servers may infer this from the endpoint the client submits requests to.
|
|
|
|
Cannot be updated.
|
|
|
|
In CamelCase.
|
|
|
|
More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#types-kinds
|
2022-10-29 18:15:50 +00:00
|
|
|
type: string
|
|
|
|
metadata:
|
|
|
|
type: object
|
|
|
|
spec:
|
|
|
|
description: PasswordSpec controls the behavior of the password generator.
|
|
|
|
properties:
|
|
|
|
allowRepeat:
|
|
|
|
default: false
|
|
|
|
description: set AllowRepeat to true to allow repeating characters.
|
|
|
|
type: boolean
|
|
|
|
digits:
|
2024-01-22 19:56:06 +00:00
|
|
|
description: |-
|
|
|
|
Digits specifies the number of digits in the generated
|
2022-10-29 18:15:50 +00:00
|
|
|
password. If omitted it defaults to 25% of the length of the password
|
|
|
|
type: integer
|
|
|
|
length:
|
|
|
|
default: 24
|
2024-01-22 19:56:06 +00:00
|
|
|
description: |-
|
|
|
|
Length of the password to be generated.
|
|
|
|
Defaults to 24
|
2022-10-29 18:15:50 +00:00
|
|
|
type: integer
|
|
|
|
noUpper:
|
|
|
|
default: false
|
|
|
|
description: Set NoUpper to disable uppercase characters
|
|
|
|
type: boolean
|
|
|
|
symbolCharacters:
|
2024-01-22 19:56:06 +00:00
|
|
|
description: |-
|
|
|
|
SymbolCharacters specifies the special characters that should be used
|
|
|
|
in the generated password.
|
2022-10-29 18:15:50 +00:00
|
|
|
type: string
|
|
|
|
symbols:
|
2024-01-22 19:56:06 +00:00
|
|
|
description: |-
|
|
|
|
Symbols specifies the number of symbol characters in the generated
|
|
|
|
password. If omitted it defaults to 25% of the length of the password
|
2022-10-29 18:15:50 +00:00
|
|
|
type: integer
|
|
|
|
required:
|
|
|
|
- allowRepeat
|
|
|
|
- length
|
|
|
|
- noUpper
|
|
|
|
type: object
|
|
|
|
type: object
|
|
|
|
served: true
|
|
|
|
storage: true
|
|
|
|
subresources:
|
|
|
|
status: {}
|