security: add example NetworkPolicy CRs for Ceph operand pods

Add a single example YAML with NetworkPolicy definitions
for all Ceph operand pods (mon, osd, mgr, mds, exporter,
osd-prepare, crashcollector, tools).
Users can apply these policies to restrict egress/ingress
traffic for Rook-Ceph daemon pods.

Signed-off-by: Oded Viner <oviner@redhat.com>
This commit is contained in:
Oded Viner committed 2026-06-16 17:44:34 +03:00
1 parent bb4fb438c4
commit 9dc70051a8
5 files changed
+378

No files matched your search

+1
View File
@@ -350,6 +350,7 @@ function replace_ceph_image() {
function deploy_cluster() {
cd "${REPO_DIR}/deploy/examples"
kubectl create -f networkpolicy.yaml
deploy_manifest_with_local_build operator.yaml
if [ $# == 0 ]; then