Book a Demo!
CoCalc Logo Icon
StoreFeaturesDocsShareSupportNewsAboutPoliciesSign UpSign In
CloudPak-Outcomes
GitHub Repository: CloudPak-Outcomes/Outcomes-Projects
Path: blob/main/L4assets/DSandMLOpsAssets/Installation/Software-Hub-5.2/cpd_vars.sh
1928 views
1
#===============================================================================
2
# IBM Software Hub installation variables
3
#===============================================================================
4
5
# ------------------------------------------------------------------------------
6
# Client workstation
7
# ------------------------------------------------------------------------------
8
# Set the following variables if you want to override the default behavior of the IBM Software Hub CLI.
9
#
10
# To export these variables, you must uncomment each command in this section.
11
12
# export CPD_CLI_MANAGE_WORKSPACE=<enter a fully qualified directory>
13
# export OLM_UTILS_LAUNCH_ARGS=<enter launch arguments>
14
15
16
# ------------------------------------------------------------------------------
17
# Cluster
18
# ------------------------------------------------------------------------------
19
20
export OCP_URL=<Enter your own value>
21
export OPENSHIFT_TYPE=self-managed
22
export IMAGE_ARCH=amd64
23
export OCP_USERNAME=<Enter your own value>
24
export OCP_PASSWORD=<Enter your own value>
25
# export OCP_TOKEN=<enter your token>
26
export SERVER_ARGUMENTS="--server=${OCP_URL}"
27
export LOGIN_ARGUMENTS="--username=${OCP_USERNAME} --password=${OCP_PASSWORD}"
28
# export LOGIN_ARGUMENTS="--token=${OCP_TOKEN}"
29
export CPDM_OC_LOGIN="cpd-cli manage login-to-ocp ${SERVER_ARGUMENTS} ${LOGIN_ARGUMENTS}"
30
export OC_LOGIN="oc login ${SERVER_ARGUMENTS} ${LOGIN_ARGUMENTS}"
31
32
33
# ------------------------------------------------------------------------------
34
# Proxy server
35
# ------------------------------------------------------------------------------
36
37
# export PROXY_HOST=<enter your proxy server hostname>
38
# export PROXY_PORT=<enter your proxy server port number>
39
# export PROXY_USER=<enter your proxy server username>
40
# export PROXY_PASSWORD=<enter your proxy server password>
41
# export NO_PROXY_LIST=<a comma-separated list of domain names>
42
43
44
# ------------------------------------------------------------------------------
45
# Projects
46
# ------------------------------------------------------------------------------
47
48
export PROJECT_CERT_MANAGER=ibm-cert-manager
49
export PROJECT_LICENSE_SERVICE=ibm-licensing
50
export PROJECT_SCHEDULING_SERVICE=ibm-cpd-scheduler
51
# export PROJECT_IBM_EVENTS=<enter your IBM Events Operator project>
52
export PROJECT_PRIVILEGED_MONITORING_SERVICE=ibm-cpd-privileged
53
export PROJECT_CPD_INST_OPERATORS=softwarehub-operators
54
export PROJECT_CPD_INST_OPERANDS=softwarehub-services
55
# export PROJECT_CPD_INSTANCE_TETHERED=<enter your tethered project>
56
# export PROJECT_CPD_INSTANCE_TETHERED_LIST=<a comma-separated list of tethered projects>
57
58
59
60
# ------------------------------------------------------------------------------
61
# Storage
62
# ------------------------------------------------------------------------------
63
64
export STG_CLASS_BLOCK=ocs-storagecluster-ceph-rbd
65
export STG_CLASS_FILE=ocs-storagecluster-cephfs
66
67
# ------------------------------------------------------------------------------
68
# IBM Entitled Registry
69
# ------------------------------------------------------------------------------
70
71
export IBM_ENTITLEMENT_KEY=<Enter your IBM entitlement API key>
72
73
74
# ------------------------------------------------------------------------------
75
# Private container registry
76
# ------------------------------------------------------------------------------
77
# Set the following variables if you mirror images to a private container registry.
78
#
79
# To export these variables, you must uncomment each command in this section.
80
81
# export PRIVATE_REGISTRY_LOCATION=<enter the location of your private container registry>
82
# export PRIVATE_REGISTRY_PUSH_USER=<enter the username of a user that can push to the registry>
83
# export PRIVATE_REGISTRY_PUSH_PASSWORD=<enter the password of the user that can push to the registry>
84
# export PRIVATE_REGISTRY_PULL_USER=<enter the username of a user that can pull from the registry>
85
# export PRIVATE_REGISTRY_PULL_PASSWORD=<enter the password of the user that can pull from the registry>
86
87
88
# ------------------------------------------------------------------------------
89
# IBM Software Hub version
90
# ------------------------------------------------------------------------------
91
92
export VERSION=5.2.0
93
94
95
# ------------------------------------------------------------------------------
96
# Components
97
# ------------------------------------------------------------------------------
98
99
export COMPONENTS=ibm-licensing,scheduler,cpfs,cpd_platform
100
# export COMPONENTS_TO_SKIP=<component-ID-1>,<component-ID-2>
101
# export IMAGE_GROUPS=<image-group-1>,<image-group-2>
102
103