Skip to content

Commit

Permalink
Add uid to addMetaDataToSchema func
Browse files Browse the repository at this point in the history
Signed-off-by: Simon Vanhaverbeke <[email protected]>
  • Loading branch information
SimonVHB committed Mar 22, 2023
1 parent 9beab2c commit 9e7271d
Showing 1 changed file with 3 additions and 0 deletions.
3 changes: 3 additions & 0 deletions internal/xpkg/lint/schema/store.go
Original file line number Diff line number Diff line change
Expand Up @@ -90,6 +90,9 @@ func addMetaDataToSchema(crdv *extv1.CustomResourceDefinitionVersion) {
},
},
},
"uid": {
Type: "string",
},
}
if crdv.Schema == nil {
crdv.Schema = &extv1.CustomResourceValidation{}
Expand Down

0 comments on commit 9e7271d

Please sign in to comment.