fetchit icon indicating copy to clipboard operation
fetchit copied to clipboard

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

Open cooktheryan opened this issue 3 years ago • 2 comments

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

cooktheryan avatar Mar 16 '22 15:03 cooktheryan

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 avatar Mar 22 '22 19:03 josephsawaya

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

josephsawaya avatar Mar 23 '22 15:03 josephsawaya