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
+37-19Lines changed: 37 additions & 19 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -17,16 +17,16 @@
17
17
18
18
# Overview
19
19
20
-
This repository provides the IBM Catalog Management Plug-in for IBM Cloud Paks via its github releases. The plugin streamlines the deployment of IBM CloudPaks in a disconnected environment which was done earlier using [cloudctl](https://github.com/IBM/cloud-pak-cli).
20
+
This repository provides the IBM Catalog Management Plug-in for IBM Cloud Paks via its github releases. The plugin streamlines the deployment of IBM Cloud Paks in a disconnected environment which was done earlier using [`cloudctl`](https://github.com/IBM/cloud-pak-cli).
1. Download the gzipped tar archive for your OS from the assets in [releases](https://github.com/IBM/ibm-pak/releases)
32
32
2. Download the corresponding `.sig` file for verification purposes
@@ -37,20 +37,20 @@ There are two ways to obtain the plugin
37
37
38
38
The plugin is also provided in a container image `cp.icr.io/cpopen/cpfs/ibm-pak:TAG` where `TAG` should be replaced with the corresponding plugin version, for example `cp.icr.io/cpopen/cpfs/ibm-pak:v1.18.1` will have `v1.18.1` of the plugin.
39
39
40
-
The following command will create a container and copy the plug-ins for all the supported platforms in a directory, `plugin-dir`. You can specify any directory name and it will be created while copying. After copying, it will delete the temporary container. The `plugin-dir` will have all the binaries and other artifacts you find in a Github release and repo at [IBM/ibm-pak](https://github.com/IBM/ibm-pak). For example,
40
+
The following command will create a container and copy the plug-ins for all the supported platforms in a directory, `plugin-dir`. You can specify any directory name and it will be created while copying. After copying, it will delete the temporary container. The `plugin-dir` will have all the binaries and other artifacts you find in a GitHub release and repo at [IBM/ibm-pak](https://github.com/IBM/ibm-pak). For example,
1. Extract the downloaded plugin and copy to executable PATH.
68
+
1. Extract the downloaded plugin from the archive.
69
+
2. Rename the extracted executable file to `oc-ibm_pak` (On Windows, name must be `oc-ibm_pak.exe`).
70
+
3. Move the `oc-ibm_pak` executable to a folder in your shell's `PATH` env var.
69
71
70
72
NOTE:
71
73
72
-
- While copying, the destination name must be `oc-ibm_pak` (On windows, name must be `oc-ibm_pak.exe`) and cannot be changed including the dash and the underscore. These special characters are used by the oc command to find and setup the plugin
73
-
- On Mac before copying oc-ibm_pak-darwin-amd64 to `/usr/local/bin/oc-ibm_pak` or any directory in your PATH, refer to [For macOS Catalina users](#for-macos-catalina-users)
74
+
- While copying, the destination name must be `oc-ibm_pak` (On Windows, name must be `oc-ibm_pak.exe`) and cannot be changed including the dash and the underscore. These special characters are used by the `oc` command to [find and setup the plugin](https://docs.redhat.com/en/documentation/openshift_container_platform/4.18/html/cli_tools/openshift-cli-oc#cli-extend-plugins).
75
+
- On Mac before copying `oc-ibm_pak-darwin-amd64` to `/usr/local/bin/oc-ibm_pak` or any directory in your PATH, refer to [For macOS Catalina users](#for-macos-catalina-users)
74
76
- If `/usr/local/bin` is not accessible then place it in an accessible folder and put that folder in PATH
75
-
- On windows, copy `oc-ibm_pak-windows-amd64` to `$HOME\AppData\Local\Microsoft\WindowsApps\oc-ibm_pak.exe` or any directory and add this path to PATH environment variable.
76
-
- See accompanying LICENSE file obtained on extracting for the allowed usage.
77
+
- On Windows, copy `oc-ibm_pak-windows-amd64` to `$HOME\AppData\Local\Microsoft\WindowsApps\oc-ibm_pak.exe` or any directory and add this path to PATH environment variable.
78
+
- See accompanying [`LICENSE`](LICENSE) file obtained on extracting for the allowed usage.
79
+
- Check that the plugin is found in the `PATH`, e.g. by running `which oc-ibm_pak` on Linux or macOS, or `where oc-ibm_pak` on Windows.
80
+
- Check that the plugin is installed correctly by running `oc plugin list`.
77
81
78
82
For example on Mac,
79
83
@@ -99,7 +103,7 @@ Information about plugin's available commands is described [in the doc](docs/com
99
103
100
104
## Installing your IBM Cloud Pak by mirroring Cloud Pak images to a private container registry
101
105
102
-
Steps are described [here](https://www.ibm.com/docs/en/cloud-paks/1.0?topic=plugin-installing-by-connected-disconnected-mirroring).
106
+
Steps are described in [IBM Cloud Paks documentation](https://www.ibm.com/docs/en/cloud-paks/1.0?topic=plugin-installing-by-connected-disconnected-mirroring).
103
107
For more information about available CASE names and versions, see [IBM: Product CASE to Application Version](https://ibm.github.io/cloud-pak/).
104
108
105
109
Starting with `v1.8.0`, the plug-in lays the foundation for eventual support for catalog-based mirroring. Information about catalog-based mirroring is described [in the doc](docs/catalog-mirroring.md). At this time, catalog-based mirroring and `oc-mirror` tool usage is a **_Tech Preview_** feature, which may not be supported by all products.
@@ -112,14 +116,28 @@ Users on macOS Catalina might be prompted that `oc-ibm_pak-darwin-amd64` is not
112
116
113
117
- Enable developer-mode for your terminal window, which will allow everything. Make sure you are OK with this approach:
114
118
- Open Terminal, and enter:
115
-
```console
116
-
❯ spctl developer-mode enable-terminal
119
+
120
+
```bash
121
+
spctl developer-mode enable-terminal
117
122
```
118
-
- Go to System Preferences -> Security & Privacy -> Privacy Tab -> Developer Tools -> Terminal : Enable
123
+
124
+
- Go to System Preferences → Security & Privacy → Privacy Tab → Developer Tools → Terminal : Enable
119
125
- Restart all terminals
120
126
121
-
_See https://support.apple.com/en-ca/HT202491 for more information_
127
+
_See <https://support.apple.com/en-ca/HT202491>for more information_
128
+
129
+
## Temporary folder
130
+
131
+
The plugin will download files to a temporary folder.
132
+
It uses the following folder locations, first non empty value will be used:
133
+
134
+
- `$TMPDIR`
135
+
- `$TEMP`
136
+
- `$TMP`
137
+
- `/tmp`, `C:\Windows\Temp` on Windows.
138
+
139
+
If, forsome reason there is not enough spacein the temporary folder, you can set the `TMPDIR` environment variable to a different location with more space.
122
140
123
141
## Support
124
142
125
-
To report an issue or get help please visit https://www.ibm.com/docs/en/cpfs?topic=support-opening-case
143
+
To report an issue or get help please visit <https://www.ibm.com/docs/en/cpfs?topic=support-opening-case>
0 commit comments