pulumi / pulumi-kubernetes-operator

A Kubernetes Operator that automates the deployment of Pulumi Stacks
Apache License 2.0
221 stars 55 forks source link

Enforce policies before updating #366

Open worawatwi opened 1 year ago

worawatwi commented 1 year ago

Hello!

Issue details

Is it possible to have policies validation before updating? Currently we used Pulumi CLI policy-pack and policy-pack-config to enforce policies in our CI before preview and update. It would be great if operator can check for policy violation and raise error.

Affected area/feature

Pulumi Kubernetes operator

viveklak commented 1 year ago

Thanks for opening the issue. Assigned to @squaremo for consideration/prioritization.

squaremo commented 1 year ago

This makes sense as a feature of the operator -- thanks for suggesting it @worawatwi.