Activation steps
Follow the steps below to activate Otomi after initial installation.
Step 1: Get the log output of the installer job
When the installer job (in the default namespace) has finished, copy the URL and the generated password from the bottom of the logs, sign in to the console with the provided URL, username and password.
Use the following command to get the logs of the installer job:
kubectl logs jobs/otomi -n default -f
Step 2 (optional): Add the auto generated CA to your keychain
Otomi by default automatically generates a CA. The generated CA is of course not trusted on your local machine. Here are some options to prevent you from clicking away lots of security warning in your browser:
- In the left menu of the console, click on "Download CA"
- Double click the downloaded CA.crt or add the CA to your keychain on Mac using the following command:
sudo security add-trusted-cert -d -r trustRoot -k /Library/Keychains/System.keychain ~/Downloads/ca.crt
On Windows, use PowerShell (running as Administrator) with the Certutil:
certutil.exe -addstore root <downloaded cert path>
Or:
Import-Certificate -FilePath "<downloaded cert path>" -CertStoreLocation Cert:\LocalMachine\Root
# Restart the browser
But you could also run Chrome in insecure mode:
alias chrome-insecure='/Applications/Google\ Chrome.app/Contents/MacOS/Google\ Chrome --ignore-certificate-errors --ignore-urlfetcher-cert-requests &> /dev/null'
- Optional: Restart Docker (to support pushing images to Harbor)
Step 3: Activate Drone
Drone is an integral part in the deployment of Otomi cluster configuration.
- In the side menu of Otomi Console under
platform
click on the Drone app - Click on the
play
button in the top right. A new tab will open for Drone - Sign in locally with as
otomi-admin
and the password provided in the logs of the installer job. - Click on
Authorize Application
- Click on `Submit on the Complete your Drone Registration page. You don't need to fill in your Email, Full Name or Company Name if you don't want to
- Click on the
otomi/values
repository - Click on
+ Activate Repository
Step 4 (Optional): Create a new admin user
We strongly advise to not use the default otomi-admin
account after activation and to not change the password. Store it somewhere safe and only use it in case absolutely required.
Create a new user account in Keycloak and add the new user to the otomi-admin
and team-admin
.
Step 5 (Optional): Add the URL of the Kubernetes API
Adding the URL of the K8s cluster API is required by teams to be able to download the KUBECONFIG
- Under
Platform
in Otomi Console, click onSettings
- Click on
Cluster
- Add the full URL of the API server
- Click on
Submit
- Click on
Deploy Changes