Repository navigation
Grant operator NetworkPolicy permissions during 0.9.0 setup - #238
Merged
Merged
Conversation
sciabarracom
approved these changes
Oct 20, 2026
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Fresh installations through
build-and-test-ubuntu.sh/ops setup devclusterfail to create Milvus after apache/openserverless-operator#141. That operator change reconciles NetworkPolicies, but setup applies its own bootstrap Role fromsetup/kubernetes/roles/operator-roles.yaml, which currently grants access only to ingresses innetworking.k8s.io.The operator receives
Forbiddenwhen applyingopenserverless-etcd-isolation. This interrupts etcd setup before its readiness wait, prevents provisioning the Milvus technical account, and leaves setup waiting for a Milvus pod that was never created.Add
networkpoliciesto the existing networking rule. Its verbs match those already included in the operator's Role by apache/openserverless-operator#141, and permission remains scoped to theopenserverlessnamespace.Validation:
e26b21b53c87b67d5b58911a492d72b2f5405ac8.git diff --checkpassed; exactly one file and one line changed.The separate operator issue that reports Milvus
onafter a failed creation is outside this minimal bootstrap-permission fix.