mirror of
https://github.com/kubernetes-sigs/kustomize.git
synced 2026-06-13 18:10:59 +00:00
fix nit
This commit is contained in:
@@ -4511,6 +4511,8 @@ func TestValueInlineStructuredData(t *testing.T) {
|
||||
kind: ConfigMap
|
||||
metadata:
|
||||
name: target-configmap
|
||||
annotations:
|
||||
hostname: www.example.com
|
||||
data:
|
||||
config.json: |-
|
||||
{
|
||||
@@ -4524,7 +4526,7 @@ data:
|
||||
- source:
|
||||
kind: ConfigMap
|
||||
name: target-configmap
|
||||
fieldPath: metadata.name
|
||||
fieldPath: metadata.annotations.hostname
|
||||
targets:
|
||||
- select:
|
||||
kind: ConfigMap
|
||||
@@ -4535,11 +4537,13 @@ data:
|
||||
kind: ConfigMap
|
||||
metadata:
|
||||
name: target-configmap
|
||||
annotations:
|
||||
hostname: www.example.com
|
||||
data:
|
||||
config.json: |-
|
||||
{
|
||||
"config": {
|
||||
"hostname": "target-configmap",
|
||||
"hostname": "www.example.com",
|
||||
"id": "42"
|
||||
}
|
||||
}`,
|
||||
|
||||
Reference in New Issue
Block a user