From 753cc5e9a396f7bb9af45fd5250685d5db13929e Mon Sep 17 00:00:00 2001 From: Eddy Filip Date: Mon, 16 Aug 2021 15:24:04 +0200 Subject: [PATCH] Update note in README The note now explains how the item title and fields are made into DNS subdomain-compliant names for creating Kubernetes secrets. --- README.md | 7 ++++++- 1 file changed, 6 insertions(+), 1 deletion(-) diff --git a/README.md b/README.md index a2ec464..ca2e7d3 100644 --- a/README.md +++ b/README.md @@ -144,7 +144,12 @@ If a 1Password Item that is linked to a Kubernetes Secret is updated within the --- **NOTE** -If multiple 1Password vaults/items have the same `title` when using a title in the access path, the desired action will be performed on the oldest vault/item. Furthermore, titles that include white space characters cannot be used. +If multiple 1Password vaults/items have the same `title` when using a title in the access path, the desired action will be performed on the oldest vault/item. + +Titles and field names that include white space and other characters that are not a valid [DNS subdomain name](https://kubernetes.io/docs/concepts/configuration/secret/) will create Kubernetes secrets that have titles and fields in the following format: + - Invalid characters before the first alphanumeric character and after the last alphanumeric character will be removed + - All whitespaces between words will be replaced by `-` + - All the letters will be lower-cased. ---