Built-in Authentication
Build-in authentication is a simple username-password authentication method that allows you to manage users and roles.
Authentication Setup
-
Before installing ScaleOps built-in authentication, the Admin user credentials are displayed in the Settings page.

-
Add the following helm values to your helm
values.ymlfile:authProvider: provider: builtInAuth -
After installing ScaleOps with built-in authentication, the Admin user credentials are displayed in the Settings page.

User Management
Customize user configuration by creating a scaleops-builtin-auth-config secret with the following example content:
kind: Secret
apiVersion: v1
metadata:
name: scaleops-builtin-auth-config
namespace: scaleops-system
stringData:
users: |
[
{
"username": "admin-user",
"password": "custom-admin-password",
"role": "admin"
},
{
"username": "operator-user",
"password": "custom-operator-password",
"role": "operator"
},
{
"username": "viewer-user-1",
"password": "custom-viewer-password-1",
"role": "viewer"
},
{
"username": "viewer-user-2",
"password" : "custom-viewer-password-2",
"role": "viewer"
}
]