1
0
mirror of https://github.com/openshift/openshift-docs.git synced 2026-02-06 06:46:26 +01:00
Files
openshift-docs/modules/customizing-cli-downloads.adoc

44 lines
1.1 KiB
Plaintext

// Module included in the following assemblies:
//
// * web_console/customizing-the-web-console.adoc
[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-for-foo
spec:
description: |
This is an example of download links for foo
displayName: example-foo
links:
- href: 'https://www.example.com/public/foo.tar'
text: foo for linux
- href: 'https://www.example.com/public/foo.mac.zip'
text: foo for mac
- href: 'https://www.example.com/public/foo.win.zip'
text: foo for windows
----
. Click the *Save* button.