containers / fetchit

FetchIt is used to manage the life cycle and configuration of Podman containers
https://fetchit.readthedocs.io/
GNU Affero General Public License v3.0
124 stars 23 forks source link

Kube method - Add a label to projects created by kube play #100

Open cooktheryan opened 2 years ago

cooktheryan commented 2 years ago

As a harpoon-er, I would like to apply a specific label to kube pods created harpoon.

AC: Verify harpoon can apply a label to containers created by harpoon and allow us to manage those items better

josephsawaya commented 2 years ago

It doesn't look like there's a label option for podman play kube. The next best thing is annotations which don't look like they're available in the play bindings. The whole point of adding labels would be for harpoon to know that it created a pod in the case that it starts or restarts and harpoon wants to know which pods it has created so it doesn't destroy any pods it hadn't created itself.

josephsawaya commented 2 years ago

Waiting for https://github.com/containers/podman/blob/main/pkg/bindings/play/types.go#L11