* opa: ignore validating opa pod itself * opa: add uid to response in decision logic * opa: add apiVersion and kind to admission review response
45 lines
804 B
YAML
45 lines
804 B
YAML
|
|
---
|
|
apiVersion: v1
|
|
kind: Namespace
|
|
metadata:
|
|
annotations:
|
|
kubesphere.io/creator: '{{ .Values.user.name }}'
|
|
labels:
|
|
kubesphere.io/workspace: system-workspace
|
|
name: os-network
|
|
|
|
---
|
|
apiVersion: v1
|
|
kind: Namespace
|
|
metadata:
|
|
annotations:
|
|
kubesphere.io/creator: '{{ .Values.user.name }}'
|
|
labels:
|
|
kubesphere.io/workspace: system-workspace
|
|
openpolicyagent.org/webhook: ignore
|
|
name: os-platform
|
|
|
|
---
|
|
apiVersion: v1
|
|
kind: Namespace
|
|
metadata:
|
|
annotations:
|
|
kubesphere.io/creator: '{{ .Values.user.name }}'
|
|
labels:
|
|
kubesphere.io/workspace: system-workspace
|
|
name: os-framework
|
|
|
|
---
|
|
apiVersion: v1
|
|
kind: Namespace
|
|
metadata:
|
|
annotations:
|
|
kubesphere.io/creator: '{{ .Values.user.name }}'
|
|
labels:
|
|
kubesphere.io/workspace: system-workspace
|
|
name: os-protected
|
|
|
|
|
|
|