Skip to content

Commit b6280f7

Browse files
committed
OSDOCS-5243 Adding CLI Manager docs
1 parent cb53b5e commit b6280f7

22 files changed

+372
-46
lines changed

_attributes/common-attributes.adoc

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -56,6 +56,7 @@ endif::[]
5656
:secondary-scheduler-operator-full: Secondary Scheduler Operator for Red Hat OpenShift
5757
:secondary-scheduler-operator: Secondary Scheduler Operator
5858
:descheduler-operator: Kube Descheduler Operator
59+
:cli-manager: CLI Manager Operator
5960
// Backup and restore
6061
:velero-domain: velero.io
6162
:velero-version: 1.14

_topic_maps/_topic_map.yml

Lines changed: 13 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -927,14 +927,24 @@ Topics:
927927
File: managing-cli-profiles
928928
- Name: Extending the OpenShift CLI with plugins
929929
File: extending-cli-plugins
930-
- Name: Managing CLI plugins with Krew
931-
File: managing-cli-plugins-krew
932-
Distros: openshift-enterprise,openshift-origin
933930
- Name: OpenShift CLI developer command reference
934931
File: developer-cli-commands
935932
- Name: OpenShift CLI administrator command reference
936933
File: administrator-cli-commands
937934
Distros: openshift-enterprise,openshift-origin
935+
- Name: OpenShift CLI Manager
936+
Dir: cli_manager
937+
Topics:
938+
- Name: OpenShift CLI Manager overview
939+
File: index
940+
- Name: OpenShift CLI Manager release notes
941+
File: cli-manager-release-notes
942+
- Name: Installing the Openshift CLI Manager
943+
File: cli-manager-install
944+
- Name: Using the OpenShift CLI Manager
945+
File: cli-manager-using
946+
- Name: Uninstalling the OpenShift CLI Manager
947+
File: cli-manager-uninstall
938948
- Name: Developer CLI (odo)
939949
File: odo-important-update
940950
# Dir: developer_cli_odo

cli_reference/cli_manager/_attributes

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1 @@
1+
../../_attributes
Lines changed: 22 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,22 @@
1+
:_mod-docs-content-type: ASSEMBLY
2+
[id="cli-manager-install"]
3+
= Installing the {cli-manager}
4+
include::_attributes/common-attributes.adoc[]
5+
:context: cli-manager-install
6+
7+
toc::[]
8+
9+
//Brief explanation of what the cli manager is.
10+
You can run the {cli-manager} in both connected and disconnected environments. In particular, it eases the installation and management of CLI plugins in disconnected environments. The {cli-manager} makes Krew compatible with the `oc` CLI. Cluster administrators can use the {cli-manager} to add CLI plugin custom resources that can then be accessed in both connected and disconnected environments. Cluster administrators install and configure the {cli-manager}, and users then add the custom index to Krew and add CLI plugins to the {cli-manager}.
11+
12+
:FeatureName: Using the {cli-manager} to install and manage plugins for the OpenShift CLI
13+
include::snippets/technology-preview.adoc[]
14+
15+
// Installing the {cli-manager}
16+
include::modules/cli-manager-installing.adoc[leveloffset=+1]
17+
18+
// Adding CLI Manager custom index to krew
19+
include::modules/cli-manager-custom-index-krew.adoc[leveloffset=+1]
20+
21+
// Adding CLI plugins with YAML files
22+
include::modules/cli-manager-adding-plugin-yaml.adoc[leveloffset=+1]
Lines changed: 32 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,32 @@
1+
:_mod-docs-content-type: ASSEMBLY
2+
[id="cli-manager-release-notes"]
3+
= {cli-manager} release notes
4+
include::_attributes/common-attributes.adoc[]
5+
:context: cli-manager-release-notes
6+
7+
toc::[]
8+
9+
With the {cli-manager}, you can install CLI plugins in both connected and disconnected environments.
10+
11+
:FeatureName: Using the {cli-manager} to install and manage plugins for the OpenShift CLI
12+
include::snippets/technology-preview.adoc[]
13+
14+
These release notes track the development of the {cli-manager} for {product-title}.
15+
16+
For more information about the {cli-manager}, see xref:../../cli_reference/cli_manager/index.adoc#cli-manager-overview[About the {cli-manager}].
17+
18+
[id="cli-manager-release-notes-0-1-0_{context}"]
19+
== {cli-manager} 0.1.0 (Technology Preview)
20+
21+
Issued: 19 November 2024
22+
23+
The following advisory is available for the {cli-manager} 0.1.0:
24+
25+
* link:https://access.redhat.com/errata/RHEA-2024:8303[RHEA-2024:8303]
26+
27+
[id="cli-manager-0-1-0-new-features-and-enhancements_{context}"]
28+
=== New features and enhancements
29+
30+
* This version is the initial Technology Preview release of the {cli-manager}. For installation information, see xref:../../cli_reference/cli_manager/cli-manager-install.adoc#cli-manager-install[Installing the {cli-manager}].
31+
32+
//* No bug fixes or known issues to list
Lines changed: 18 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,18 @@
1+
:_content-type: ASSEMBLY
2+
[id="cli-manager-uninstall"]
3+
= Uninstalling the {cli-manager}
4+
include::_attributes/common-attributes.adoc[]
5+
:context: cli-manager-uninstall
6+
7+
toc::[]
8+
9+
You can remove the {cli-manager} from {product-title} by uninstalling the {cli-manager} and removing its related resources.
10+
11+
:FeatureName: Using the {cli-manager} to install and manage plugins for the OpenShift CLI
12+
include::snippets/technology-preview.adoc[]
13+
14+
// Uninstalling the {cli-manager}
15+
include::modules/cli-manager-uninstalling.adoc[leveloffset=+1]
16+
17+
// Uninstalling the related resources
18+
include::modules/cli-manager-remove-resources.adoc[leveloffset=+1]
Lines changed: 21 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,21 @@
1+
:_mod-docs-content-type: ASSEMBLY
2+
[id="cli-manager-using"]
3+
= Using the {cli-manager}
4+
include::_attributes/common-attributes.adoc[]
5+
:context: cli-manager-using
6+
7+
toc::[]
8+
9+
After the cluster administrator sets up and configures the {cli-manager}, users can use it to install, update, and uninstall CLI plugins.
10+
11+
:FeatureName: Using the {cli-manager} to install and manage plugins for the OpenShift CLI
12+
include::snippets/technology-preview.adoc[]
13+
14+
// Installing a CLI plugin with the CLI Manager
15+
include::modules/cli-manager-installing-plugins.adoc[leveloffset=+1]
16+
17+
// Updating a cli plugin with the CLI Manager
18+
include::modules/cli-manager-updating-plugin.adoc[leveloffset=+1]
19+
20+
// Uninstalling a CLI plugin with the CLI Manager
21+
include::modules/cli-manager-uninstall-plugin.adoc[leveloffset=+1]

cli_reference/cli_manager/images

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1 @@
1+
../../images

cli_reference/cli_manager/index.adoc

Lines changed: 13 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,13 @@
1+
:_mod-docs-content-type: ASSEMBLY
2+
[id="cli-manager-overview"]
3+
= {cli-manager} overview
4+
include::_attributes/common-attributes.adoc[]
5+
:context: cli-manager-overview
6+
7+
toc::[]
8+
9+
:FeatureName: Using the {cli-manager} to install and manage plugins for the OpenShift CLI
10+
include::snippets/technology-preview.adoc[]
11+
12+
// About the CLI Manager
13+
include::modules/cli-manager-about.adoc[leveloffset=+1]

cli_reference/cli_manager/modules

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1 @@
1+
../../modules

0 commit comments

Comments
 (0)