Test Endpoint Setup - Part Two
The article is a continuation of Part One, and describes obtaining a Hopr Sidecar image, license, and MAID volume
Image Pull Secret
Upon onboarding with hopr, two customer-specific items are provided. One of which is access to the hopr Container Repository
The container repository access comes in the form of a Docker configuration file, as that format is used for both direct access via Docker pull and a Kubernetes image pull secret.
The config.json format is shown below, and contains plaintext user and password information. As such, IT IS EXTREMELY IMPORTANT THAT THIS FILE BE PROTECTED!
The auth field is a Base64 representation of basic authentication, as shown below.
The config.json file can be Base64 encoded and inserted into the hopr-test.yaml file in the hopr-registrycreds section.
Hopr License
Upon onboarding with Hopr, two customer-specific items are provided. One of these items is a license for enabled products, options, and time period.
The Hopr license is provided in both file (hopr.lic) and Base64 form. The onboarding communication should look similar to what is shown below:
The key and Base64 encoded file, shown as the last line above, are entered as string data into the hopr-test.yaml file in the hopr-license section.
MAID Volume
The Machine Alias Identifier (MAID) feature of XTRA requires persistent storage in order to ensure that the workload identity follows the pod if it migrates to another node or otherwise restarts. The storage requirements are very low, so 1 Mebibit (or the minimum your storage class can provide, if larger) should be plenty.