canonical / ops-scenario

State-transition testing SDK for Operator Framework Juju charms.
Apache License 2.0
10 stars 7 forks source link

add default relation keys in relation databags #31

Open PietroPasotti opened 1 year ago

PietroPasotti commented 1 year ago

At the moment, all databags are born empty. They should have the default keys present and set to some sensible defaults. e.g.:

egress-subnets   10.152.183.30/32              
ingress-address  10.152.183.30                 
private-address  10.152.183.30                 
PietroPasotti commented 1 year ago

@benhoyt @sed-i @Abuelodelanada I'm thinking of implementing it in an opt-in fashion:

What do you think?