-
Notifications
You must be signed in to change notification settings - Fork 131
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
feat: webhook template and headers (#3978)
* feat: webhook template and headers * fix: escape text * docs: cli * feat: add unit test * fix: unit test * fix: remove reset * fix: template * fix: lint * fi * docs: webhook fields description * fix: dep * Update api/v1/testkube.yaml Co-authored-by: Lilla Vass <[email protected]> * Update pkg/api/v1/testkube/model_webhook.go Co-authored-by: Lilla Vass <[email protected]> * Update pkg/api/v1/testkube/model_webhook_create_request.go Co-authored-by: Lilla Vass <[email protected]> --------- Co-authored-by: Lilla Vass <[email protected]>
- Loading branch information
Showing
26 changed files
with
336 additions
and
58 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
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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,30 @@ | ||
## testkube cloud | ||
|
||
Testkube Cloud commands | ||
|
||
``` | ||
testkube cloud [flags] | ||
``` | ||
|
||
### Options | ||
|
||
``` | ||
-h, --help help for cloud | ||
``` | ||
|
||
### Options inherited from parent commands | ||
|
||
``` | ||
-a, --api-uri string api uri, default value read from config if set (default "https://demo.testkube.io/results/v1") | ||
-c, --client string client used for connecting to Testkube API one of proxy|direct (default "proxy") | ||
--namespace string Kubernetes namespace, default value read from config if set (default "testkube") | ||
--oauth-enabled enable oauth | ||
--verbose show additional debug messages | ||
``` | ||
|
||
### SEE ALSO | ||
|
||
* [testkube](testkube.md) - Testkube entrypoint for kubectl plugin | ||
* [testkube cloud connect](testkube_cloud_connect.md) - Testkube Cloud connect | ||
* [testkube cloud disconnect](testkube_cloud_disconnect.md) - Switch back to Testkube OSS mode, based on active .kube/config file | ||
|
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 |
---|---|---|
@@ -0,0 +1,43 @@ | ||
## testkube cloud connect | ||
|
||
Testkube Cloud connect | ||
|
||
``` | ||
testkube cloud connect [flags] | ||
``` | ||
|
||
### Options | ||
|
||
``` | ||
--agent-token string Testkube Cloud agent key [required for cloud mode] | ||
--chart string chart name (usually you don't need to change it) (default "kubeshop/testkube") | ||
--cloud-root-domain string defaults to testkube.io, usually don't need to be changed [required for cloud mode] (default "testkube.io") | ||
--dashboard-replicas int Dashboard replicas | ||
--dry-run dry run mode - only print commands that would be executed | ||
--env-id string Testkube Cloud environment id [required for cloud mode] | ||
-h, --help help for connect | ||
--minio-replicas int MinIO replicas | ||
--mongo-replicas int MongoDB replicas | ||
--name string installation name (usually you don't need to change it) (default "testkube") | ||
--namespace string namespace where to install (default "testkube") | ||
--no-confirm don't ask for confirmation - unatended installation mode | ||
--no-dashboard don't install dashboard | ||
--no-minio don't install MinIO | ||
--no-mongo don't install MongoDB | ||
--org-id string Testkube Cloud organization id [required for cloud mode] | ||
--values string path to Helm values file | ||
``` | ||
|
||
### Options inherited from parent commands | ||
|
||
``` | ||
-a, --api-uri string api uri, default value read from config if set (default "https://demo.testkube.io/results/v1") | ||
-c, --client string client used for connecting to Testkube API one of proxy|direct (default "proxy") | ||
--oauth-enabled enable oauth | ||
--verbose show additional debug messages | ||
``` | ||
|
||
### SEE ALSO | ||
|
||
* [testkube cloud](testkube_cloud.md) - Testkube Cloud commands | ||
|
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 |
---|---|---|
@@ -0,0 +1,39 @@ | ||
## testkube cloud disconnect | ||
|
||
Switch back to Testkube OSS mode, based on active .kube/config file | ||
|
||
``` | ||
testkube cloud disconnect [flags] | ||
``` | ||
|
||
### Options | ||
|
||
``` | ||
--chart string chart name (usually you don't need to change it) (default "kubeshop/testkube") | ||
--dashboard-replicas int Dashboard replicas (default 1) | ||
--dry-run dry run mode - only print commands that would be executed | ||
-h, --help help for disconnect | ||
--minio-replicas int MinIO replicas (default 1) | ||
--mongo-replicas int MongoDB replicas (default 1) | ||
--name string installation name (usually you don't need to change it) (default "testkube") | ||
--namespace string namespace where to install (default "testkube") | ||
--no-confirm don't ask for confirmation - unatended installation mode | ||
--no-dashboard don't install dashboard | ||
--no-minio don't install MinIO | ||
--no-mongo don't install MongoDB | ||
--values string path to Helm values file | ||
``` | ||
|
||
### Options inherited from parent commands | ||
|
||
``` | ||
-a, --api-uri string api uri, default value read from config if set (default "https://demo.testkube.io/results/v1") | ||
-c, --client string client used for connecting to Testkube API one of proxy|direct (default "proxy") | ||
--oauth-enabled enable oauth | ||
--verbose show additional debug messages | ||
``` | ||
|
||
### SEE ALSO | ||
|
||
* [testkube cloud](testkube_cloud.md) - Testkube Cloud commands | ||
|
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.