54 lines
1.3 KiB
YAML
54 lines
1.3 KiB
YAML
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
|