k8s charm sees no egress-subnets on its own relation
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
Canonical Juju |
Fix Released
|
High
|
Ian Booth |
Bug Description
A k8s charm cannot determine its egress subnets by looking at its end of the relation (testing with a cross model relation).
If it checks with relation-get, it sees no juju managed relation data such as egress-subnets or private-address. However, it will see any relation data that it set itself with relation-set.
If the charm checks the remote end of the relation with relation-get, it sees all expected relation data.
This breaks interface:pgsql. The provider publishes the egress addresses that have been granted access to the database, and the provider sees the egress address of the client just fine and publishes it. However, the client cannot determine its own egress address and is unable to determine if it has been granted access or not.
Changed in juju: | |
status: | New → Triaged |
importance: | Undecided → High |
assignee: | nobody → Ian Booth (wallyworld) |
tags: | added: k8s |
Changed in juju: | |
assignee: | Ian Booth (wallyworld) → Yang Kelvin Liu (kelvin.liu) |
milestone: | none → 2.6.3 |
Changed in juju: | |
milestone: | 2.6.3 → 2.6.4 |
Changed in juju: | |
assignee: | Yang Kelvin Liu (kelvin.liu) → Ian Booth (wallyworld) |
status: | Triaged → Fix Committed |
Changed in juju: | |
status: | Fix Committed → Fix Released |
Changed in juju: | |
status: | Fix Released → New |
The charm-helpers methods charmhelpers. core.hookenv. ingress_ address( ) and charmhelpers. core.hookenv. egress_ subnets( ) do not work in k8s charms.