mirror of
https://github.com/external-secrets/external-secrets.git
synced 2024-12-14 11:57:59 +00:00
fb9526f38a
* feat: implement a cluster-wide generator Signed-off-by: Gergely Brautigam <182850+Skarlso@users.noreply.github.com> * remove unneeded function Signed-off-by: Gergely Brautigam <182850+Skarlso@users.noreply.github.com> * check diff run output Signed-off-by: Gergely Brautigam <182850+Skarlso@users.noreply.github.com> * alternative implementation of the Generator approach using specs only Signed-off-by: Gergely Brautigam <182850+Skarlso@users.noreply.github.com> * refactor the extracting code Signed-off-by: Gergely Brautigam <182850+Skarlso@users.noreply.github.com> * slight modification to the naming of the spec from generatorSpec to simply generator Signed-off-by: Gergely Brautigam <182850+Skarlso@users.noreply.github.com> * write a unit test for the generator and register it in the scheme Signed-off-by: Gergely Brautigam <182850+Skarlso@users.noreply.github.com> * add documentation for the cluster generator Signed-off-by: Gergely Brautigam <182850+Skarlso@users.noreply.github.com> --------- Signed-off-by: Gergely Brautigam <182850+Skarlso@users.noreply.github.com>
24 lines
533 B
YAML
24 lines
533 B
YAML
apiVersion: generators.external-secrets.io/v1alpha1
|
|
kind: ClusterGenerator
|
|
metadata:
|
|
name: cluster-gen
|
|
spec:
|
|
kind: Password
|
|
generator:
|
|
# Further specs are available:
|
|
# acrAccessTokenSpec:
|
|
# ecrRAuthorizationTokenSpec:
|
|
# fakeSpec:
|
|
# gcrAccessTokenSpec:
|
|
# githubAccessTokenSpec:
|
|
# stsSessionTokenSpec:
|
|
# uuidSpec:
|
|
# vaultDynamicSecretSpec:
|
|
# webhookSpec:
|
|
passwordSpec:
|
|
length: 42
|
|
digits: 5
|
|
symbols: 5
|
|
symbolCharacters: "-_$@"
|
|
noUpper: false
|
|
allowRepeat: true
|