-
Notifications
You must be signed in to change notification settings - Fork 7
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
feat(http): add http as a custom resource (#107)
This commit adds HTTP as a custom resource. This can currently be used to invoke http requests that do not need any authentication. Few e2e experiments added to verify HTTP custom resource. This change also includes a minor bug fix w.r.t StateCheck assert action. Before this fix any timeout error resulted in Recipe's status.phase being set as 'Error'. With current changes any timeout error will result in Recipe's status.phase as 'Failed'. In addition, ci related artifacts including experiments & yaml comments have been updated to make the ci run faster as well as make it more readable for contributors. Signed-off-by: AmitKumarDas <[email protected]>
- Loading branch information
Amit Kumar Das
authored
Jul 28, 2020
1 parent
b1ef09d
commit 7d2d038
Showing
25 changed files
with
455 additions
and
102 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -3,3 +3,5 @@ d-operators | |
test/bin/ | ||
test/kubebin/ | ||
test/e2e/uninstall-k3s.txt | ||
uninstall-k3s.txt | ||
dope |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,14 +1,30 @@ | ||
apiVersion: metac.openebs.io/v1alpha1 | ||
apiVersion: dope/v1 | ||
kind: GenericController | ||
metadata: | ||
name: sync-recipe | ||
namespace: dope | ||
spec: | ||
watch: # kind: Recipe custom resource is watched | ||
watch: | ||
# kind: Recipe custom resource is watched | ||
apiVersion: dope.metacontroller.io/v1 | ||
resource: recipes | ||
hooks: | ||
sync: | ||
inline: | ||
funcName: sync/recipe | ||
--- | ||
apiVersion: dope/v1 | ||
kind: GenericController | ||
metadata: | ||
name: sync-http | ||
namespace: dope | ||
spec: | ||
watch: | ||
# kind: HTTP custom resource is watched | ||
apiVersion: dope.metacontroller.io/v1 | ||
resource: https | ||
hooks: | ||
sync: | ||
inline: | ||
funcName: sync/http | ||
--- |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.