crd does not seem correct. element is returned as string
All checks were successful
continuous-integration/drone/push Build is passing

This commit is contained in:
2022-09-19 23:06:12 +02:00
parent 9b27191be3
commit 63fcf5b05f
3 changed files with 37 additions and 8 deletions

View File

@ -12,7 +12,7 @@ spec:
shortNames:
- bws
versions:
- name: v1beta1
- name: v1beta2
served: true
storage: true
schema:
@ -22,12 +22,27 @@ spec:
spec:
type: object
properties:
type:
type: string
scope:
type: array
items:
type: object
properties:
element:
type: object
properties:
secretName:
type: string
secretRef:
type: string
required:
- secretName
id:
type: string
namespace:
type: string
name:
type: string
required:
- id
- namespace
- name