docs: fix yaml
This commit is contained in:
parent
e15bb3bbc6
commit
67a930464a
1 changed files with 18 additions and 16 deletions
22
README.md
22
README.md
|
|
@ -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
|
||||
# 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
|
||||
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
|
||||
|
|
|
|||
Loading…
Reference in a new issue