Skip to content

Commit 3cf1263

Browse files
committed
scope change to support only JSON/YAML and add support secretGenerator
1 parent 9adb753 commit 3cf1263

File tree

1 file changed

+3
-4
lines changed

1 file changed

+3
-4
lines changed

proposals/22-03-value-in-the-structured-data.md

Lines changed: 3 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -78,8 +78,7 @@ List the specific goals of the proposal. What is it trying to achieve? How will
7878
know that this has succeeded?
7979
-->
8080
81-
1. Provide the way to update values in the structured data like kubernetes objects with many formats.
82-
1. Be able to add replacement able format after.
81+
1. Provide the way to update values in the structured data like kubernetes objects with JSON/YAML formats.
8382
8483
8584
**Non-goals:**
@@ -134,9 +133,9 @@ replacements:
134133

135134
Please check [Story 1](#Story-1).
136135

137-
### Disciplined merge the value in structured data with configMapGenerator
136+
### Disciplined merge the value in structured data with configMapGenerator and secretGenerator
138137

139-
This Proposal is add option for [configMapGenerator](https://kubectl.docs.kubernetes.io/references/kustomize/kustomization/configmapgenerator/) to allow merge two string literals when the behavior option is setting to merge and string literals value is structured.\
138+
This Proposal is add option for [configMapGenerator](https://kubectl.docs.kubernetes.io/references/kustomize/kustomization/configmapgenerator/) and [secretGenerator](https://kubectl.docs.kubernetes.io/references/kustomize/kustomization/secretgenerator/) to allow merge two string literals when the behavior option is setting to merge and string literals value is structured.\
140139
This idea is add one parameter for `valueStructuredMergeFormat` to `option`. The `valueStructuredMergeFormat` option is used by select to structured data format like "json" or "yaml". And this function needs to work requires setting `behavior: merge`.\
141140
This merge operation will be implemented for a part of [Overriding Base ConfigMap Values](https://kubectl.docs.kubernetes.io/references/kustomize/kustomization/configmapgenerator/#overriding-base-configmap-values). It will execute to merge two string literal having same [key](https://kubernetes.io/docs/tasks/configure-pod-container/configure-pod-configmap/#define-the-key-to-use-when-creating-a-configmap-from-a-file) name when merging two configMap.
142141

0 commit comments

Comments
 (0)