After Otomi is installed, a couple of post install configuration steps are required. Follow the instructions below:
Follow these instructions when Otomi is installed without DNS (
otomi.hasExternalDNS=false) and without a 3rd party IDP (
When Otomi is installed with minimal values, passwords and public URLs (based on nip.io) are automatically generated and Keycloak is configured as an Identity Provider (IDP), in which one has to define Otomi users. The public URL of Otomi Console, the public URL of Keycloak and the admin credentials can be retrieved from the installer log. The installer job runs in the default namespace. In case the installer failed in the first run, the installer will automatically restart. Make sure to get the logs of the installer job with status
- Navigate to Keycloak app (using the URL provided in the installer log)
- Click on "Administration Console"
- Login with admin credentials (using admin and password provided in the installer log)
- Select the "Otomi" realm
- Click on "Users" then "Add user"
- Fill in a user name in the "Username" field
- Fill in your email address in the "Email" field
- Select the "otomi-admin" group
- Click on "Save"
- Choose the "Credentials" tab and then fill in a password for this user
- Click on "Set Password"
When a password for the Keycloak admin is not provided in the values.yaml (but automatically generated), it is advised to first change the password.
Open the Otomi console (using the URL provided in the installer logs), and sign in with the new user.
After you have successfully logged in, you will see the Otomi Admin Dashboard. Click here to learn more about using Otomi Console.
- In the left pane of the console, click on "Download CA"
- Add the CA to your keychain:
:::Note To be able to log in to Harbor, restart the Docker service after adding the CA to your keychain. To be able to pull images from Harbor, add the CA to all cluster nodes. :::
Drone is an integral part of how Otomi cluster configuration is stored and updated.
- Click on the Drone app (under Platform/Otomi Apps) in the console.
When you see this message: 'Jwks doesn't have key to match kid or alg from Jwt' Drone is not yet ready. Please wait for a couple of minutes and try again.
- Sign in
Gitea provides an oauth2 app connection for Drone to work with it's git values. It will popup when drone is accessed the first time. You can sign in with "OpenID Connect", which registers the login as a new user, or with the Gitea admin credentials (username: "otomi-admin", password:
$otomi.adminPassword). A job runs every 3 minutes promoting users with "admin" role to become co-owner of the otomi-values repo. When logging in with the
otomi-admin user no waiting is necessary.
It can take a couple of minutes before you will see the repository. Otomi first needs to add your user to Gitea.
- Use the pre-filled values for the
Email Addressand click
- Click on
- Save the changes and you are good to go.
Now the final step is to create a team. See the Teams page for more information.
If Otomi is configured with
oidc settings have been provided for an external IDP, click on the right button ("redkubes-azure" in the example below).
When OIDC is configured, an external IDP user needs to be a member of the "otomi-admin" group. Now follow the same steps as described above to activate Drone.