docs: fix yaml

This commit is contained in:
spushk 2026-05-16 18:42:27 +05:00 • committed by spushk
commit 67a930464a
Signed by: spushk
GPG key ID: 7797B761E105E8AA

View file

@ -18,23 +18,26 @@ spec:
# Specify all keys to generate and put into secret
keys:
# Binary key - random byte sequence
- kind: binary
# The key to put generated value to
key: binary-key
#If changes after last reconcilation, will force regeneration with new value
- key: binary-key
# Change to regenerate value without altering spec
version: 0
# Set size of value in bytes
size: 64
# Determine secret shape
shape: !Bytes
# Set size of value in bytes
size: 64
# Password key - guaranteed UTF-8 character sequence with repeat period >= 3
- kind: password
# The key to put generated value to
key: password-key
#If changes after last reconcilation, will force regeneration with new value
- key: password-key
version: 0
# Set length of password in symbols
length: 24
# Specify which symbols are allowed to use when generating password
dictionary: "abcdefghijklmnopqrstuvwxyz0123456789_"
shape: !Password
# Set length of password in symbols
length: 24
# Specify which symbols are allowed to use when generating password
dictionary: "abcdefghijklmnopqrstuvwxyz0123456789_"
# Required fields are `key` and `shape`
- key: default-binary-key
shape: !Bytes
- key: default-password
shape: !Password
# Adjust data, stringData and metadata of generated Secret
template: {}
```
@ -108,8 +111,7 @@ metadata:
spec:
keys:
- key: debug-password
kind: password
length: 12
shape: !Password
template:
stringData:
username: debug-user