solr-operator icon indicating copy to clipboard operation
solr-operator copied to clipboard

cp-solr-xml Init Container Does Not Set readOnlyRootFilesystem: true

Open karatkep opened this issue 3 months ago • 0 comments

The cp-solr-xml init container currently does not configure readOnlyRootFilesystem: true. However, this container does not appear to require a writable root filesystem for its functionality.

As a result, the container is not adhering to Kubernetes security best practices, which recommend setting readOnlyRootFilesystem: true for containers that do not need write access to their root filesystem. This helps to reduce the attack surface and improve overall security by preventing potential unauthorized write operations.

karatkep avatar Sep 18 '25 08:09 karatkep