wildfly / wildfly-operator

Kubernetes Operator for WildFly
http://docs.wildfly.org/wildfly-operator/
Apache License 2.0
32 stars 39 forks source link

Update Pod Security Standards #266

Closed jmesnil closed 1 year ago

jmesnil commented 1 year ago

Kubernetes Pod Security Standards are being updated (as explained in https://sdk.operatorframework.io/docs/best-practices/pod-security-standards/) and the WildFly Operator lags behind these changes.

In the mainbranch, the user can specify the SecurityContext on the deployed Pod templates to control the behaviour (#238).

However, it is missing a seccompProfile to comply with the security standards.

In addition, we can provide a good default value for this security context and do not need to ask the user to specify it.