You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: proposals/22-03-value-in-the-structured-data.md
+3-4Lines changed: 3 additions & 4 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -78,8 +78,7 @@ List the specific goals of the proposal. What is it trying to achieve? How will
78
78
know that this has succeeded?
79
79
-->
80
80
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.
83
82
84
83
85
84
**Non-goals:**
@@ -134,9 +133,9 @@ replacements:
134
133
135
134
Please check [Story 1](#Story-1).
136
135
137
-
### Disciplined merge the value in structured data with configMapGenerator
136
+
### Disciplined merge the value in structured data with configMapGenerator and secretGenerator
138
137
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.\
140
139
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`.\
141
140
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.
0 commit comments