...
Table of Contents | ||||
---|---|---|---|---|
|
Preparations
Please prepare your infrastructur as described in https://smartfacts.atlassian.net/wiki/spaces/SPD/pages/57180191/Installing+Smartfacts+in+Production#Prepare-your-infrastructure.
Prepare Deployment
Add MID Repository
You will need a username and password to download the helm chart and containers from MID's repository. You will receive username and password from your MID contact or from cops@mid.de.
...
Code Block |
---|
sudo helm repo update |
Provide Certificates and Key as Base64 String
Prerequisite: The complete certificate chain is in a file as base64-encoded x509 certificates. The certificates are contained in the file in the correct order (server certificate at the top, root certificate at the bottom). See Section “Certificates” above in this article.
...
Code Block |
---|
cat <your certificate key.key> | base64 -w0 > key.base64 |
Customize Values File
Change to your user's home directory on the server and create a new text file values.yaml
with the following content:
Code Block |
---|
global: domain: "<your-domain>" instance: "smartfacts" registry: "repo.mid.de" repologin: <login provided by MID> cert: crtFullChain: "<FULL-CHAIN-CERT-BASE64>" key: "<CERT-KEY-BASE64>" ingress: enabled: true # if you use nginx as ingress controller please comment in this line: #ingressClassType: "nginx" env: genoslc: tool: type: "" # insert "CB" for Codebeamer or "JA" for Jama url: "" ldap: # The url of the ldap server url: #TODO # The base DN of the ldap base_dn: #TODO # Group search base g_search_base: #TODO # User search base u_search_base: #TODO # The ldap filter, which reduces the results to the relevant users and groups search_filter: #TODO # The read only user accessing the ldap user: #TODO # The password of the read-only user accessing the ldap. password: #TODO # The following section contains the mapping of the ldif attributes in your ldap to the attributes in Smartfacts. # The default values stated in the comments are the valid values for an openldap. # The values stated in the active fields (not out commented) are the correct values for an Active directory. # TODO: Please adopt the values, so that they fit to your ldap / Active directory instance. ldif_attributes: # The field for the unique id of an object. Default: "entryUUID" uniqueid: "objectGUID" # Classname of the group object. Default: "groupOfNames" classname_group: "group" # Classname of the user object. Default: "person" #classname_user: "person" # The field for the NameID of users. Default: "cn" user_nameid: "sAMAccountName" # The field for the given name of a user. Default: "givenName" #user_first_name: "givenName" # The field for the last name of a user. Default: "sn" #user_last_name: "sn" # The field for the title of a user. Default: "title" #user_title: "title" # The field for the email of a user. Default: "mail" #user_mail: "mail" # The field for the telephone number of a user. Default: "telephoneNumber" #user_phone: "telephoneNumber" # The field for the thumbnail photo of a user. Default: "thumbnailPhoto" #user_photo: "thumbnailPhoto" # The field for the division of a user. Default: "division" #user_division: "division" # The field for the company of a user. Default: "company" #user_company: "company" # The field for the display name of a user. Default: "displayName" user_display_name: "cn" # The field for the NameID of groups. Default: "cn" #group_nameid: "cn" # The Field for the full name of a group member. Default: "cn" #group_member_full_name: "cn" # The field for group members. Default: "member" #group_member: "member" keycloak: openldap: enabled: false mailservice: enabled: truefalse |
Replace the value of the domain property with your domain name.
Replace the placeholder of the crtFullChain property with the content of the file
chain.crt.base64
.Replace the placeholder of the key property with the content of the
key.base64
file.Replace all values marked with #TODO with the appropriate values in the ldap section.
Adopt all values that do not suite to your ldap in the ldap section.
Save the
values.yaml
file.
Install Smartfacts
Execute the Installation
Enter the following command to execute the Installation:
Code Block |
---|
sudo helm upgrade --install --timeout 20m0s smartfacts mid-smartfacts/smartfacts -f values.yaml -n smartfacts --create-namespace |
Watch Deployment (in a new Session)
Open a second session on the server and enter the following command:
...
As soon as all deployments are available, the installation is ready.
Setting-Up the CAMP (Customer Accounts for MID Products)
This section is used to add the users who will be authorized to use the instance and to assign the licenses. When you open https://camp.<yoursmartfactsdomain>
, and log in with your credentials, you will be taken to this page:
...
The creation of the account is now complete and licenses are assigned to the users.
Create a Smartfacts Model Warehouse
Open the Smartfacts URL in your browser:
https://smartfacts.<yoursmartfactsdomain>
and log-in with the account manager credentials (user “acm”, password “acm”).You will now be asked to create a Model Warehouse.
Click on CREATE A NEW MODEL WAREHOUSE.
In the create dialog, first select the previously created account.
Provide a name for the Model Warehouse.
Optionally, activate the check box Create Demo Models if you want some demo content to be added to the Model Warehouse.
...