caasoperator: Expose Juju unit name
Bug #1894782 reported by
Haw Loeung
This bug affects 1 person
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
Canonical Juju |
Triaged
|
Wishlist
|
Unassigned |
Bug Description
Hi,
At present, for CAAS units, there is nothing about the unit name (JUJU_UNIT). There is 'HOSTNAME' (e.g. content-
There doesn't appear to be a workaround, tried setting something like envConfig 'UNIT': self.unit.name (operator framework) but that causes an endless loop of pods being provisioned/
Changed in juju: | |
status: | New → Triaged |
importance: | Undecided → Wishlist |
tags: | added: field-feedback k8s |
To post a comment you must log in.
Or is this operator that provides it?
https:/ /paste. ubuntu. com/p/w6zH3QhZp Y/