uffizzi-cli 2.3.3 → 2.4.0
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/README.md +2 -170
- data/lib/uffizzi/cli/cluster.rb +43 -28
- data/lib/uffizzi/cli/dev.rb +1 -1
- data/lib/uffizzi/cli/install.rb +252 -0
- data/lib/uffizzi/cli/status.rb +43 -0
- data/lib/uffizzi/cli/uninstall.rb +98 -0
- data/lib/uffizzi/cli.rb +12 -0
- data/lib/uffizzi/clients/api/api_client.rb +35 -0
- data/lib/uffizzi/clients/api/api_routes.rb +12 -0
- data/lib/uffizzi/services/cluster_service.rb +32 -28
- data/lib/uffizzi/services/install_service.rb +153 -0
- data/lib/uffizzi/services/preview_service.rb +3 -1
- data/lib/uffizzi/version.rb +1 -1
- data/man/uffizzi +1 -1
- data/man/uffizzi-cluster +7 -1
- data/man/uffizzi-cluster-create +1 -1
- data/man/uffizzi-cluster-delete +1 -1
- data/man/uffizzi-cluster-disconnect +1 -1
- data/man/uffizzi-cluster-sleep +39 -0
- data/man/uffizzi-cluster-update-kubeconfig.ronn +10 -3
- data/man/uffizzi-cluster-wake +37 -0
- data/man/uffizzi-dev +1 -1
- data/man/uffizzi-dev-delete +33 -0
- data/man/uffizzi-dev-describe +2 -8
- data/man/uffizzi-dev-ingress +1 -1
- data/man/uffizzi-dev-ingress-open +1 -1
- data/man/uffizzi-dev-start +1 -14
- data/man/uffizzi-dev-stop +6 -18
- data/man/uffizzi-install +57 -0
- data/man/uffizzi-install.ronn +52 -0
- data/man/uffizzi-login +1 -1
- metadata +11 -2
data/man/uffizzi-dev-describe
CHANGED
@@ -1,13 +1,13 @@
|
|
1
1
|
.\" generated with Ronn-NG/v0.9.1
|
2
2
|
.\" http://github.com/apjanke/ronn-ng/tree/0.9.1
|
3
|
-
.TH "UFFIZZI\-DEV\-DESCRIBE" "" "
|
3
|
+
.TH "UFFIZZI\-DEV\-DESCRIBE" "" "November 2023" ""
|
4
4
|
.SH "NAME"
|
5
5
|
\fBuffizzi\-dev\-describe\fR
|
6
6
|
.P
|
7
7
|
$ uffizzi dev describe \-h uffizzi\-dev\-describe \- show metadata for a dev environment ================================================================
|
8
8
|
.SH "SYNOPSIS"
|
9
9
|
.nf
|
10
|
-
uffizzi dev describe
|
10
|
+
uffizzi dev describe
|
11
11
|
.fi
|
12
12
|
.SH "DESCRIPTION"
|
13
13
|
.nf
|
@@ -20,12 +20,6 @@ This command can fail for the following reasons:
|
|
20
20
|
For more information on Uffizzi clusters, see:
|
21
21
|
https://docs\.uffizzi\.com/references/cli/
|
22
22
|
.fi
|
23
|
-
.SH "POSITIONAL ARGUMENTS"
|
24
|
-
.nf
|
25
|
-
[NAME]
|
26
|
-
NAME for the dev environment you want to describe\.
|
27
|
-
This is an optional argument\.
|
28
|
-
.fi
|
29
23
|
.SH "EXAMPLES"
|
30
24
|
.nf
|
31
25
|
The following command prints metadata for the dev
|
data/man/uffizzi-dev-ingress
CHANGED
data/man/uffizzi-dev-start
CHANGED
@@ -1,6 +1,6 @@
|
|
1
1
|
.\" generated with Ronn-NG/v0.9.1
|
2
2
|
.\" http://github.com/apjanke/ronn-ng/tree/0.9.1
|
3
|
-
.TH "UFFIZZI\-DEV\-START" "" "
|
3
|
+
.TH "UFFIZZI\-DEV\-START" "" "November 2023" ""
|
4
4
|
.SH "NAME"
|
5
5
|
\fBuffizzi\-dev\-start\fR \- start a development environment
|
6
6
|
.SH "SYNOPSIS"
|
@@ -24,8 +24,6 @@ path CONFIG_FILE\. Skaffold configurations are currently
|
|
24
24
|
supported\. For help creating a skaffold\.yaml file, see:
|
25
25
|
https://skaffold\.dev/docs/init/
|
26
26
|
|
27
|
-
If a kubeconfig exists
|
28
|
-
|
29
27
|
For more information on Uffizzi clusters, see:
|
30
28
|
https://docs\.uffizzi\.com/references/cli/
|
31
29
|
.fi
|
@@ -80,17 +78,6 @@ run:
|
|
80
78
|
|
81
79
|
$ uffizzi dev start \-\-quiet
|
82
80
|
|
83
|
-
To push your build artifacts to a private Docker Hub repo
|
84
|
-
called \'acme/foo\', first add your Docker Hub credentials:
|
85
|
-
|
86
|
-
$ uffizzi connect docker\-hub
|
87
|
-
(See `uffizzi connect \-h` for other registry options)
|
88
|
-
|
89
|
-
\|\.\|\.\|\.then override the default repo:
|
90
|
-
|
91
|
-
$ uffizzi dev start \e
|
92
|
-
\-\-default\-repo="hub\.docker\.com/acme/foo"
|
93
|
-
|
94
81
|
To start a dev environment using an alternate kubeconfig file,
|
95
82
|
run:
|
96
83
|
|
data/man/uffizzi-dev-stop
CHANGED
@@ -1,6 +1,6 @@
|
|
1
1
|
.\" generated with Ronn-NG/v0.9.1
|
2
2
|
.\" http://github.com/apjanke/ronn-ng/tree/0.9.1
|
3
|
-
.TH "UFFIZZI\-DEV\-STOP" "" "
|
3
|
+
.TH "UFFIZZI\-DEV\-STOP" "" "November 2023" ""
|
4
4
|
.SH "NAME"
|
5
5
|
\fBuffizzi\-dev\-stop\fR \- stop a development environment
|
6
6
|
.SH "SYNOPSIS"
|
@@ -9,23 +9,11 @@ uffizzi dev stop
|
|
9
9
|
.fi
|
10
10
|
.SH "DESCRIPTION"
|
11
11
|
.nf
|
12
|
-
Stops
|
13
|
-
|
14
|
-
|
15
|
-
|
16
|
-
|
17
|
-
This command watches for file changes in a given local
|
18
|
-
project directory, as specified in your configuration file\.
|
19
|
-
It then serializes those changes and redeploys them onto
|
20
|
-
a Uffizzi cluster\.
|
21
|
-
|
22
|
-
The command looks for a configuration at the specified
|
23
|
-
path CONFIG_FILE\. Skaffold configurations are currently
|
24
|
-
supported\. For help creating a skaffold\.yaml file, see:
|
25
|
-
https://skaffold\.dev/docs/init/
|
26
|
-
|
27
|
-
For more information on Uffizzi clusters, see:
|
28
|
-
https://docs\.uffizzi\.com/references/cli/
|
12
|
+
Stops the skaffold process for the dev environment\.
|
13
|
+
This command does not delete the dev cluster or any
|
14
|
+
associated resources\. You can restart the dev environment
|
15
|
+
with `uffizzi dev start`\. To delete the dev cluster entirely, see
|
16
|
+
`uffizzi dev delete`\.
|
29
17
|
.fi
|
30
18
|
.SH "FLAGS"
|
31
19
|
.nf
|
data/man/uffizzi-install
ADDED
@@ -0,0 +1,57 @@
|
|
1
|
+
.\" generated with Ronn-NG/v0.9.1
|
2
|
+
.\" http://github.com/apjanke/ronn-ng/tree/0.9.1
|
3
|
+
.TH "UFFIZZI\-INSTALL" "" "November 2023" ""
|
4
|
+
.SH "NAME"
|
5
|
+
\fBuffizzi\-install\fR
|
6
|
+
.P
|
7
|
+
$ uffizzi install help uffizzi\-install \- install the uffizzi platform ================================================================
|
8
|
+
.SH "SYNOPSIS"
|
9
|
+
.nf
|
10
|
+
uffizzi install [HOSTNAME]
|
11
|
+
.fi
|
12
|
+
.SH "DESCRIPTION"
|
13
|
+
.nf
|
14
|
+
Install the Uffizzi platform on a host cluster\. By default, this command uses your
|
15
|
+
kubeconfig current context as the host\.
|
16
|
+
|
17
|
+
The output of this command is an IP address or hostname where your instance of
|
18
|
+
the Uffizzi controller service is available\. Uffizzi expects this service to be publicly
|
19
|
+
available at the specified HOSTNAME\. Before you can create Uffizzi environments
|
20
|
+
on your installation, be sure to configure your DNS to point HOSTNAME to the IP
|
21
|
+
or hostname output by this command\.
|
22
|
+
|
23
|
+
If you\'re looking for an air\-gapped or local installation of Uffizzi, please contact
|
24
|
+
sales@uffizzi\.com or try the open\-source version (docs\.uffizzi\.com/open\-source)\.
|
25
|
+
|
26
|
+
EMAIL is a business email, required for letsencrypt cert authority\.
|
27
|
+
|
28
|
+
For more information on the Uffizzi installation process, see:
|
29
|
+
https://docs\.uffizzi\.com/cli/commands/install
|
30
|
+
.fi
|
31
|
+
.SH "FLAGS"
|
32
|
+
.nf
|
33
|
+
\-\-email
|
34
|
+
A business email required for letsencrypt
|
35
|
+
|
36
|
+
\-\-context
|
37
|
+
The name of the kubeconfig context to use
|
38
|
+
|
39
|
+
\-\-namespace
|
40
|
+
The namespace where Uffizzi platform will be installed
|
41
|
+
|
42
|
+
\-\-help
|
43
|
+
Display this help page and exit
|
44
|
+
.fi
|
45
|
+
.SH "EXAMPLES"
|
46
|
+
.nf
|
47
|
+
To install Uffizzi using the current context at hostname
|
48
|
+
\'uffizzi\.example\.com\', run:
|
49
|
+
|
50
|
+
$ uffizzi install uffizzi\.example\.com \-\-email="jdoe@example\.com"
|
51
|
+
|
52
|
+
To install Uffizzi using context \'foo\' and namespace \'bar\', run:
|
53
|
+
|
54
|
+
$ uffizzi install uffizzi\.example\.com \-\-email="jdoe@example\.com" \e
|
55
|
+
\-\-context=\'foo\' \-\-namespace=\'bar\'
|
56
|
+
.fi
|
57
|
+
|
@@ -0,0 +1,52 @@
|
|
1
|
+
$ uffizzi -h
|
2
|
+
uffizzi - manage Uffizzi resources
|
3
|
+
================================================================
|
4
|
+
|
5
|
+
## SYNOPSIS
|
6
|
+
uffizzi GROUP | COMMAND
|
7
|
+
|
8
|
+
## DESCRIPTION
|
9
|
+
The uffizzi CLI manages authentication, configuration, and
|
10
|
+
interaction with Uffizzi APIs.
|
11
|
+
|
12
|
+
For more information on the uffizzi CLI, see:
|
13
|
+
https://docs.uffizzi.com/references/cli/
|
14
|
+
|
15
|
+
## GROUP
|
16
|
+
GROUP is one of the following:
|
17
|
+
cluster
|
18
|
+
Manage virtual clusters
|
19
|
+
|
20
|
+
config
|
21
|
+
Configure the uffizzi CLI
|
22
|
+
|
23
|
+
connect
|
24
|
+
Grant a Uffizzi user account access to external services
|
25
|
+
|
26
|
+
compose
|
27
|
+
Manage Uffizzi compose environments (previews) and view logs
|
28
|
+
|
29
|
+
dev
|
30
|
+
Creates a Uffizzi cluster preconfigured for development workflows
|
31
|
+
|
32
|
+
install
|
33
|
+
Install the Uffizzi platform data plane on a host cluster.
|
34
|
+
|
35
|
+
project
|
36
|
+
Manage Uffizzi project resources including compose files for
|
37
|
+
specifying compose environment (preview) configurations and secrets
|
38
|
+
|
39
|
+
## COMMAND
|
40
|
+
COMMAND is one of the following:
|
41
|
+
|
42
|
+
help
|
43
|
+
Show uffizzi documentation
|
44
|
+
|
45
|
+
login
|
46
|
+
Log in to a Uffizzi user account
|
47
|
+
|
48
|
+
logout
|
49
|
+
Log out of a Uffizzi user account
|
50
|
+
|
51
|
+
version
|
52
|
+
Print version information for uffizzi CLI
|
data/man/uffizzi-login
CHANGED
@@ -1,6 +1,6 @@
|
|
1
1
|
.\" generated with Ronn-NG/v0.9.1
|
2
2
|
.\" http://github.com/apjanke/ronn-ng/tree/0.9.1
|
3
|
-
.TH "UFFIZZI\-LOGIN" "" "
|
3
|
+
.TH "UFFIZZI\-LOGIN" "" "November 2023" ""
|
4
4
|
.SH "NAME"
|
5
5
|
\fBuffizzi\-login\fR \- login to Uffizzi to view and manage your previews\.
|
6
6
|
.SH "SYNOPSIS"
|
metadata
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: uffizzi-cli
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 2.
|
4
|
+
version: 2.4.0
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- Josh Thurman
|
@@ -9,7 +9,7 @@ authors:
|
|
9
9
|
autorequire:
|
10
10
|
bindir: exe
|
11
11
|
cert_chain: []
|
12
|
-
date: 2023-
|
12
|
+
date: 2023-12-18 00:00:00.000000000 Z
|
13
13
|
dependencies:
|
14
14
|
- !ruby/object:Gem::Dependency
|
15
15
|
name: activesupport
|
@@ -426,6 +426,7 @@ files:
|
|
426
426
|
- lib/uffizzi/cli/dev.rb
|
427
427
|
- lib/uffizzi/cli/dev/ingress.rb
|
428
428
|
- lib/uffizzi/cli/disconnect.rb
|
429
|
+
- lib/uffizzi/cli/install.rb
|
429
430
|
- lib/uffizzi/cli/login.rb
|
430
431
|
- lib/uffizzi/cli/login_by_identity_token.rb
|
431
432
|
- lib/uffizzi/cli/logout.rb
|
@@ -434,6 +435,8 @@ files:
|
|
434
435
|
- lib/uffizzi/cli/project.rb
|
435
436
|
- lib/uffizzi/cli/project/compose.rb
|
436
437
|
- lib/uffizzi/cli/project/secret.rb
|
438
|
+
- lib/uffizzi/cli/status.rb
|
439
|
+
- lib/uffizzi/cli/uninstall.rb
|
437
440
|
- lib/uffizzi/clients/api/api_client.rb
|
438
441
|
- lib/uffizzi/clients/api/api_routes.rb
|
439
442
|
- lib/uffizzi/clients/api/http_client.rb
|
@@ -458,6 +461,7 @@ files:
|
|
458
461
|
- lib/uffizzi/services/dev_service.rb
|
459
462
|
- lib/uffizzi/services/env_variables_service.rb
|
460
463
|
- lib/uffizzi/services/github_service.rb
|
464
|
+
- lib/uffizzi/services/install_service.rb
|
461
465
|
- lib/uffizzi/services/kubeconfig_service.rb
|
462
466
|
- lib/uffizzi/services/preview_service.rb
|
463
467
|
- lib/uffizzi/services/project_service.rb
|
@@ -486,9 +490,11 @@ files:
|
|
486
490
|
- man/uffizzi-cluster-disconnect.ronn
|
487
491
|
- man/uffizzi-cluster-list
|
488
492
|
- man/uffizzi-cluster-list.ronn
|
493
|
+
- man/uffizzi-cluster-sleep
|
489
494
|
- man/uffizzi-cluster-sleep.ronn
|
490
495
|
- man/uffizzi-cluster-update-kubeconfig
|
491
496
|
- man/uffizzi-cluster-update-kubeconfig.ronn
|
497
|
+
- man/uffizzi-cluster-wake
|
492
498
|
- man/uffizzi-cluster-wake.ronn
|
493
499
|
- man/uffizzi-cluster.ronn
|
494
500
|
- man/uffizzi-compose
|
@@ -528,6 +534,7 @@ files:
|
|
528
534
|
- man/uffizzi-connect-ghcr.ronn
|
529
535
|
- man/uffizzi-connect.ronn
|
530
536
|
- man/uffizzi-dev
|
537
|
+
- man/uffizzi-dev-delete
|
531
538
|
- man/uffizzi-dev-delete.ronn
|
532
539
|
- man/uffizzi-dev-describe
|
533
540
|
- man/uffizzi-dev-describe.ronn
|
@@ -542,6 +549,8 @@ files:
|
|
542
549
|
- man/uffizzi-dev.ronn
|
543
550
|
- man/uffizzi-disconnect
|
544
551
|
- man/uffizzi-disconnect.ronn
|
552
|
+
- man/uffizzi-install
|
553
|
+
- man/uffizzi-install.ronn
|
545
554
|
- man/uffizzi-login
|
546
555
|
- man/uffizzi-login-by-identity-token
|
547
556
|
- man/uffizzi-login-by-identity-token.html
|