flatcar / flatcar-linux-update-operator

A Kubernetes operator to manage updates of Flatcar Container Linux
Apache License 2.0
102 stars 19 forks source link

Example-Deployment: PodSecurityPolicy deprecated/removed #182

Closed a2yp closed 1 year ago

a2yp commented 1 year ago

Current situation

Used the examples to deploy – kubent says PodSecurityPolicy is deprecated/removed:


Deprecated APIs removed in 1.25 <<<

KIND NAMESPACE NAME API_VERSION REPLACE_WITH (SINCE) PodSecurityPolicy flatcar-linux-update-agent policy/v1beta1 (1.21.0) PodSecurityPolicy flatcar-linux-update-operator policy/v1beta1 (1.21.0)

Impact

Possible issues when upgrading Kubernetes to 1.25 – haven't tried yet.

Ideal future situation

Do not use the deprecated/removed PodSecurityPolicy and replace it in the examples.

invidian commented 1 year ago

Good point. I just checked with kind and it indeed fails to install. More than that, existing instruction for existing deployment also does not work anymore as we added kustomize support. I'll fix both soon.

EDIT: created https://github.com/flatcar/flatcar-linux-update-operator/pull/183.