nirmata / kyverno-aws-adapter

An adapter for Amazon EKS to use with Kyverno for making policy decisions
Apache License 2.0
11 stars 5 forks source link

Recover awsacfg resource #58

Closed anusha94 closed 1 year ago

anusha94 commented 1 year ago

Steps to reproduce

  1. I (accidentally) delete awsacfg resource using kubectl delete
  2. To recover the deleted awsacfg, I delete the adapter pod so that when the pod is recreated, it recreates the awsacfg resource as well

Current behavior Deleting the adapter pod only recreates the pod, but not awsacfg resource. The only way to recover awsacfg resource is to do a helm uninstall and helm install again

Expected outcome Deleting the adapter pod recreates the pod and also awsacfg resource

kbeniwal commented 1 year ago

Fixed by #61.