Correct defining dicts using yaml's anchors 90/103990/2
authorKonrad Bańka <k.banka@samsung.com>
Thu, 19 Mar 2020 17:31:34 +0000 (18:31 +0100)
committerKonrad Bańka <k.banka@samsung.com>
Thu, 19 Mar 2020 18:02:20 +0000 (19:02 +0100)
commita9d4403245a733f3ecfd3aaea0926dbf91d7168f
tree859437ce0ede0890e7f1cce7705a4abfd00cdbf5
parentf2158a2f746b9170551bb214bedcd2e897fd8a76
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
kubernetes/sdnc/values.yaml