Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

feat/Add: Configuration command to Manage System Configuration #114

Open
wants to merge 2 commits into
base: main
Choose a base branch
from

Conversation

bupd
Copy link
Member

@bupd bupd commented Jun 9, 2024

Overview:

This pull request adds the config command, a vital enhancement for managing system configurations. The command is designed to fetch, update and store the system configuration in the Harbor config file, ensuring that the current configuration of the system is easily accessible and manageable.

Key Features:

  • Fetch System Configuration: Retrieves the complete system configuration.
  • Store Configuration: Saves the fetched configuration to the Harbor config file, providing a centralized location for configuration management.

Motivation and Context:

Managing system configurations is a fundamental task for system administrators. The current cli lacks the configuration management. By introducing the config command, we aim to streamline configuration management, making it easier for administrators to access and update system settings.

New Commands:

  • config get -- This command fetches and stores the system config in the harbor config file.
  • config update -- This command updates the system config based on provided harbor config file.

Fix: #94 #113

This command fetches and stores the system config in the harbor config
file.

Signed-off-by: bupd <[email protected]>
@bupd bupd changed the title feat/Add: ` command feat/Add: Configuration command to Manage System Configuration Jun 9, 2024
@bupd bupd marked this pull request as draft June 9, 2024 19:30
@bupd
Copy link
Member Author

bupd commented Jun 9, 2024

Screenshots:

Config Get:

configGet

Config Update:

configUpdate

Note:

config will be udpated based on the config file by default

@bupd bupd marked this pull request as ready for review June 9, 2024 21:52
@Jellyfrog
Copy link

Is there anything preventing this from being merged? (Except for the merge conflict)

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

📌 Tracker: Missing and To-Be-Added CLI Commands
2 participants