Run the bootstrap chart with the following command: helm install \
--name=bootstrap extractedFolder/microservices_connections/hybridcloud/helmbuilds/bootstrap-0.1.0-20190328-022033.tgz
\
--set \
image.repository=Docker_registry/connections,\
env.set_ic_admin_user=ic_admin_username,\
env.set_ic_admin_password=ic_admin_password,\
env.set_ic_internal=ic_internal,\
env.set_master_ip=master_ip,\
env.set_elasticsearch_ca_password=es_ca_password,\
env.set_elasticsearch_key_password=es_key_password,\
env.set_redis_secret=redis_secret_password,\
env.set_search_secret=search_secret_password,\
env.set_solr_secret=solr_secret_password,\
env.set_starter_stack_list=starter_stack_list,\
env.skip_configure_redis=true/false
Table 1 describes the variables used in the command.
Table 1. Helm values to include in the bootstrap command| Helm values |
Description |
| image.repository |
Required. The name of the Docker registry where you pushed the Docker images for deploying
the Component Pack (including the port if applicable). |
| env.set_ic_admin_user |
Required. The username of the Connections Administrator account, which is also the WebSphere® Application Server administrator account. |
| env.set_ic_admin_password |
Required. The password for the Connections Administrator account, which is also the WebSphere Application Server administrator account. |
| env.set_ic_internal |
Required for Orient Me. The FQDN of your IBM Connections HTTP server, used for configuring
Redis. If you do not deploy Orient Me, you can omit this setting. |
| env.set_master_ip |
Required for Orient Me. The IP address of the Kubernetes master node -- if using HA, this
will be the master node's virtual IP. |
| env.set_elasticsearch_ca_password |
Minimum of 6 characters. Set the Elasticsearch CA password. If you omit this entry, the
password will be generated for you. |
| env.set_elasticsearch_key_password |
Minimum of 6 characters. Set the Elasticsearch Key password. If you omit this entry, the
password will be generated for you. |
| env.set_redis_secret |
Minimum of 6 characters. Set the Redis secret. If you omit this entry, the password will be
generated for you. |
| env.set_search_secret |
Minimum of 6 characters. Set the search secret. If you omit this entry, the password will be
generated for you. |
| env.set_solr_secret |
Minimum of 6 characters. Set the Solr secret. If you omit this entry, the password will be
generated for you. |
| env.skip_configure_redis |
If you want to skip the Redis configuration, set this variable to true;
otherwise you can omit it because it defaults to false.Note: Redis is required for
Orient Me, so only skip the Redis configuration it if you do not plan to deploy Orient Me. If you
later deploy Orient Me, you can either run the bootstrap install again, or configure Redis manually
as explained in Manually configuring Redis traffic to Orient Me.
|
| env.set_starter_stack_list |
If you don't want to deploy all of the components, you can specify the ones you want as a
space-delimited list enclosed in quotation marks. Options are:- customizer
- elasticsearch
- orientme
For
example: env.set_starter_stack_list="elasticsearch customizer"
|
Table 2 describes other optional helm values.
Table 2. Optional helm values| Setting |
Description |
| namespace |
The name of the namespace to bootstrap. If not specified, the connections namespace is
used. |
| env.force_regenerate |
By default, this is set to false, meaning the bootstrap will not remove any secrets or
certificates if it has detected that there is a service using them. Set this value to true if you
want to force regenerate them. |
By default, the service secret and certificate passwords are randomly generated by the bootstrap
Helm chart. It is highly recommended to use environment variables to set these passwords manually
for use with the bootstrap Helm chart, because you will require some of them when configuring the
services with the IBM Connections
WebSphere stack. All passwords must be at least 6
characters in length.
If you omit the passwords and later want to view the ones that were generated for you, retrieve
them by running the following command, where
secret_name indicates which password
you want to
see:
kubectl get secret secret_name -n connections -o yaml
The password displays as a base64-encoded string. You can convert it to plain text by running the
following command, where
encoded_password is the value of the generated password
in base64
encoding.
echo encoded_password | base64 --decode