-
Notifications
You must be signed in to change notification settings - Fork 1
Add documentation #13
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
Conversation
…de environment name
Remove env file, and move content to tfvars file, simplifying the setup wit hone single file.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Pull request overview
This pull request adds initial documentation for the CTF platform project, including architectural diagrams, CLI tool configuration documentation, and several code improvements. The changes enhance the user experience by providing clearer guidance and fixing some existing issues.
Key Changes:
- Enhanced documentation in
template.automated.tfvarswith detailed comments about CLI tool configuration, cluster setup, and server groups - Fixed usage comment in
kubectl.shto correctly reference the script name - Improved backend credentials handling by loading S3 credentials from tfvars file
- Added support for challenge-specific node types via new
challs_typevariable - Removed
.env.examplein favor of tfvars-based configuration
Reviewed changes
Copilot reviewed 12 out of 20 changed files in this pull request and generated 2 comments.
Show a summary per file
| File | Description |
|---|---|
| template.automated.tfvars | Added comprehensive documentation comments explaining CLI configuration, cluster setup, server types, and node groups including the new challs nodes |
| kubectl.sh | Corrected usage message to reference kubectl.sh instead of kubectl-setup.sh |
| ctfp.py | Added backend credentials loading, simplified filename generation, improved placeholder detection for GitHub URLs, moved tool checks after argument parsing |
| cluster/variables.tf | Added new challs_type variable for CTF challenge-specific nodes |
| .env.example | Removed file as credentials are now managed through tfvars |
| docs/attachments/architecture/* | Added architecture diagram files (SVG and drawio formats) |
💡 Add Copilot custom instructions for smarter, more guided reviews. Learn how to get started.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Pull request overview
Copilot reviewed 12 out of 20 changed files in this pull request and generated 2 comments.
💡 Add Copilot custom instructions for smarter, more guided reviews. Learn how to get started.
Add initial documentation for the project, CLI tool and platform architecture, including some initial guides.