diff options
author | Konrad Bańka <k.banka@samsung.com> | 2020-03-19 18:31:34 +0100 |
---|---|---|
committer | Konrad Bańka <k.banka@samsung.com> | 2020-03-19 19:02:20 +0100 |
commit | a9d4403245a733f3ecfd3aaea0926dbf91d7168f (patch) | |
tree | 859437ce0ede0890e7f1cce7705a4abfd00cdbf5 /kubernetes/common | |
parent | f2158a2f746b9170551bb214bedcd2e897fd8a76 (diff) |
Correct defining dicts using yaml's anchors
This commit corrects previous mistake assuming that
parameter's nested content derived via "<<" operator
can be overwritten with single value, while in practice,
whole key would be change.
For practical explanation, following entry:
a: &a
b: 1
c:
d: 2
e: 3
x:
<<: *a
c:
d: 10
Would yield following content:
a:
b: 1
c:
d: 2
e: 3
x:
b: 1
c:
d: 10
And as we can see, "e" key is missing there.
This commit correct this.
Issue-ID: SDNC-1122
Signed-off-by: Konrad Bańka <k.banka@samsung.com>
Change-Id: I15dfe0219ee1d6bcde7d29821ed2650bc8698244
Diffstat (limited to 'kubernetes/common')
0 files changed, 0 insertions, 0 deletions