kubewarden / policy-server

Webhook server that evaluates WebAssembly policies to validate Kubernetes requests
https://kubewarden.io
Apache License 2.0
138 stars 18 forks source link

Add some way to version our policy wasm files #29

Closed kkaempf closed 3 years ago

kkaempf commented 3 years ago

The policy format already changed once (when we from WASI to waPC). There are chances this will happen again in the future (see the #28 ).

When the policy format changes, we have to find a way to not load policies written with the old format into policy-server.

Acceptance criteria

flavio commented 3 years ago

@kkaempf we recently discussed that during one of our dailies. I think we both agree the later tag should be removed and this issue should be done before the initial release.

Am I right?

ereslibre commented 3 years ago

IIRC what we discussed is that we can introduce the versioning part after MVP, and re push wasm artifacts at some point with this metadata, given that there are very low chances that anybody is depending on this artifacts, cached somehow at this time.

flavio commented 3 years ago

Part of https://github.com/kubewarden/policy-server/issues/61

flavio commented 3 years ago

This is done now