opa: ignore validating opa pod itself (#2118)

* opa: ignore validating opa pod itself

* opa: add uid to response in decision logic

* opa: add apiVersion and kind to admission review response
This commit is contained in:
eball
2025-11-27 16:19:56 +08:00
committed by GitHub
parent fe6817ff78
commit 7f27a03e84
2 changed files with 12 additions and 2 deletions

View File

@@ -17,6 +17,7 @@ metadata:
kubesphere.io/creator: '{{ .Values.user.name }}'
labels:
kubesphere.io/workspace: system-workspace
openpolicyagent.org/webhook: ignore
name: os-platform
---