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