- Implemented Pydantic models for Kubernetes cluster state representation in `cluster.py`. - Created a `Resource` class for converting JSON/dict to Python objects in `resource.py`. - Established user models and services for user management, including password hashing and JWT token generation. - Developed application orchestration services for managing Kubernetes applications, including installation and uninstallation. - Added cluster service for retrieving cluster status and health reports. - Introduced node service for fetching node resource details and health status. - Implemented user service for handling user authentication and management.
13 lines
182 B
Plaintext
13 lines
182 B
Plaintext
|
|
# config
|
|
OCDP_CONFIG_FILE="~/.ocdp/config.yaml"
|
|
|
|
# password
|
|
DATABASE_MYSQL_PASSWORD="****"
|
|
|
|
# token
|
|
TOKEN_JWT_SECRET_KEY="****"
|
|
|
|
# admin
|
|
ADMIN_USERNAME="admin"
|
|
ADMIN_PASSWORD="****" |