Skip to content
This repository was archived by the owner on Jul 26, 2022. It is now read-only.

Commit fa54f54

Browse files
fix(crd): remove unnecessary empty properties in oneOf validation (#758)
* Closes #753 Provide types for each property in oneOf The empty properties here also produces invalid json schema when used with https://github.com/yannh/kubeconform * Remove properties
1 parent f61fc85 commit fa54f54

File tree

1 file changed

+2
-11
lines changed

1 file changed

+2
-11
lines changed

charts/kubernetes-external-secrets/crds/kubernetes-client.io_externalsecrets_crd.yaml

+2-11
Original file line numberDiff line numberDiff line change
@@ -122,19 +122,10 @@ spec:
122122
Used by: secretsManager
123123
type: string
124124
oneOf:
125-
- properties:
126-
key:
127-
name:
128-
property:
129-
isBinary:
130-
secretType:
131-
required:
125+
- required:
132126
- key
133127
- name
134-
- properties:
135-
path:
136-
recursive:
137-
required:
128+
- required:
138129
- path
139130
roleArn:
140131
type: string

0 commit comments

Comments
 (0)