From 67a930464adcb3afb7aa3f6d88e281d6c14b89b5 Mon Sep 17 00:00:00 2001 From: spushk Date: Sat, 16 May 2026 18:42:27 +0500 Subject: [PATCH] docs: fix yaml --- README.md | 34 ++++++++++++++++++---------------- 1 file changed, 18 insertions(+), 16 deletions(-) diff --git a/README.md b/README.md index d51daed..a2793e9 100644 --- a/README.md +++ b/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 - # 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