feat: add bare policy binding controller
CI / image check (pull_request) Successful in 58s
CI / install-dependencies (pull_request) Successful in 7m20s
CI / check format (pull_request) Successful in 25s
CI / test (pull_request) Successful in 25s
CI / build check (pull_request) Successful in 1m39s
CI / check lint (pull_request) Successful in 12m48s

This commit is contained in:
2026-05-17 19:38:29 +02:00
parent dedee24389
commit 4367bc78bc
30 changed files with 1822 additions and 1 deletions
+53
View File
@@ -0,0 +1,53 @@
apiVersion: apiextensions.k8s.io/v1
kind: CustomResourceDefinition
metadata:
name: policybindings.policybinding.t000-n.de
spec:
group: policybinding.t000-n.de
versions:
- name: v1alpha1
served: true
storage: true
subresources:
status: {}
additionalPrinterColumns:
- name: PK
type: string
jsonPath: .status.pk
schema:
openAPIV3Schema:
type: object
properties:
spec:
type: object
properties:
policy:
type: string
format: uuid
group:
type: string
format: uuid
user:
type: integer
format: int32
target:
type: string
format: uuid
order:
type: integer
required:
- target
- order
status:
type: object
properties:
pk:
type: string
required:
- pk
names:
kind: PolicyBinding
plural: policybindings
shortNames:
- pb
scope: Namespaced