Description
Landscaper uses strategic merge patch semantics when processing data objects. Null values are interpreted as "delete this key" rather than "set this key to null". This is what we saw in the kcp-kyma-environment-broker configmap too.
This config:
providersConfiguration:
aws:
regionsSupportingMachine:
g4dn:
us-gov-east-1:
us-gov-west-1:
g6:
becomes:
providersConfiguration:
aws:
regionsSupportingMachine:
g4dn: { }
AC
- check where in our configs we allow to leave keys with null values
- for regionsSupportingMachine we should consider supporting empty [ ] or "" and treat them as null scenarios
- This is an enhancement(backward compatible), release as a patch. Update docs
Description
Landscaper uses strategic merge patch semantics when processing data objects. Null values are interpreted as "delete this key" rather than "set this key to null". This is what we saw in the kcp-kyma-environment-broker configmap too.
This config:
becomes:
AC