Clear labeling of Zarf created resources
I want to be able to query k8s api and get a list of resources back that were created by deploying a zarf package. Something like zarf-created-by=<package-name> could be added to the resource labels.
Describe the behavior you'd like
- Given a Zarf package
- When It is deployed
- Then All Kubernetes resources that are created by the deployment are labeled with the package name
- Given a Zarf package is deployed
- When
kubectl get <resource> -n <namespace> -l zarf-created-by=<pacakge-name> is executed
- Then all resources created in the requested namespace by the specified package are returned
Clear labeling of Zarf created resources
I want to be able to query k8s api and get a list of resources back that were created by deploying a zarf package. Something like
zarf-created-by=<package-name>could be added to the resource labels.Describe the behavior you'd like
kubectl get <resource> -n <namespace> -l zarf-created-by=<pacakge-name>is executed