Skip to content

Commit

Permalink
Wait for CRD to be established. (#1053)
Browse files Browse the repository at this point in the history
Otherwise creation of the custom resource races with CRD establishment,
and fails in case it wins.
  • Loading branch information
Marcin Owsiany authored and alenkacz committed Nov 16, 2019
1 parent 204904a commit 3e1ef10
Showing 1 changed file with 5 additions and 0 deletions.
5 changes: 5 additions & 0 deletions pkg/test/test_data/crd-in-step/00-assert.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -11,3 +11,8 @@ status:
singular: mycrd
storedVersions:
- v1beta1
conditions:
- type: NamesAccepted
status: "True"
- type: Established
status: "True"

0 comments on commit 3e1ef10

Please sign in to comment.