You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardexpand all lines: README.md
+20-11
Original file line number
Diff line number
Diff line change
@@ -28,16 +28,26 @@ orchent helps you as much as possible:
28
28
```
29
29
usage: orchent [<flags>] <command> [<args> ...]
30
30
31
-
The orchestrator client. Please store your access token in the 'ORCHENT_TOKEN' environment
32
-
variable: 'export ORCHENT_TOKEN=<your access token>'. If you need to specify the file
33
-
containing the trusted root CAs use the 'ORCHENT_CAFILE' environment variable:
34
-
'export ORCHENT_CAFILE=<path to file containing trusted CAs>'.
31
+
The orchestrator client.
32
+
33
+
34
+
35
+
Please either store your access token in 'ORCHENT_TOKEN' or set the account to use with oidc-agent in the 'ORCHENT_AGENT_ACCOUNT' and the socket of the oidc-agent in the 'OIDC_SOCK' environment variable:
36
+
37
+
export ORCHENT_TOKEN=<your access token>
38
+
OR
39
+
export OIDC_SOCK=<path to the oidc-agent socket> (usually this is already exported)
40
+
export ORCHENT_AGENT_ACCOUNT=<account to use>
41
+
42
+
If you need to specify the file containing the trusted root CAs use the 'ORCHENT_CAFILE' environment variable:
43
+
44
+
export ORCHENT_CAFILE=<path to file containing trusted CAs>
45
+
35
46
36
47
Flags:
37
48
--help Show context-sensitive help (also try --help-long and --help-man).
38
49
--version Show application version.
39
-
-u, --url=URL the base url of the orchestrator rest interface. Alternative the environment
40
-
variable 'ORCHENT_URL' can be used: 'export ORCHENT_URL=<the_url>'
50
+
-u, --url=URL the base url of the orchestrator rest interface. Alternative the environment variable 'ORCHENT_URL' can be used: 'export ORCHENT_URL=<the_url>'
41
51
42
52
Commands:
43
53
help [<command>...]
@@ -46,7 +56,7 @@ Commands:
46
56
depls [<flags>]
47
57
list deployments
48
58
49
-
depshow <uuid>
59
+
depshow [<flags>] <uuid>
50
60
show a specific deployment
51
61
52
62
depcreate [<flags>] <template> <parameter>
@@ -68,11 +78,10 @@ Commands:
68
78
show a specific resource of a given deployment
69
79
70
80
test
71
-
test if the given url is pointing to an orchestrator, please use this to ensure
72
-
there is no typo in the url.
73
-
74
-
81
+
test if the given url is pointing to an orchestrator, please use this to ensure there is no typo in the url.
75
82
83
+
showconf
84
+
list the endpoints used by the current orchestrator.
76
85
```
77
86
78
87
Before using the orchestrator with orchent you need to export your IAM access token:
Copy file name to clipboardexpand all lines: orchent.go
+86-34
Original file line number
Diff line number
Diff line change
@@ -30,8 +30,9 @@ var (
30
30
lsDepBefore=lsDep.Flag("before", "filter the deployments, they must be created before the given date/time, the format is YYYYMMDDHHMM").Short('b').String()
31
31
lsDepAfter=lsDep.Flag("after", "filter the deployments, they must be created after the given date/time, the format is YYYYMMDDHHMM").Short('a').String()
32
32
33
-
showDep=app.Command("depshow", "show a specific deployment")
34
-
showDepUuid=showDep.Arg("uuid", "the uuid of the deployment to display").Required().String()
33
+
showDep=app.Command("depshow", "show a specific deployment")
34
+
showDepUuid=showDep.Arg("uuid", "the uuid of the deployment to display").Required().String()
0 commit comments