apiVersion: auth.alauda.io/v1
kind: User
metadata:
labels:
auth.cpaas.io/user.connector_id: "" # Connector ID for external authentication (leave empty for local users)
auth.cpaas.io/user.connector_type: "" # Connector type for external authentication (leave empty for local users)
auth.cpaas.io/user.email: c18c9911faaac4e1051a599b88c62af2 # MD5 hash of the username (spec.email)
auth.cpaas.io/user.state: active # User state; must match spec.state
auth.cpaas.io/user.username: "" # User display name; must match spec.username
auth.cpaas.io/user.valid: "true" # Whether the user is valid; must match spec.valid
name: c18c9911faaac4e1051a599b88c62af2 # Name of the User resource; MD5 hash of spec.email
spec:
connector_name: "" # Name of the external authentication connector (leave empty for local users)
connector_type: "" # Type of the external authentication connector (leave empty for local users)
email: leizhuaaa # User identifier; can be an email address or any unique string
is_admin: false # Whether the user is an initial admin user; must be set to false
state: active # User account state: active or inactive
username: "" # Display name for the user
valid: true # Whether the user account is valid; should be set to true