1
0
mirror of https://github.com/openshift/openshift-docs.git synced 2026-02-05 12:46:18 +01:00
Files
openshift-docs/modules/customizing-cli-downloads.adoc
2023-11-17 14:23:23 +00:00

45 lines
1.1 KiB
Plaintext

// Module included in the following assemblies:
//
// * web_console/customizing-the-web-console.adoc
:_mod-docs-content-type: PROCEDURE
[id="creating-custom-CLI-downloads_{context}"]
= Customizing CLI downloads
You can configure links for downloading the CLI with custom link text and URLs,
which can point directly to file packages or to an external page that provides
the packages.
.Prerequisites
* You must have administrator privileges.
.Procedure
. Navigate to *Administration* -> *Custom Resource Definitions*.
. Select *ConsoleCLIDownload* from the list of Custom Resource Definitions (CRDs).
. Click the *YAML* tab, and then make your edits:
+
[source,yaml]
----
apiVersion: console.openshift.io/v1
kind: ConsoleCLIDownload
metadata:
name: example-cli-download-links
spec:
description: |
This is an example of download links
displayName: example
links:
- href: 'https://www.example.com/public/example.tar'
text: example for linux
- href: 'https://www.example.com/public/example.mac.zip'
text: example for mac
- href: 'https://www.example.com/public/example.win.zip'
text: example for windows
----
. Click the *Save* button.